@font-face {
  font-family: 'Roboto-Light';
  src: url('../fonts/Roboto/Roboto-Light.ttf') format('truetype');
}


body {
    background: #1E1F22;          /* общий фон */
    color: #f0f0f0;              /* основной текст */
    font-family:'Roboto-Light', Arial, sans-serif;
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

* {
    box-sizing: border-box;
}

.login-container {
    background: #2B2D30;          /* карточка */
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.5);
    padding: 32px 28px;
    max-width: 340px;
    width: 100%;
    text-align: center;
}

h2 {
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 1.4rem;
    color: #ffffff;
}

form label {
    display: block;
    font-size: 0.95rem;
    color: #cccccc;
    text-align: left;
    margin-bottom: 5px;
    margin-top: 14px;
}

form input[type="text"],
form input[type="password"],
form input[type="submit"] {
    width: 100%;
    margin-bottom: 12px;
}

/* поля */
form input[type="text"],
form input[type="password"] {
    padding: 9px 11px;
    border: 1px solid #333;
    border-radius: 6px;
    background: #2a2a2a;
    font-size: 0.95rem;
    color: #f0f0f0;
    outline: none;
}

form input[type="text"]:focus,
form input[type="password"]:focus {
    border-color: #4f91ff;
    background: #333;
}

/* кнопка */
form input[type="submit"] {
    padding: 10px 0;
    background: #4f91ff;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 12px;
}

form input[type="submit"]:hover {
    background: #3a78d9;
}

/* ошибка */
.error {
    background: #2d1a1a;
    color: #ff7b7b;
    padding: 8px 0;
    border-radius: 5px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}





