/* Modern Light Authentication Styles */
/* Color scheme based on Нейро-Библиотека Figma design */

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

body {
    background: #f5f5f5;
    font-family: 'Inter', -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: #1e1e1e;
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 45px;
    margin: 0 auto;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.04),
        0 10px 20px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.form-auth::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0487e1, #2f54eb, #be13f6);
}

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

.form-auth h1 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2f7fef;
    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: rgba(0, 0, 0, 0.85);
    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 #e3e3e3;
    border-radius: 10px;
    background-color: #fafafa;
    transition: all 0.2s ease;
    color: #1e1e1e;
}

.form-auth .form-control::placeholder {
    color: #8c8c8c;
}

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

.form-auth .form-control:focus {
    border-color: #5998eb;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(47, 84, 235, 0.1);
    outline: none;
}

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

.form-auth .btn-primary {
    background: linear-gradient(143deg, #0487e1 11.8%, #2f54eb 90.3%);
    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(47, 84, 235, 0.35);
    text-transform: none;
    letter-spacing: 0.01em;
}

.form-auth .btn-primary:hover {
    background: linear-gradient(143deg, #0369a1 11.8%, #1d39c4 90.3%);
    box-shadow: 0 6px 20px rgba(47, 84, 235, 0.45);
    transform: translateY(-1px);
}

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

/* Error messages */
.form-auth .error-messages ul,
.form-auth ul {
    background: #fff2f0;
    border-radius: 10px;
    padding: 14px 18px;
    margin: 0 0 20px 0;
    border: 1px solid #ffccc7;
    list-style: none;
}

.form-auth .error-messages ul li,
.form-auth ul li {
    color: #cf1322;
    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;
    }
}
