/* Основной стиль */
body {
    font-family: Arial, sans-serif;
    background-color: #2e2e2e; /* Темный фон */
    color: #ddd; /* Светлый текст */
    margin: 0;
    padding: 0;
}

h1, h2 {
    color: #ecf0f1; /* Светлый цвет для заголовков */
}

h1 {
    margin-top: 30px;
    text-align: center;
}

/* Стиль для форм */
form {
    margin: 20px auto;
    padding: 20px;
    background-color: #333; /* Темный фон для формы */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 600px;
}

input[type="text"],
input[type="password"],
input[type="submit"],
select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #444; /* Темные границы */
    border-radius: 5px;
    box-sizing: border-box;
    background-color: #555; /* Темный фон для input */
    color: #ddd; /* Светлый текст в полях */
}

input[type="submit"] {
    background-color: #3498db;
    color: white;
    cursor: pointer;
    border: none;
}

input[type="submit"]:hover {
    background-color: #2980b9;
}

a {
    color: #3498db;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Стиль для таблицы */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px auto;
    background-color: #444; /* Темный фон для таблицы */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #666; /* Темные линии */
}

th {
    background-color: #3498db;
    color: white;
}

tr:hover {
    background-color: #555; /* Темный цвет при наведении */
}

td a {
    margin-right: 10px;
    color: white;
}

td a:hover {
    text-decoration: underline;
}

/* Стиль для сообщений об ошибке или успехе */
p {
    text-align: center;
    font-weight: bold;
}

p.error {
    color: red;
}

p.success {
    color: green;
}

input[type="checkbox"] {
    margin-right: 5px;
}

/* Стиль для ссылок внизу страницы */
footer {
    text-align: center;
    margin-top: 30px;
    padding: 10px;
    background-color: #2c3e50;
    color: white;
}
