/* admin/style.css – schlichtes, eigenständiges Design für den
   internen Trainer-Bereich (bewusst getrennt von main.css, da
   dieser Bereich keine SPA ist und nicht öffentlich verlinkt wird). */

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #e9caa9;
    color: #222;
}

header.admin-kopf {
    background: #4b2e1e;
    color: #fff;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

header.admin-kopf a, header.admin-kopf button {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

nav.admin-nav {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

nav.admin-nav a {
    background: #fff;
    color: #4b2e1e;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.9375rem;
}

main.admin-main {
    max-width: 1000px;
    margin: 24px auto;
    padding: 0 16px;
}

.admin-karte {
    background: #fff;
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.admin-feld { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.admin-feld label { font-weight: 700; }
.admin-feld input[type=text], .admin-feld input[type=date], .admin-feld input[type=datetime-local],
.admin-feld input[type=time], .admin-feld input[type=number], .admin-feld input[type=password],
.admin-feld input[type=url], .admin-feld input[type=file], .admin-feld textarea, .admin-feld select {
    padding: 8px 10px;
    border: 2px solid rgba(0,0,0,0.2);
    border-radius: 8px;
    font: inherit;
}

.admin-checkboxen { display: flex; flex-wrap: wrap; gap: 10px; }
.admin-checkboxen label { font-weight: 400; display: flex; align-items: center; gap: 4px; }

.admin-btn {
    background: #4b2e1e;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 700;
    cursor: pointer;
}
.admin-btn:hover { background: #6b4226; }
.admin-btn-gefahr { background: #7b0000; }
.admin-btn-gefahr:hover { background: #a00000; }

table.admin-tabelle { width: 100%; border-collapse: collapse; }
table.admin-tabelle th, table.admin-tabelle td {
    text-align: left;
    padding: 8px 10px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    vertical-align: top;
}
table.admin-tabelle img.admin-thumb { width: 60px; height: 60px; object-fit: cover; border-radius: 6px; }

.admin-hinweis { color: #7b0000; font-weight: 600; }
.admin-erfolg  { color: #2e7d32; font-weight: 600; }
.admin-versteckt { display: none !important; }

.admin-login-box { max-width: 380px; margin: 80px auto; }
