/* Auth Login Page Styles — Tailwind companion */

/* Override global footer styles for auth pages */
footer.footer-auth {
    background-color: transparent;
    color: inherit;
    padding: 0;
}

/* Custom arrow for DOB select dropdowns */
select.phone-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 36px !important;
}

/* Message box states (used by JS) */
.form-message {
    display: none;
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid transparent;
}

.form-message.success {
    display: block;
    color: #067647;
    border-color: #a6f4c5;
    background: #ecfdf3;
}

.form-message.error {
    display: block;
    color: #b42318;
    border-color: #fecdca;
    background: #fef3f2;
}

.form-message.info {
    display: block;
    color: #175cd3;
    border-color: #b2ddff;
    background: #eff8ff;
}

/* Primary action buttons (gradient) */
.btn-continue {
    background: linear-gradient(135deg, #13618C 0%, #297B35 100%);
    border: none;
    border-radius: 4px !important;
    cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.btn-continue:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.btn-continue:active {
    transform: translateY(0);
}

.btn-continue:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Responsive Design */
@media (max-width: 1023px) {
    .login-container {
        grid-template-columns: 1fr;
    }
    .login-left {
        display: none;
    }
}

/* Auth pages header responsive overrides */
@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    .container.header-flex {
        flex-wrap: wrap;
        gap: 10px;
    }
    .search-bar {
        order: 3;
        width: 100%;
        flex-basis: 100%;
    }
    .search-bar input {
        font-size: 12px;
    }
    .header-icons {
        margin-left: auto;
    }
    /* Space at bottom so content doesn't hide behind fixed nav */
    body {
        padding-bottom: 72px;
    }
}

/* intl-tel-input overrides */
.iti {
    width: 100%;
}

.iti__selected-dial-code {
    font-size: 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.iti__country-list {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    max-height: 220px;
}

.iti__country-list .iti__country:hover,
.iti__country-list .iti__country--highlight {
    background-color: #f0f7ff;
}

.iti__search-input {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    border-radius: 8px;
    padding: 8px 12px;
}
