/* ============================================================
   CM ADDRESS FINDER — CHECKOUT STYLES
   Controller Modz Dark Theme
   ============================================================ */

/* ---- LABELS ---- */

/* Our custom label above the field */
.cm-address-label {
    font-size: 13px;
    color: #00ff66;
    font-family: 'Inter', -apple-system, sans-serif;
    margin-bottom: 8px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Hide ALL original Magento labels on address line 1 */
.field.street .field.required > .label,
.field.street .field.required .address-floating-label {
    display: none !important;
}

/* Remove leftover space from hidden labels */
.field.street .field.required .control {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* ---- ADDRESS INPUT FIELD ---- */

input[name="street[0]"] {
    border: 1px solid #00ff66 !important;
    background: rgba(0, 255, 102, 0.03) !important;
    transition: all 0.2s ease !important;
}

input[name="street[0]"]::placeholder {
    color: #999 !important;
    font-style: italic !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #999 !important;
}

input[name="street[0]"]:focus {
    border-color: #00ff66 !important;
    box-shadow: 0 0 0 2px rgba(0, 255, 102, 0.15) !important;
}

/* ---- AUTOCOMPLETE CONTAINER ---- */

.idpc_autocomplete {
    z-index: 99999 !important;
}

div.idpc_af {
    background: #1a1a1a !important;
    border: 1px solid #333 !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

/* ---- DROPDOWN LIST ---- */

.idpc_ul {
    background: #1a1a1a !important;
    border: none !important;
    border-radius: 8px !important;
    margin-top: 0 !important;
    max-height: 250px !important;
    overflow-y: auto !important;
}

.idpc_ul li {
    color: #e0e0e0 !important;
    background: #1a1a1a !important;
    padding: 10px 14px !important;
    font-size: 13px !important;
    font-family: 'Inter', -apple-system, sans-serif !important;
    border-bottom: 1px solid #222 !important;
    cursor: pointer !important;
}

.idpc_ul li:hover,
.idpc_ul li.idpc_selected,
.idpc_ul li[aria-selected="true"] {
    background: #222 !important;
    color: #00ff66 !important;
}

.idpc_ul li:last-child {
    border-bottom: none !important;
}

/* ---- ERROR / PROMPT TEXT ---- */

.idpc_error {
    color: #666 !important;
    font-size: 12px !important;
    background: #1a1a1a !important;
}

.idpc_error:hover {
    background: #1a1a1a !important;
    color: #666 !important;
}

/* ---- TOOLBAR (country selector) ---- */

div.idpc_toolbar {
    border-top: 1px solid #333 !important;
    background: #1a1a1a !important;
}

div.idpc_toolbar span {
    color: #aaa !important;
}

div.idpc_toolbar span:hover {
    background: #222 !important;
}

span.idpc_icon {
    color: #aaa !important;
}
/* Hide street line 1 labels — precise targeting */
.field.street .field._required > label.label,
.field.street .field._required .address-floating-label {
    display: none !important;
}