/* ====== Dark Mode Grundlayout ====== */
:root {
    --bg: #020617;
    --bg-elevated: #020617;
    --bg-elevated-2: #020617;
    --accent: #22c55e;
    --accent-soft: rgba(34, 197, 94, 0.1);
    --border-subtle: #1f2937;
    --text: #e5e7eb;
    --text-muted: #9ca3af;
    --danger: #f87171;
    --success: #4ade80;
    --focus: #38bdf8;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #0f172a 0, #020617 45%, #000 100%);
    color: var(--text);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 32px 12px;
}

/* Wrapper: Haupt-Layout */
main,
.container,
.wrapper {
    width: 100%;
    max-width: 1100px;
    background: var(--bg-elevated);
    border-radius: 18px;
    padding: 24px 24px 18px;
    border: 1px solid var(--border-subtle);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(15, 23, 42, 0.8);
}

/* Wenn direkt im Body gearbeitet wird (Login etc.) */
body > h1,
body > h2,
body > form,
body > p,
body > table,
body > nav {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* ====== Typografie ====== */

h1, h2, h3 {
    margin-top: 0;
    color: #f9fafb;
    letter-spacing: 0.03em;
}

h1 {
    font-size: 1.9rem;
    margin-bottom: 0.75rem;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

p {
    margin: 0.25rem 0 0.4rem;
    color: var(--text-muted);
}

/* Messages / Hinweise */

.msg,
.notice {
    padding: 0.6rem 0.9rem;
    border-radius: 0.6rem;
    font-size: 0.9rem;
    margin: 0.5rem 0 0.75rem;
}

.msg.error {
    background: rgba(248, 113, 113, 0.08);
    border: 1px solid rgba(248, 113, 113, 0.5);
    color: var(--danger);
}

.msg.success {
    background: rgba(74, 222, 128, 0.08);
    border: 1px solid rgba(74, 222, 128, 0.5);
    color: var(--success);
}

/* ====== Links / Navigation ====== */

a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease, text-shadow 0.15s ease;
}

a:hover {
    color: #4ade80;
    text-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

nav a {
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border-subtle);
    font-size: 0.85rem;
}

nav a:hover {
    background: rgba(22, 163, 74, 0.18);
}

/* Link-Badges z.B. Tabellen-Links */
td a,
td a:visited {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #4ade80;
    font-size: 0.8rem;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

td a:hover {
    background: rgba(34, 197, 94, 0.25);
    border-color: rgba(34, 197, 94, 0.8);
    color: #bbf7d0;
}

/* ====== Formulare ====== */

form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin: 0.75rem 0 1rem;
}

/* Labels hÃ¼bscher gruppieren */
label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

label span.label-title {
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: #9ca3af;
}

/* Zwei Spalten Layout optional (z.B. fÃ¼r Prozentwerte) */
.form-row {
    display: flex;
    gap: 0.75rem;
}

.form-row > div {
    flex: 1;
}

/* Inputs allgemein */
input[type="text"],
input[type="password"],
input[type="number"],
input[type="email"],
input[type="url"],
select,
textarea {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border-radius: 0.6rem;
    border: 1px solid var(--border-subtle);
    background: var(--bg-elevated-2);
    color: var(--text);
    font-size: 0.95rem;
    outline: none;
    transition:
        border-color 0.16s ease,
        box-shadow 0.16s ease,
        background 0.16s ease,
        transform 0.06s ease;
}

input::placeholder,
textarea::placeholder {
    color: #6b7280;
    opacity: 0.9;
}

/* Fokus-Effekt */
input:focus,
select:focus,
textarea:focus {
    border-color: var(--focus);
    box-shadow:
        0 0 0 1px rgba(56, 189, 248, 0.7),
        0 0 18px rgba(56, 189, 248, 0.35);
    background: #020617;
    transform: translateY(-1px);
}

/* URL-Feld mit kleinem Icon rechts */
input[type="url"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' stroke='%236b7280' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M13.828 10.172a4 4 0 010 5.656l-3 3a4 4 0 01-5.656-5.656l1.5-1.5M10.172 13.828a4 4 0 010-5.656l3-3a4 4 0 015.656 5.656l-1.5 1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 18px;
    background-position: right 10px center;
    padding-right: 40px;
}

/* ====== Buttons ====== */

button,
input[type="submit"],
.btn {
    border: none;
    cursor: pointer;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    background: radial-gradient(circle at top left, #22c55e, #16a34a 45%, #15803d 100%);
    color: #020617;
    box-shadow:
        0 12px 25px rgba(16, 185, 129, 0.35),
        0 0 0 1px rgba(22, 163, 74, 0.6);
    transition:
        transform 0.12s ease,
        box-shadow 0.12s ease,
        filter 0.12s ease;
}

button:hover,
input[type="submit"]:hover,
.btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow:
        0 16px 35px rgba(16, 185, 129, 0.45),
        0 0 0 1px rgba(34, 197, 94, 0.9);
}

button:active,
input[type="submit"]:active,
.btn:active {
    transform: translateY(1px) scale(0.99);
    box-shadow:
        0 6px 15px rgba(16, 185, 129, 0.3),
        0 0 0 1px rgba(21, 128, 61, 0.9);
}

/* Secondary Button (z.B. Abbrechen) */
.btn-secondary {
    background: rgba(15, 23, 42, 0.9);
    color: var(--text);
    box-shadow:
        0 10px 20px rgba(15, 23, 42, 0.6),
        0 0 0 1px rgba(31, 41, 55, 0.9);
}

/* GefÃ¤hrliche Aktionen */
.btn-danger {
    background: radial-gradient(circle at top left, #f97373, #ef4444 50%, #b91c1c 100%);
    color: #fef2f2;
    box-shadow:
        0 12px 25px rgba(248, 113, 113, 0.4),
        0 0 0 1px rgba(248, 113, 113, 0.6);
}

/* ====== Badges / Tags (fÃ¼r Typ, Status etc.) ====== */

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid rgba(148, 163, 184, 0.8);
    color: #e5e7eb;
    background: rgba(15, 23, 42, 0.9);
}

.badge-indica {
    border-color: rgba(59, 130, 246, 0.8);
    background: rgba(37, 99, 235, 0.12);
}

.badge-sativa {
    border-color: rgba(249, 115, 22, 0.8);
    background: rgba(249, 115, 22, 0.12);
}

.badge-hybrid {
    border-color: rgba(34, 197, 94, 0.8);
    background: rgba(34, 197, 94, 0.12);
}

.badge-status-open {
    border-color: rgba(34, 197, 94, 0.8);
    background: rgba(22, 163, 74, 0.12);
}

.badge-status-done {
    border-color: rgba(148, 163, 184, 0.8);
    background: rgba(148, 163, 184, 0.12);
}

/* ====== Tabellen (plants / variants / users) ====== */

/* Wrapper, falls Tabelle breiter als Container ist */
.table-scroll {
    width: 100%;
    overflow-x: auto;
    margin-top: 0.75rem;
}

/* wenn du .table-scroll nicht nutzt, greift einfach direkt table */
table {
    width: 100%;
    min-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    background: rgba(15, 23, 42, 0.9);
    border-radius: 0.9rem;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    table-layout: auto;
}

thead {
    background: linear-gradient(to right, rgba(15, 23, 42, 0.95), rgba(6, 95, 70, 0.5));
}

/* Sticky Header */
thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.98), rgba(6, 95, 70, 0.7));
}

