body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    overflow: hidden; /* Убираем прокрутку */
}

.login-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Видео на фон */
.background-video {
    position: fixed; /* Делаем фиксированным */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 1;
}

/* Карточка логина */
.login-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 350px;
    width: 100%;
    position: relative;
    z-index: 10; /* Поверх видео */
}

.logo {
    width: 100px;
    margin-bottom: 15px;
}

h1, h2, h3 {
    margin: 0 0 20px;
    color: white;
}

.error-message {
    color: red;
    margin-bottom: 15px;
}

.input-group {
    margin-bottom: 15px;
    text-align: left;
}

label {
    display: block;
    color: white;
    font-size: 14px;
    margin-bottom: 5px;
}

input {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}

.btn {
    background: #9bde9b;
    color: white;
    padding: 10px;
    border: none;
    width: 100%;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

.btn:hover {
    background: #75ec75;
}

.register-link {
    margin-top: 10px;
    font-size: 14px;
    color: white;
}

.register-link a {
    color: #9bde9b;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 5px; /* Отступ между чекбоксом и текстом */
    width: auto; /* Чтобы не растягивалось на всю ширину */
}

.checkbox-group input {
    flex: 0; /* Не даём чекбоксу расширяться */
}

.checkbox-group label {
    flex: 0; /* Оставляем тексту естественную ширину */
    white-space: nowrap; /* Предотвращает перенос текста */
    margin: 0;
}



