.login-page {
    background: linear-gradient(135deg, #0a0756 0%, #5077ba 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.login-container {
    width: 100%;
    max-width: 450px;
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #b32b2b, #ff6b6b);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.login-logo-img {
    height: 40px;
    width: auto;
}

.login-logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0a0756, #b32b2b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-title {
    font-size: 1.8rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.login-subtitle {
    color: #6b7280;
    font-size: 0.95rem;
}

/* Форма */
.login-form {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    color: #1f2937;
}

.form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input::placeholder {
    color: #9ca3af;
}

/* Кнопка входа */
.login-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #0a0756 0%, #5077ba 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.login-btn:hover {
    background: linear-gradient(135deg, #09064d 0%, #4568a5 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(10, 7, 86, 0.3);
}

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

/* Сообщения об ошибках */
.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.error-icon {
    font-size: 1.1rem;
}

/* Ссылки */
.login-links {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.login-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.login-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.register-link {
    display: block;
    margin-top: 0.8rem;
    color: #6b7280;
}

.register-link a {
    color: #0a0756;
    font-weight: 600;
}

/* Дополнительные опции */
.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 6px;
}

.remember-me input[type="checkbox"] {
    width: auto;
}

.forgot-password {
    color: #3b82f6;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Адаптивность */
@media (max-width: 768px) {
    .login-page {
        padding: 1rem;
    }
    
    .login-card {
        padding: 2rem;
        border-radius: 16px;
    }
    
    .login-logo-text {
        font-size: 1.5rem;
    }
    
    .login-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 1.5rem;
    }
    
    .form-input {
        padding: 12px 14px;
    }
    
    .login-btn {
        padding: 14px;
    }
}