/* Основные стили для всего документа */
html {
    height: 100%; /* Для sticky footer */
}

body
{
    background: url("../images/elegant-background.jpg")  no-repeat center center fixed;
    background-size: cover;
    font-family: 'Arial', sans-serif;
     min-height: 100%; /* Для sticky footer */
    display: flex;
    flex-direction: column;
}

/* Контейнер для контента */
.container {
    flex: 1 0 auto; /* Растягивается, чтобы заполнить пространство */
}

.login-form {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-top: 0px;
    margin-bottom: 20px;
}

h3 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 20px;
}

.form-control, .form-select {
    border-radius: 8px;
    border: 1px solid #ced4da;
    padding: 10px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus, .form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.btn-primary {
    background-color: #007bff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 16px;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-primary:disabled {
    background-color: #6c757d;
}

.alert-success {
    position: relative;
    padding: 15px 40px 15px 15px;
    border-radius: 8px;
    background-color: #d4edda;
    color: #155724;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.alert-danger {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    color: #155724;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
}

.close-btn:hover {
    color: #0d3c1a;
}

.form-check-label {
    color: #495057;
}

label {
    font-weight: 500;
    color: #343a40;
}

p.text-center {
    color: #6c757d;
    font-size: 14px;
}


/* Стили для футера */
footer {
    flex-shrink: 0;
    padding: 20px; /* Одинаковый отступ со всех сторон */
    text-align: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
}

footer p {
    margin: 0; /* Убираем стандартные отступы параграфа */
    padding: 0; /* Убираем лишние внутренние отступы */
    line-height: 1.5; /* Контролируем высоту строки для центрирования текста */
}

footer a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #0056b3;
}
