/* Запрет масштабирования для ПК версии */
@media (min-width: 768px) {
    html {
        zoom: 1;
        -moz-transform: scale(1);
        -moz-transform-origin: 0 0;
    }
    
    body {
        transform: scale(1) !important;
        transform-origin: center !important;
    }
    
    .login-container {
        transform: scale(1) !important;
        transform-origin: center !important;
    }
}

/* Остальные стили остаются без изменений... */


/* Стили для страницы входа - ФИКСИРОВАННАЯ ШИРИНА 500px */
.login-container {
    width: 500px;
    margin: 50px auto;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h1 {
    color: #1a73e8;
    margin-bottom: 10px;
    font-size: 24px;
}

.login-header p {
    color: #666;
    font-size: 14px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-input {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s;
    height: 44px;
}

.form-input:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.2);
}

.login-button {
    background: #1a73e8;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    height: 48px;
}

.login-button:hover {
    background: #0d62d9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.error-message {
    color: #d93025;
    background-color: #ffebee;
    padding: 12px 15px;
    border-radius: 6px;
    border-left: 4px solid #d93025;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.user-info {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e8eaed;
}

.user-info h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 16px;
}

.user-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.user-list li {
    padding: 8px 0;
    border-bottom: 1px solid #e8eaed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.user-list li:last-child {
    border-bottom: none;
}

.user-name {
    font-weight: 600;
    color: #333;
}

.user-role {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.role-admin {
    background: #e3f2fd;
    color: #1565c0;
}

.role-editor {
    background: #e8f5e9;
    color: #2e7d32;
}

.role-user {
    background: #fff3e0;
    color: #f57c00;
}

.login-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e8eaed;
    color: #666;
    font-size: 12px;
}

/* Центрирование страницы */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #f5f7fa;
    padding: 20px;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Улучшение доступности */
.form-input:focus,
.login-button:focus {
    outline: 2px solid #1a73e8;
    outline-offset: 2px;
}

/*test */