/* css/style.css - Общие стили для страницы входа */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f6f6f6;
    color: #222;
    line-height: 1.6;
}

/* Login */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #f6f6f6;
}

.login-box {
    background: white;
    padding: 40px 50px;
    border-radius: 8px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    max-width: 400px;
    width: 100%;
}

.login-box h1 {
    font-size: 28px;
    font-weight: normal;
    text-align: center;
    margin-bottom: 5px;
}

.login-box .subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 14px;
}

.login-hint {
    margin-top: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
    font-size: 13px;
    color: #666;
    text-align: center;
}

.login-hint strong {
    color: #222;
}

/* Form elements */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 4px;
    font-weight: 500;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    background: white;
}

.form-group input:focus {
    outline: none;
    border-color: #1967d2;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 6px 16px;
    background: #f8f9fa;
    color: #222;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #d0d0d0;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    line-height: 1.4;
}

.btn:hover {
    background: #e8e8e8;
    border-color: #b0b0b0;
}

.btn-primary {
    background: #1967d2;
    color: white;
    border-color: #1967d2;
    width: 100%;
    padding: 10px;
    font-size: 15px;
}

.btn-primary:hover {
    background: #1558b5;
    border-color: #1558b5;
}

/* Alerts */
.alert {
    padding: 12px 18px;
    margin: 15px 0;
    border-radius: 4px;
    border: 1px solid transparent;
}

.alert-error {
    background: #fce8e6;
    border-color: #f5c6cb;
    color: #b71c1c;
}