/* Zip code checker — shared on membership, register, and my account */

.zip-code-checker-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(2, 17, 36, 0.1);
    overflow: hidden;
    margin-bottom: 28px;
    border: 1px solid rgba(2, 17, 36, 0.06);
}

.zip-code-checker-top {
    padding: 28px 32px 22px;
    background: linear-gradient(180deg, #fff 0%, #f8f9fb 100%);
    border-bottom: 1px solid rgba(2, 17, 36, 0.06);
}

.zip-code-checker-badge {
    display: inline-block;
    background: #c9a15b;
    color: #021124;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.zip-code-checker-top h3 {
    font-size: 26px;
    font-weight: 600;
    color: #021124;
    margin: 0 0 10px;
    line-height: 1.25;
}

.zip-code-checker-top p {
    font-size: 15px;
    color: #5d5c5c;
    margin: 0 0 16px;
    line-height: 1.55;
    max-width: 720px;
}

.zip-code-checker-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.zip-slot-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(2, 17, 36, 0.05);
    border: 1px solid rgba(2, 17, 36, 0.08);
    font-size: 13px;
    font-weight: 500;
    color: #021124;
}

.zip-slot-pill svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #c9a15b;
}

.zip-code-checker-body {
    padding: 24px 32px 28px;
    background: #f3f4f6;
}

.zip-code-steps {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.zip-code-step {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #9ca3af;
}

.zip-code-step.is-active,
.zip-code-step.is-complete {
    color: #021124;
}

.zip-code-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    background: #e5e7eb;
    color: #6b7280;
}

.zip-code-step.is-active .zip-code-step-num {
    background: #021124;
    color: #fff;
}

.zip-code-step.is-complete .zip-code-step-num {
    background: #c9a15b;
    color: #021124;
}

.zip-code-step-label {
    font-size: 13px;
    font-weight: 600;
}

.zip-code-step-line {
    flex: 1;
    min-width: 24px;
    height: 2px;
    background: #d1d5db;
    border-radius: 999px;
}

.zip-code-checker-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.zip-code-field-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #5d5c5c;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.zip-code-input-wrap {
    position: relative;
}

.zip-code-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #c9a15b;
    pointer-events: none;
}

.zip-code-filter-control {
    width: 100%;
    height: 54px;
    padding: 0 16px 0 46px;
    border: 1px solid rgba(2, 17, 36, 0.18);
    border-radius: 14px;
    background: #fff;
    color: #021124;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.08em;
    box-shadow: 0 2px 8px rgba(2, 17, 36, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.zip-code-filter-control:focus {
    outline: none;
    border-color: #c9a15b;
    box-shadow: 0 0 0 3px rgba(201, 161, 91, 0.18);
}

.zip-code-filter-control::placeholder {
    color: #9ca3af;
    letter-spacing: normal;
    font-weight: 400;
}

.zip-code-select-control {
    width: 100%;
    height: 54px;
    padding: 0 16px;
    border: 1px solid rgba(2, 17, 36, 0.18);
    border-radius: 14px;
    background: #fff;
    color: #021124;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(2, 17, 36, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.zip-code-select-control:focus {
    outline: none;
    border-color: #c9a15b;
    box-shadow: 0 0 0 3px rgba(201, 161, 91, 0.18);
}

.zip-code-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 4px;
}

.zip-code-btn {
    height: 54px;
    padding: 0 22px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    border: none;
    white-space: nowrap;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.zip-code-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

.zip-code-btn-primary {
    background: #021124;
    color: #fff;
    box-shadow: 0 8px 20px rgba(2, 17, 36, 0.18);
}

.zip-code-btn-primary:hover:not(:disabled) {
    background: #0a2240;
    transform: translateY(-1px);
}

.zip-code-btn-gold {
    background: linear-gradient(135deg, #e8c97a 0%, #c9a15b 100%);
    color: #021124;
    box-shadow: 0 8px 20px rgba(201, 161, 91, 0.28);
}

.zip-code-btn-gold:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(201, 161, 91, 0.34);
}

.zip-code-hint {
    margin: 14px 0 0;
    font-size: 13px;
    color: #6b7280;
}

.zip-code-current {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(201, 161, 91, 0.12);
    border: 1px solid rgba(201, 161, 91, 0.35);
    font-size: 13px;
    color: #7a5a12;
}

.zip-code-current strong {
    font-size: 15px;
    color: #021124;
}

.zip-code-check-result {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.5;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.zip-code-check-result-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 1px;
}

.zip-code-check-result-content {
    flex: 1;
    min-width: 0;
}

.zip-code-check-result-title {
    font-weight: 700;
    margin-bottom: 4px;
}

.zip-code-check-result-meta {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 600;
    opacity: 0.85;
}

.zip-code-check-result-text {
    margin: 0;
    opacity: 0.92;
}

.zip-code-slot-meter {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.zip-code-slot-meter-track {
    flex: 1;
    height: 8px;
    border-radius: 999px;
    background: rgba(2, 17, 36, 0.08);
    overflow: hidden;
}

.zip-code-slot-meter-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #c9a15b 0%, #e8c97a 100%);
    transition: width 0.3s ease;
}

.zip-code-slot-meter-label {
    font-size: 12px;
    font-weight: 600;
    color: #5d5c5c;
    white-space: nowrap;
}

.zip-code-check-result.is-available {
    background: linear-gradient(135deg, rgba(236, 253, 243, 0.95) 0%, rgba(209, 250, 229, 0.7) 100%);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #14532d;
}

.zip-code-check-result.is-unavailable,
.zip-code-check-result.is-invalid {
    background: linear-gradient(135deg, rgba(254, 242, 242, 0.95) 0%, rgba(254, 226, 226, 0.7) 100%);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #7f1d1d;
}

@media (max-width: 767px) {
    .zip-code-checker-top,
    .zip-code-checker-body {
        padding-left: 20px;
        padding-right: 20px;
    }

    .zip-code-checker-top h3 {
        font-size: 22px;
    }

    .zip-code-checker-grid {
        grid-template-columns: 1fr;
    }

    .zip-code-step-line {
        display: none;
    }

    .zip-code-actions {
        flex-direction: column;
    }

    .zip-code-btn {
        width: 100%;
    }
}
