﻿
#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);
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: border-box;
}

/* --- Full-Screen Split Layout --- */
#auth-wrapper .auth-container {
    display: flex;
    width: 100vw;
    height: 100vh;
}

/* --- Left Info Panel --- */
#auth-wrapper .info-pane {
    flex: 1;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1512486130939-2c4f79935e4f?q=80&w=2874&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 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;
}

#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);
    text-align: center;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    #auth-wrapper .info-pane {
        display: none;
    }

    #auth-wrapper .form-pane {
        align-items: flex-start;
        padding-top: 10vh;
    }

    #auth-wrapper .form-container {
        box-shadow: none;
    }
}

/* --- Form Styling --- */
#auth-wrapper .form-group {
    margin-bottom: 1.5rem; /* Added this rule for consistent spacing */
}

#auth-wrapper .form-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
}

#auth-wrapper .subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
}

#auth-wrapper .form-label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    text-align: left;
}

#auth-wrapper .form-control {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

#auth-wrapper .btn-primary {
    width: 100%;
    padding: 14px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    background-color: var(--primary-color);
    color: white;
}

#auth-wrapper .back-to-login {
    display: inline-block;
    margin-top: 2rem;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
}


