/* Стили для страниц авторизации */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    background: white;
    border-radius: 16px;
    padding: 40px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

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

.logo-text {
    font-size: 32px;
    font-weight: 700;
    color: #1E1E1E;
}

.logo-ii {
    font-family: 'Pacifico', cursive;
    color: #0D99FF;
}

h1 {
    font-size: 24px;
    margin-bottom: 8px;
    text-align: center;
}

.subtitle {
    text-align: center;
    color: #6E6E6E;
    margin-bottom: 32px;
    font-size: 14px;
    line-height: 1.6;
}

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

label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1E1E1E;
}

input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s;
}

input:focus {
    outline: none;
    border-color: #0D99FF;
}

input::placeholder {
    color: #A0A0A0;
}

.error {
    background: #FEE;
    border: 1px solid #F00;
    color: #C00;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.success {
    background: #EFE;
    border: 1px solid #0C0;
    color: #060;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.btn {
    width: 100%;
    padding: 14px;
    background: #0D99FF;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    font-family: inherit;
}

.btn:hover {
    opacity: 0.9;
}

.links {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
}

.links a {
    color: #0D99FF;
    text-decoration: none;
}

.links a:hover {
    text-decoration: underline;
}

.divider {
    margin: 20px 0;
    text-align: center;
    color: #6E6E6E;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: #E0E0E0;
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

@media (max-width: 480px) {
    .login-container {
        padding: 30px 20px;
    }
    
    .logo-text {
        font-size: 28px;
    }
    
    h1 {
        font-size: 20px;
    }
}
