/* Modern Light Authentication Styles */

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 50%, #f0f4f8 100%);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container-fluid.content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.form-auth {
    width: 100%;
    max-width: 440px;
    color: #2d3748;
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 45px;
    margin: 0 auto;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.05),
        0 10px 20px rgba(0, 0, 0, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.form-auth::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4f46e5, #7c3aed, #06b6d4);
}

.form-auth form {
    margin-top: 30px;
}

.form-auth h1 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #6366f1;
    float: none !important;
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.form-auth h2 {
    clear: both;
    font-size: 1.75rem;
    font-weight: 600;
    color: #1e293b;
    text-align: center;
    margin-bottom: 0;
    letter-spacing: -0.02em;
}

.form-auth .form-control {
    height: 52px;
    padding: 14px 18px;
    font-size: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background-color: #f8fafc;
    transition: all 0.2s ease;
    color: #1e293b;
}

.form-auth .form-control::placeholder {
    color: #94a3b8;
}

.form-auth .form-control:hover {
    border-color: #cbd5e1;
    background-color: #fff;
}

.form-auth .form-control:focus {
    border-color: #6366f1;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    outline: none;
}

.form-auth .mb-3 {
    margin-bottom: 18px !important;
}

.form-auth .btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border: none;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
    text-transform: none;
    letter-spacing: 0.01em;
}

.form-auth .btn-primary:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
    transform: translateY(-1px);
}

.form-auth .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.35);
}

/* Error messages */
.form-auth .error-messages ul,
.form-auth ul {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-radius: 10px;
    padding: 14px 18px;
    margin: 0 0 20px 0;
    border: 1px solid #fecaca;
    list-style: none;
}

.form-auth .error-messages ul li,
.form-auth ul li {
    color: #dc2626;
    font-size: 14px;
    font-weight: 500;
}

.form-auth .error-messages {
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .form-auth {
        padding: 32px 28px;
        border-radius: 12px;
    }
    
    .form-auth h1 {
        font-size: 1rem;
    }
    
    .form-auth h2 {
        font-size: 1.5rem;
    }
}