th,
td {
    padding: 0.55rem 0.7rem;
    text-align: left;
    border-bottom: 1px solid rgba(31, 41, 55, 0.9);
    vertical-align: middle;
}

th {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9ca3af;
}

tbody tr:nth-child(even) {
    background: rgba(15, 23, 42, 0.85);
}

tbody tr:hover {
    background: rgba(22, 101, 52, 0.35);
}

/* Aktionen in Tabellen (Bearbeiten / LÃ¶schen Links) */
td a + a {
    margin-left: 0.4rem;
}

/* ====== Kleine Helfer ====== */

hr {
    border: none;
    border-top: 1px solid rgba(31, 41, 55, 0.9);
    margin: 1rem 0;
}

small {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ====== Responsiv ====== */

@media (max-width: 640px) {
    body {
        padding: 18px 10px;
        align-items: stretch;
    }

    main,
    .container,
    .wrapper {
        padding: 18px 14px;
        border-radius: 14px;
    }

    table,
    thead,
    tbody,
    th,
    td,
    tr {
        font-size: 0.8rem;
    }

    nav {
        justify-content: center;
    }

    .form-row {
        flex-direction: column;
    }
}

/*****************************************
 * 1) Box / Layout dynamischer machen
 *****************************************/
main,
.container,
.wrapper {
    /* bleibt mittig, aber nutzt mehr Platz wenn vorhanden */
    width: min(100%, 1200px);
}

/* Body-Padding etwas entspannter */
body {
    padding: 24px 16px;
}


/*****************************************
 * 2) Tabellen-Header: Schimmer entfernen
 *****************************************/

/* Einfacher, matter Header ohne verlaufenden Glow */
thead {
    background: #020617;
}

/* Sticky raus + harte Gradient-Reflexe weg */
thead th {
    position: static;          /* kein Sticky mehr â†’ kein Flimmern */
    background: #020617;       /* flat background */
    box-shadow: none;          /* zur Sicherheit */
}

/* Falls Text zu "glowig" wirkt: */
th {
    text-shadow: none;
}


/*****************************************
 * 3) Spaltenbreite wirklich dynamisch
 *****************************************/
table {
    width: 100%;
    min-width: 100%;
    table-layout: auto;   /* Browser entscheidet dynamisch nach Inhalt */
}

/* Optional: bestimmte Spalten etwas schmaler halten, wenn du willst
   Beispiel: ID & Aktionen */
th:nth-child(1),
td:nth-child(1) {
    white-space: nowrap;
    width: 1%;
}

th:last-child,
td:last-child {
    white-space: nowrap;
    width: 1%;
}


/*****************************************
 * 4) Date-Felder im Formular stylen
 *****************************************/

/* Date-Feld wie alle anderen Inputs */
input[type="date"] {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border-radius: 0.6rem;
    border: 1px solid var(--border-subtle);
    background: var(--bg-elevated-2);
    color: var(--text);
    font-size: 0.95rem;
    outline: none;
    transition:
        border-color 0.16s ease,
        box-shadow 0.16s ease,
        background 0.16s ease,
        transform 0.06s ease;
}

/* Fokus gleich wie bei den anderen Inputs */
input[type="date"]:focus {
    border-color: var(--focus);
    box-shadow:
        0 0 0 1px rgba(56, 189, 248, 0.7),
        0 0 18px rgba(56, 189, 248, 0.35);
    background: #020617;
    transform: translateY(-1px);
}

/* Icon im Darkmode sichtbar machen (Chrome/Edge/Webkit) */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.8);
}

