﻿
#google-login-btn, #google-signup-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem 0;
    min-height: 42px; /* Ensure space for the button */
}

/* Custom style for WhatsApp button color */
.btn-check:checked + .btn-outline-success {
    background-color: #6c757d; /* A neutral gray for email */
    border-color: #6c757d;
    color: white;
}
.btn-check:checked + .btn-outline-secondary {
    background-color: #6c757d; /* A neutral gray for email */
    border-color: #6c757d;
    color: white;
}
/* --- Base Setup --- */
#auth-wrapper {
    --primary-color: #ef5844;
    --primary-hover: #d14331;
    --text-dark: #212529;
    --text-light: #6c757d;
    --border-color: #e0e6ed;
    --background-light: #f8f9fa;
    --font-family: 'Poppins', sans-serif;
    font-family: var(--font-family);
}

    /* --- Full-Screen Split Layout --- */
    #auth-wrapper .auth-container {
        display: flex;
        width: 100%;
        height: 100%;
    }

    /* --- Left Info Panel --- */
    #auth-wrapper .info-pane {
        flex: 1;
        background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1556740738-b6a63e27c4df?q=80&w=2940&auto=format&fit=crop') no-repeat center center;
        background-size: cover;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 40px;
        color: white;
    }

    #auth-wrapper .info-pane-content {
        max-width: 450px;
    }

        #auth-wrapper .info-pane-content h1 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }

        #auth-wrapper .info-pane-content p {
            font-size: 1.1rem;
            line-height: 1.6;
            opacity: 0.9;
        }

    /* --- Right Form Panel --- */
    #auth-wrapper .form-pane {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 40px;
        background-color: var(--background-light);
        overflow-y: auto;
        align-items: flex-start; /* Changed from center to flex-start */
        padding-top: 20px; /* Added padding at the top */
        padding-bottom: 20px;
    }

    #auth-wrapper .form-container {
        width: 100%;
        max-width: 450px;
        background-color: white;
        padding: 40px;
        border-radius: 16px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    }

    /* --- Form Elements --- */
    #auth-wrapper .auth-tabs {
        display: flex;
        background-color: #f0f4f8;
        border-radius: 12px;
        padding: 5px;
        margin-bottom: 2rem;
    }

    #auth-wrapper .tab-button {
        flex: 1;
        padding: 12px 10px;
        border: none;
        background-color: transparent;
        color: var(--text-light);
        font-weight: 600;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

        #auth-wrapper .tab-button.active {
            background-color: var(--primary-color);
            color: white;
            box-shadow: 0 4px 15px rgba(239, 88, 68, 0.4);
        }

    #auth-wrapper .form-title {
        font-size: 1.8rem;
        font-weight: 700;
        text-align: center;
        margin-bottom: 0.5rem;
        color: var(--text-dark);
    }

    #auth-wrapper .subtitle {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 2rem;
        color: var(--text-light);
    }

    #auth-wrapper .form-label {
        font-weight: 600;
        margin-bottom: 8px;
        display: block;
    }

    #auth-wrapper .form-control, #auth-wrapper .form-select {
        width: 100%;
        height: 50px;
        padding: 0 15px;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        transition: all 0.2s ease;
    }

        #auth-wrapper .form-control:focus, #auth-wrapper .form-select:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(239, 88, 68, 0.2);
            outline: none;
        }

    #auth-wrapper .form-group {
        margin-bottom: 1rem;
    }

    #auth-wrapper .btn {
        width: 100%;
        padding: 14px;
        font-weight: 600;
        border-radius: 8px;
        border: none;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    #auth-wrapper .btn-primary {
        background-color: var(--primary-color);
        color: white;
    }

        #auth-wrapper .btn-primary:hover {
            background-color: var(--primary-hover);
        }

    #auth-wrapper .form-section {
        display: none;
    }

        #auth-wrapper .form-section.active {
            display: block;
        }

    /* --- Loader Styles --- */
    #auth-wrapper .multi-icon-loader {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.95);
        display: none;
        justify-content: center;
        align-items: center;
        z-index: 1000;
    }

    #auth-wrapper .icon-container {
        position: relative;
        width: 150px;
        height: 150px;
    }

    #auth-wrapper .multi-icon-loader i {
        position: absolute;
        font-size: 3rem;
        opacity: 0;
        animation: blink 1.5s infinite;
    }

    #auth-wrapper .icon-1 {
        animation-delay: 0.1s;
        left: 20%;
        top: 30%;
        color: #e74c3c;
    }

    #auth-wrapper .icon-2 {
        animation-delay: 0.3s;
        left: 60%;
        top: 10%;
        color: #3498db;
    }

    #auth-wrapper .icon-3 {
        animation-delay: 0.5s;
        left: 40%;
        top: 60%;
        color: #2ecc71;
    }

    #auth-wrapper .icon-4 {
        animation-delay: 0.7s;
        left: 70%;
        top: 70%;
        color: #f1c40f;
    }

    #auth-wrapper .icon-5 {
        animation-delay: 0.9s;
        left: 10%;
        top: 50%;
        color: #9b59b6;
    }

@keyframes blink {
    0%, 100% {
        opacity: 0;
        transform: scale(0.5);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    #auth-wrapper .info-pane {
        display: none;
    }

    #auth-wrapper .form-pane {
        align-items: flex-start;
        padding-top: 5vh;
    }

    #auth-wrapper .form-container {
        box-shadow: none;
        padding: 25px;
    }
}

.btn-check:checked + .btn-outline-success {
    background-color: #25D366;
    border-color: #25D366;
    color: white;
}

.divider-with {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
}

.divider {
    flex-grow: 1;
    border: none;
    border-top: 1px solid #e0e6ed; /* --border-color */
}

.divider-label {
    padding: 0 1rem;
    color: #6c757d; /* --text-light */
    font-weight: 500;
}
.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background-color: #f0f7ff;
    color: #4a90e2;
    padding-left: 22px;
}

.suggestion-item::before {
    content: '📍';
    margin-right: 10px;
    font-size: 14px;
}

.loading-indicator, .no-results, .api-error {
    padding: 14px 18px;
    color: #7f8c8d;
    font-style: italic;
    display: flex;
    align-items: center;
}

    .loading-indicator::before {
        content: '⏳';
        margin-right: 10px;
    }

.suggestion-box div.suggestion-item {
    padding: var(--spacing-sm) var(--spacing-md);
    cursor: pointer;
    background: var(--background-white);
    color: var(--text-color-dark);
    border-bottom: 1px solid var(--border-color-light);
    font-size: 0.95rem;
}

    .suggestion-box div.suggestion-item:last-child {
        border-bottom: none;
    }

    .suggestion-box div.suggestion-item:hover {
        background-color: var(--background-light);
        color: var(--primary-color);
    }

.suggestion-box .loading-indicator {
    padding: var(--spacing-md);
    text-align: center;
    color: var(--text-color-muted);
}

