/* ===== LOGIN.CSS - СТИЛИ СТРАНИЦЫ ВХОДА ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.login-page {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    background: linear-gradient(135deg, #00897b, #004d40);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    background: white;
    border-radius: 28px;
    padding: 40px 30px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.login-logo {
    font-size: 48px;
    margin-bottom: 16px;
}

.login-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a2c3e;
    margin-bottom: 8px;
}

.login-subtitle {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #1a2c3e;
}

.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper input {
    padding-right: 45px;
}

input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbdde9;
    border-radius: 40px;
    font-size: 14px;
    transition: all 0.2s;
}

input:focus {
    outline: none;
    border-color: #00897b;
    box-shadow: 0 0 0 3px rgba(0, 137, 123, 0.1);
}

.toggle-password {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #94a3b8;
    padding: 0;
    width: auto;
    transition: color 0.2s;
}

.toggle-password:hover {
    color: #00897b;
}

.login-btn {
    width: 100%;
    background: linear-gradient(135deg, #00897b, #4db6ac);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 137, 123, 0.3);
}

.login-error {
    background: #ffebee;
    color: #c62828;
    padding: 10px;
    border-radius: 12px;
    font-size: 13px;
    margin-bottom: 20px;
    display: none;
}

.login-info {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e2edf4;
    font-size: 12px;
    color: #94a3b8;
}

/* Адаптация для мобильных */
@media (max-width: 480px) {
    .login-container {
        padding: 30px 20px;
    }
    
    .login-title {
        font-size: 20px;
    }
}