body {
    background: url('img/newbg5.jpg') no-repeat center center fixed;
    /* Seamless текстура зелёного газона — отличный фон для футбольного сайта */
    background-color: #0a3d0a;
    /* Тёмно-зелёный fallback */
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    background: rgba(255, 255, 255, 0.95);
    /* Полупрозрачный белый для читаемости */
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
}

/* Главный хедер — баннер со стадионом */
.main-header {
    position: relative;
    left: 170px;
    width: calc(100% - 170px);
    height: 250px;
    overflow: hidden;
    border-bottom: 5px solid #1abc9c;
}

.main-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 15px 30px;
    font-size: 36px;
    font-weight: bold;
    border-radius: 8px;
    text-shadow: 2px 2px 4px black;
}

/* Рекомендуемая картинка для хедера (стадион ночью с огнями) */
.main-header img {
    content: url('https://media.istockphoto.com/id/535553385/photo/light-of-stadium.jpg?s=612x612&w=0&k=20&c=-Tfmp5oJ0kxxCC-WqCBEXeO1S-ac-bSp1YBNh6HRAxU=');
    /* Или замените на свою */
}

/* Вертикальное меню — тёмно-зелёное, как трибуны */
.vertical-menu {
    width: 170px;
    background: #0e4d2a;
    /* Тёмно-зелёный */
    padding: 20px 0;
    position: fixed;
    height: 100%;
    top: 0;
    left: 0;
    overflow-y: auto;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.3);
}

.vertical-menu a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    font-size: 16px;
    transition: all 0.3s;
}

.vertical-menu a:hover {
    background: #1abc9c;
    /* Ярко-зелёный акцент */
    transform: translateX(10px);
}

.content {
    margin-left: 170px;
    padding: 30px;
    min-height: 100vh;
}

/* Таблицы — как футбольное поле */
.table,
.profile-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.table th,
.profile-table th {
    background: #0e4d2a;
    /* Тёмно-зелёный */
    color: white;
    padding: 12px;
    text-align: center;
    font-weight: bold;
}

.table td,
.profile-table td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.profile-table tr:nth-child(even) td {
    background-color: #e8f5e8;
    /* Лёгкий зелёный полосатый эффект */
}

.table tr:hover td,
.profile-table tr:hover td {
    background-color: #d0f0d0;
}

/* Кнопки — ярко-зелёные, как "гол" */
.btn,
button[type="submit"],
.return-btn a {
    display: inline-block;
    padding: 10px 20px;
    background: #0a3d0a;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s;
    cursor: pointer;
}

.btn:hover,
button[type="submit"]:hover,
.return-btn a:hover {
    background: #16a085;
    transform: scale(1.05);
}

button[type="delete"] {
    background: #c0392b;
    /* Красный для удаления */
}

button[type="delete"]:hover {
    background: #e74c3c;
}

/* Формы — с зелёными акцентами */
select,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
textarea {
    border: 2px solid #0e4d2a;
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 16px;
    transition: all 0.3s;
}

select:focus,
input:focus,
textarea:focus {
    border-color: #1abc9c;
    box-shadow: 0 0 8px rgba(26, 188, 156, 0.4);
}

/* Заголовки */
h1,
h3 {
    color: #0e4d2a;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Футер */
.footer {
    background: #0e4d2a;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

/* Дополнительно: эффект "мяча" для hover на изображениях игроков/судей */
.referee-img-container:hover img {
    transform: translateX(-50%) scale(1.2) rotate(5deg);
}