body {
    margin: 0;
    padding: 20px;
    font-family: Arial, Helvetica, sans-serif;
    background: url("img/zapisy.webp") center/cover no-repeat fixed;
    color: white;
}

/* ===== BELKA ===== */
.top-bar {
    background: rgba(0,0,0,0.75);
    border-bottom: 3px solid #000;
    margin-bottom: 20px;
}

.top-bar-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-title {
    font-size: 28px;
    font-weight: bold;
    color: #3b93ea;     /* 🔥 kolor tytułu */
}

.home-btn {
    width: 42px;
    height: 42px;
    background: #2b2b2b;
    border: 2px solid #000;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-btn svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.nav-btn {
    background: #e0e0e0;
    color: #000;
    padding: 8px 16px;
    border-radius: 6px;
    border: 2px solid #000;
    text-decoration: none;
    font-weight: bold;
}

/* ===== TABELA ===== */
table {
    border-collapse: collapse;
    table-layout: fixed;
    width: calc(100% - 40px);
    max-width: 1600px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.4);
}

th {
    background: #2c2c2c; /*    kolor napisów belka druga */
    color: #ffffff;
    border: 3px solid black;
    padding: 10px;
    font-size: 20px;
}

td {
    border: 3px solid black;
    height: 36px;          /* ⬅️ niższe wiersze */
    padding: 0;
    vertical-align: middle;
}

/* ===== NICK ZAJĘTY ===== */
td.player.filled {
    background-color: #fdb5b2;  🔥 ciemniejszy niebieski 
}
/* ===== EDYCJA ===== */
td span {
    display: block;

    height: 36px;
    line-height: 36px;

    padding-left: 16px;      /* 🔥 delikatny margines */
    padding-right: 6px;

    font-weight: 700;
    text-align: left;       /* 🔥 do lewej */

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    outline: none;
}
/*
td:nth-child(5) span {
    font-family: monospace;
}
*/
td.player span {
    font-weight: 600;
}
/* ===== SLOTY ZAJĘTE – WG TYPU BAZY ===== */

/* FARP – zielony */
.section-farp td.player.filled {
    background-color: #8fd6a6;
}

/* LOTNISKO – czerwony */
.section-lotnisko td.player.filled {
    background-color: #e6a1a1;
}

/* LOTNISKOWIEC – niebieski */
.section-lotniskowiec td.player.filled {
    background-color: #8fb6e6;
}

/* ===== ROLE ===== */
.admin { background: #6fb6e6; color: black; }
.player { background: #ddf2ff; color: black; }

/* ===== AKCJE ===== */
.actions {
    background: #555555;
    width: 90px;
    text-align: center;
}
.mission-date {
    font-size: 16px;
    opacity: 0.85;
    margin-left: 10px;
}
.mission-datetime {
    font-size: 16px;
    font-weight: 500;
    opacity: 0.85;
    margin-left: 8px;
    color: #f53838;/*kolor daty */
}
.action-btn {
    background: #ff4d4d;
    border: 2px solid #000;
    color: white;
    padding: 4px 6px;
    margin: 0 2px;
    cursor: pointer;
}
/* ===== NICK WYŚRODKOWANY ===== */
td.player span {
    text-align: center;
    padding-left: 0;
    padding-right: 0;
}
/* ===== PRZEKŁADKA / SEKCJA ===== */
tr.section-row td {
    background: #555555;          /* jak na screenie */
    color: #fff;
    font-weight: 800;
    text-align: center;
    letter-spacing: 1px;
    height: 32px;
}
/* ===== AKCJE PRZEKŁADKI ===== */
.section-row .actions {
    background: #555555;
    text-align: center;
}
tbody td {
    background-color: rgba(221, 242, 255, 0.85);
}