/* Placeholder-Farbe angleichen (falls Browser das nutzt) */
input[type="date"]::placeholder {
    color: #6b7280;
    opacity: 0.9;
}

nav a.active {
    background: rgba(34, 197, 94, 0.25);
    border-color: rgba(34, 197, 94, 0.9);
    color: #bbf7d0;
}

.nav-userinfo {
    margin-bottom: 0.8rem;
    padding: 0.55rem 0.9rem;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--border-subtle);
    font-size: 0.9rem;
    display: inline-block;
    color: var(--text);
}

.nav-userinfo .userinfo-role {
    color: var(--accent);
    margin-left: 4px;
}

.nav-main {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

nav a.active {
    background: rgba(34, 197, 94, 0.25);
    border-color: rgba(34, 197, 94, 0.9);
    color: #bbf7d0;
}

.nav-separator {
    border: none;
    border-top: 1px solid rgba(31, 41, 55, 0.9);
    margin: 1rem 0 1.4rem;
}

.nav-gap {
    height: 1px; /* mini Abstand */
}

.msg.info {
    background: #e5f2ff;
    border: 1px solid #a9d4ff;
    color: #003b73;
    padding: .75rem 1rem;
    border-radius: .5rem;
    margin: 1rem 0;
}

.status-dot {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.9);
    cursor: pointer;
    padding: 0;
    display: inline-block;
    background: transparent;
}

