/* Основные стили для страниц аутентификации */
.login-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.login-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.login-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.login-content {
    padding: 60px 0;
    background: #f8f9fa;
}

.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.login-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.login-form h2 {
    margin-bottom: 30px;
    color: #333;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
}

.password-toggle {
    display: flex;
    align-items: center;
    margin-top: 8px;
    font-size: 14px;
}

.password-toggle input {
    width: auto;
    margin-right: 8px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.remember-me {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.remember-me input {
    margin-right: 8px;
}

.forgot-password {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
}

.forgot-password:hover {
    text-decoration: underline;
}

.btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.login-divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.login-divider span {
    background: white;
    padding: 0 15px;
    color: #666;
    font-size: 14px;
}

.login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e9ecef;
    z-index: -1;
}

.social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.social-btn:hover {
    border-color: #667eea;
    transform: translateY(-1px);
}

.social-btn span {
    margin-right: 8px;
    font-size: 18px;
}

.register-link {
    text-align: center;
    font-size: 14px;
}

.register-link a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.register-link a:hover {
    text-decoration: underline;
}

.login-benefits {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.login-benefits h3 {
    margin-bottom: 25px;
    color: #333;
    font-size: 1.5rem;
}

.login-benefits ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.login-benefits li {
    padding: 8px 0;
    font-size: 15px;
    color: #555;
}

.benefit-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.benefit-stat {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.benefit-stat .number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
}

.benefit-stat .label {
    font-size: 14px;
    color: #666;
}

.security-notice {
    background: #e8f5e8;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #4CAF50;
}

.security-notice h4 {
    margin: 0 0 10px 0;
    color: #2e7d32;
}

.security-notice p {
    margin: 0;
    color: #555;
    font-size: 14px;
}

.error-message {
    background: #ffebee;
    color: #c62828;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #f44336;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 300px;
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.notification-content {
    display: flex;
    align-items: center;
    padding: 16px;
    color: white;
}

.notification-icon {
    font-size: 20px;
    margin-right: 12px;
    font-weight: bold;
}

.notification-message {
    flex: 1;
    font-size: 14px;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification.success { background: #4CAF50; }
.notification.error { background: #f44336; }
.notification.info { background: #2196F3; }

/* Адаптивность */
@media (max-width: 768px) {
    .login-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .login-form,
    .login-benefits {
        padding: 30px 20px;
    }
    
    .social-login {
        grid-template-columns: 1fr;
    }
    
    .benefit-stats {
        grid-template-columns: 1fr;
    }
}