/* ===================================
   Auth Pages Styles
   =================================== */
.auth-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

.auth-container {
    width: 100%;
    max-width: 1100px;
}

.auth-wrapper {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ===================================
   Left Side - Brand/Image
   =================================== */
.auth-side {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.auth-side::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.auth-side::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    bottom: -50px;
    left: -50px;
}

.auth-side-content {
    position: relative;
    z-index: 2;
    color: white;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.brand-logo i {
    font-size: 48px;
}

.brand-logo h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
}

.auth-side h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
}

.auth-side p {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: 30px;
}

.auth-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.feature-item i {
    font-size: 20px;
}

/* ===================================
   Right Side - Form
   =================================== */
.auth-form-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    min-height: 600px;
}

.auth-form-wrapper {
    width: 100%;
    max-width: 420px;
}

.mobile-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    color: #667eea;
    font-size: 28px;
    font-weight: 700;
}

.mobile-brand i {
    font-size: 36px;
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-header h4 {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.auth-header p {
    font-size: 15px;
    color: #64748b;
}

/* ===================================
   Form Styles
   =================================== */
.auth-form {
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-label i {
    font-size: 16px;
    color: #64748b;
}

.form-control {
    height: 48px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 0 16px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-invalid:focus {
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1);
}

.invalid-feedback {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #dc3545;
}

/* Password Input */
.password-input-wrapper {
    position: relative;
}

.password-input-wrapper .form-control {
    padding-right: 48px;
}

.btn-toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 4px 8px;
    transition: all 0.3s ease;
}

.btn-toggle-password:hover {
    color: #667eea;
}

.btn-toggle-password i {
    font-size: 18px;
}

/* Checkbox & Remember */
.form-check {
    padding-left: 1.75em;
}

.form-check-input {
    width: 18px;
    height: 18px;
    border: 2px solid #e2e8f0;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

.form-check-label {
    color: #64748b;
    font-size: 14px;
    cursor: pointer;
}

.forgot-password {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.forgot-password:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* ===================================
   Buttons
   =================================== */
.btn-login {
    width: 100%;
    height: 50px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

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

/* ===================================
   Divider
   =================================== */
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 24px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.auth-divider span {
    padding: 0 16px;
    color: #94a3b8;
    font-size: 14px;
}

/* ===================================
   Social Login
   =================================== */
.social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.btn-social {
    height: 48px;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    background: white;
    color: #64748b;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-social:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    color: #1e293b;
}

.btn-social i {
    font-size: 18px;
}

/* ===================================
   Footer
   =================================== */
.auth-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.auth-footer p {
    color: #64748b;
    font-size: 14px;
    margin: 0;
}

.auth-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.auth-footer a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* ===================================
   Alert Customization
   =================================== */
.alert {
    border-radius: 10px;
    border: none;
    padding: 14px 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert i {
    font-size: 18px;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
}

.alert-danger {
    background-color: #fee2e2;
    color: #991b1b;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 991px) {
    .auth-side {
        padding: 40px 30px;
    }

    .auth-side h3 {
        font-size: 24px;
    }

    .brand-logo h2 {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .auth-body {
        padding: 0;
        background: white;
    }

    .auth-wrapper {
        box-shadow: none;
        border-radius: 0;
    }

    .auth-form-container {
        padding: 40px 20px;
        min-height: 100vh;
    }

    .mobile-brand {
        margin-bottom: 0;
    }

    .social-login {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .auth-header h4 {
        font-size: 24px;
    }

    .form-control {
        height: 44px;
    }

    .btn-login {
        height: 46px;
    }
}