/* GrÃ¼n = aktiv */
.status-active {
    background: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.7);
}

/* Rot = inaktiv */
.status-inactive {
    background: #ef4444;
    box-shadow: 0 0 6px rgba(248, 113, 113, 0.7);
}

/*****************************************
 * 4b) DATETIME-LOCAL Style (GLEICH WIE DATE)
 *****************************************/

input[type="datetime-local"] {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border-radius: 0.6rem;
    border: 1px solid var(--border-subtle);
    background: var(--bg-elevated-2);
    color: var(--text);
    font-size: 0.95rem;
    outline: none;
    transition:
        border-color 0.16s ease,
        box-shadow 0.16s ease,
        background 0.16s ease,
        transform 0.06s ease;
}

/* Fokus-Effekt */
input[type="datetime-local"]:focus {
    border-color: var(--focus);
    box-shadow:
        0 0 0 1px rgba(56, 189, 248, 0.7),
        0 0 18px rgba(56, 189, 248, 0.35);
    background: #020617;
    transform: translateY(-1px);
}

/* Icon im Darkmode sichtbar */
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    filter: invert(0.85);
}

/*****************************************
 * 5) SchÃ¶ne Darkmode-Checkboxen
 *****************************************/

input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid var(--border-subtle);
    background: #0f172a;
    cursor: pointer;
    position: relative;
    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease;
}

/* Haken */
input[type="checkbox"]:checked::after {
    content: "\2713";        /* ✔ als Unicode */
    position: absolute;
    top: 0px;                /* ggf. anpassen */
    left: 2px;               /* ggf. anpassen */
    font-size: 14px;
    color: #22c55e;
    line-height: 1;
}

/* Background im aktiven Zustand */
input[type="checkbox"]:checked {
    background: rgba(34, 197, 94, 0.15);
    border-color: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.4);
}

/* Hover-Effekt */
input[type="checkbox"]:hover {
    border-color: var(--focus);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.25);
}

/* ====== Klima / GerÃ¤te Box (Logbuch) ====== */

.device-box {
    margin-top: 1.5rem;
    padding: 1rem 1.2rem;
    border-radius: 0.9rem;
    border: 1px solid var(--border-subtle);
    background: rgba(15, 23, 42, 0.9);
    box-shadow:
        0 10px 22px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(15, 23, 42, 0.8);
}

.device-box .label-title,
.device-box h2,
.device-box h3 {
    margin-top: 0;
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9ca3af;
}

/* Grid fÃ¼r die Schalter */
.device-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0.55rem;
}

.device-grid label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.7rem;
    border-radius: 0.7rem;
    border: 1px solid rgba(31, 41, 55, 0.95);
    background: radial-gradient(circle at top left, #020617, #020617 40%, #020617 100%);
    font-size: 0.85rem;
    color: var(--text);
}

/* auf kleineren Screens einspaltig */
@media (max-width: 640px) {
    .device-grid {
        grid-template-columns: 1fr;
    }
}

.user-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    align-items: center;
}

.inline-form {
    display: flex;
    flex-direction: row; /* Statt Column → alles nebeneinander */
    align-items: center;
    gap: 0.4rem;
}

.inline-form select {
    margin: 0;
    min-width: 130px; /* oder 150px, wie du willst */
}

.inline-form button {
    margin: 0;
}

/* Grid für die Galerie */
.plant-images .image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

