/* ============================================
   Auth Pages - 2-Column Illustrated Layout
   ============================================ */

/* Override AdminLTE defaults */
body.auth-page {
    background: none !important;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Main 2-column container */
.auth-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* Left column - Illustration */
.auth-illustration {
    flex: 0 0 40%;
    max-width: 40%;
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
    position: sticky;
    top: 0;
    height: 100vh;
    align-self: flex-start;
}

.auth-illustration::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.05) 0%, rgba(13, 110, 253, 0.1) 100%);
}

/* Right column - Form area */
.auth-form-area {
    flex: 0 0 60%;
    max-width: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f6ff 0%, #ffffff 50%, #e8f0fe 100%);
    padding: 3rem 2rem;
}

/* Form container */
.auth-form-container {
    width: 100%;
    max-width: 460px;
}

/* Logo */
.auth-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0d6efd;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.auth-logo a:hover {
    color: #0b5ed7;
}

/* Card styling */
.auth-form-container .card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.auth-form-container .card-header {
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    padding: 1.25rem 1.5rem;
}

.auth-form-container .card-header .card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a2e;
}

.auth-form-container .card-body {
    padding: 1.5rem;
}

.auth-form-container .login-box-msg {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.auth-form-container .card-footer {
    background: #fafbfc;
    border-top: 1px solid #f0f0f0;
    padding: 1rem 1.5rem;
}

/* Form inputs */
.auth-form-container .form-control {
    border-radius: 8px;
    padding: 0.6rem 0.875rem;
    border: 1px solid #dee2e6;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-form-container .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.12);
}

.auth-form-container .input-group-text {
    border-radius: 0 8px 8px 0;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-left: none;
    color: #6c757d;
}

.auth-form-container .input-group .form-control {
    border-radius: 8px 0 0 8px;
}

/* Buttons */
.auth-form-container .btn-primary {
    border-radius: 8px;
    padding: 0.6rem 1rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: all 0.2s;
}

.auth-form-container .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

/* Google Sign-in Button */
.auth-form-container .btn-google {
    background: #fff;
    border: 1px solid #dadce0;
    color: #3c4043;
    font-weight: 500;
    border-radius: 8px;
    padding: 0.6rem 1rem;
    transition: all 0.2s;
}

.auth-form-container .btn-google:hover {
    background: #f0f6ff;
    border-color: #0d6efd;
    color: #3c4043;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.15);
}

/* Alert styling */
.auth-form-container .alert {
    border-radius: 8px;
    font-size: 0.875rem;
}

/* Links */
.auth-form-container a {
    color: #0d6efd;
    text-decoration: none;
    transition: color 0.2s;
}

.auth-form-container a:hover {
    color: #0b5ed7;
    text-decoration: underline;
}

/* Responsive - Tablet and below */
@media (max-width: 991.98px) {
    .auth-illustration {
        flex: 0 0 35%;
        max-width: 35%;
    }

    .auth-form-area {
        flex: 0 0 65%;
        max-width: 65%;
    }
}

/* Responsive - Mobile */
@media (max-width: 767.98px) {
    body.auth-page {
        overflow-y: auto;
    }

    .auth-wrapper {
        flex-direction: column;
    }

    .auth-illustration {
        display: none;
    }

    .auth-form-area {
        flex: 1;
        max-width: 100%;
        min-height: 100vh;
        padding: 1.5rem 1rem;
    }

    .auth-form-container {
        max-width: 400px;
    }
}
