/* ===== Grundlayout ===== */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #fff;
    background: url('Hintergrundbild.jpg') no-repeat center center fixed;
    background-size: cover;
}

/* ===== HEADER ===== */
header {
    background-color: rgba(13, 27, 42, 0.85); /* leicht transparent, damit Hintergrund sichtbar */
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.header-center {
    font-size: 2em;
    font-weight: bold;
    text-align: center;
    flex: 1;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logout-btn {
    background-color: #c0392b;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.logout-btn:hover {
    background-color: #e74c3c;
}

/* ===== FOOTER ===== */
footer {
    background-color: rgba(13, 27, 42, 0.85);
    padding: 10px;
    text-align: center;
    color: #fff;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* ===== PANEL ===== */
.panel {
    background-color: rgba(27, 38, 59, 0.85);
    margin: 20px auto;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

/* ===== ADMIN PANEL ===== */
.admin-panel {
    background-color: rgba(241, 196, 15, 0.9);
    color: #000;
    margin: 20px auto;
    padding: 15px;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

/* ===== FORM ELEMENTE ===== */
label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

input, select, button {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border-radius: 5px;
    border: none;
}

button {
    background-color: #415a77;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #1b263b;
}

/* ===== CONVOY LISTE ===== */
.convoyItem {
    background-color: rgba(50, 74, 109, 0.9);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.convoyItem button {
    width: auto;
    margin-top: 5px;
}

/* ===== STATUS ===== */
#convoyList span {
    font-weight: bold;
}

/* ===== INFO ===== */
#convoyInfo {
    margin-top: 10px;
    font-weight: bold;
    color: #ffdd00;
}

/* ===== LINKS ===== */
a {
    color: #ffdd00;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}
