/* ==========================================================================
   AUTH PAGE STYLES (Login & Signup)
   ========================================================================== */

.auth-wrapper {
    display: flex;
    min-height: calc(100vh - 150px);
    background: #fff;
    margin: 40px auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    max-width: 1100px;
}

.auth-image-side {
    flex: 1;
    position: relative;
    display: block; /* Visible by default */
}

.auth-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auth-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.6));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    color: white;
}

.auth-image-overlay h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.2;
}

.auth-image-overlay p {
    font-size: 16px;
    opacity: 0.9;
}

.auth-form-side {
    flex: 1;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-header {
    margin-bottom: 40px;
}

.auth-header h1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 8px;
}

.auth-header p {
    color: var(--text-light);
    font-size: 15px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
}

.form-group input {
    padding: 14px 18px;
    border: 1.5px solid #eee;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s;
    background: #fcfcfc;
}

.form-group input:focus {
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 176, 0, 0.1);
    outline: none;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-light);
}

.forgot-password {
    color: var(--primary-dark);
    font-weight: 600;
}

.auth-btn {
    background: var(--primary-color);
    color: #000;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    margin-top: 10px;
    text-align: center;
}

.auth-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 176, 0, 0.2);
}

.auth-footer {
    margin-top: 40px;
    text-align: center;
    font-size: 15px;
    color: var(--text-light);
}

.auth-footer a {
    color: var(--accent-color);
    font-weight: 700;
}

/* Glassmorphism for floating form on mobile */
@media (max-width: 767px) {
    .auth-wrapper {
        flex-direction: column; /* Stack vertically on mobile */
        margin: 20px 15px;
        min-height: auto;
        border-radius: 16px;
    }
    .auth-image-side {
        height: 200px; /* Fixed height for image on mobile */
    }
    .auth-image-overlay {
        padding: 20px;
    }
    .auth-image-overlay h2 {
        font-size: 22px;
    }
    .auth-image-overlay p {
        font-size: 13px;
    }
    .auth-form-side {
        padding: 30px 20px;
    }
    .auth-header {
        margin-bottom: 25px;
    }
    .auth-header h1 {
        font-size: 26px;
    }
}