/* Container: Quadrat + Text darunter */
.plant-images .plant-image {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Quadratisches Bild */
.plant-images .plant-image .thumb {
    width: 100%;
    aspect-ratio: 1 / 1;     /* quadratisch */
    border-radius: 10px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 3px 8px rgba(0,0,0,.4);
}

/* Bild selbst */
.plant-images .plant-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Text UNTER dem Bild */
.plant-images .plant-image figcaption {
    margin-top: .4rem;
    font-size: .75rem;
    color: #ccc;
    text-align: center;
}

/* --- Schöner Datei-Auswahl-Button (passend zu Buttons) --- */

.image-upload-form {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}

/* Fake-Button sieht aus wie ein normaler Primary-Button */
.file-upload {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    background: radial-gradient(circle at top left, #22c55e, #16a34a 45%, #15803d 100%);
    color: #020617;
    border: none;
    box-shadow:
        0 12px 25px rgba(16, 185, 129, 0.35),
        0 0 0 1px rgba(22, 163, 74, 0.6);
    cursor: pointer;
    transition:
        transform 0.12s ease,
        box-shadow 0.12s ease,
        filter 0.12s ease;
    user-select: none;
}

.file-upload:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow:
        0 16px 35px rgba(16, 185, 129, 0.45),
        0 0 0 1px rgba(34, 197, 94, 0.9);
}

.file-upload:active {
    transform: translateY(1px) scale(0.99);
    box-shadow:
        0 6px 15px rgba(16, 185, 129, 0.3),
        0 0 0 1px rgba(21, 128, 61, 0.9);
}

/* Das eigentliche Input ausblenden */
.file-upload input[type="file"] {
    display: none;
}

/* Upload-Button: wie ein Secondary-Button (dark) */
.btn-upload {
    background: rgba(15, 23, 42, 0.9);
    color: var(--text);
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(31, 41, 55, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    cursor: pointer;
    box-shadow:
        0 10px 20px rgba(15, 23, 42, 0.6),
        0 0 0 1px rgba(31, 41, 55, 0.9);
    transition:
        transform 0.12s ease,
        box-shadow 0.12s ease,
        filter 0.12s ease;
}

.btn-upload:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow:
        0 14px 26px rgba(15, 23, 42, 0.7),
        0 0 0 1px rgba(55, 65, 81, 0.9);
}

.btn-upload:active {
    transform: translateY(1px) scale(0.99);
    box-shadow:
        0 6px 14px rgba(15, 23, 42, 0.55),
        0 0 0 1px rgba(31, 41, 55, 0.9);
}

.btn-small {
    padding: 0.35rem 0.7rem;
    font-size: 0.75rem;
    border-radius: 6px;
}

.delete-image-form {
    margin-top: .4rem;
}

.plant-image form button {
    width: 100%;
}

/*****************************************
 * Admin-Tools Box (Settings)
 *****************************************/

.admin-tools-box {
    margin: 1rem 0 1.8rem;
    padding: 1rem 1.2rem;
    border-radius: 0.9rem;
    border: 1px solid var(--border-subtle);
    background: radial-gradient(circle at top left, #020617, #020617 45%, #020617 100%);
    box-shadow:
        0 10px 22px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(15, 23, 42, 0.9);
}

.admin-tools-box-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

.admin-tools-box-title {
    margin: 0;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
}

.admin-tools-box-subtitle {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.admin-tools-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.4rem;
}

/* Buttons in der Admin-Box etwas kompakter */
.admin-tools-actions .btn,
.admin-tools-actions button,
.admin-tools-actions a {
    font-size: 0.82rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
}

/* Optional: "Ghost"-Button-Style für zukünftige Tools */
.btn-ghost {
    background: rgba(15, 23, 42, 0.9);
    color: var(--text-muted);
    box-shadow:
        0 8px 18px rgba(15, 23, 42, 0.7),
        0 0 0 1px rgba(31, 41, 55, 0.9);
}

.btn-ghost:hover {
    color: var(--text);
    box-shadow:
        0 12px 26px rgba(15, 23, 42, 0.8),
        0 0 0 1px rgba(55, 65, 81, 0.9);
}
