* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --background: #0f141c;
    --background-soft: #151c26;
    --card: rgba(20, 28, 39, 0.96);

    --border: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(255, 255, 255, 0.16);

    --text: #f3f5f7;
    --text-soft: #9ea8b5;

    --gold: #c7a55a;
    --gold-light: #e0c982;
    --gold-dark: #8c6d32;

    --danger: #d35d5d;

    --shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

/* =========================================
   GRUNDEINSTELLUNGEN
========================================= */

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    font-family:
        Inter,
        "Segoe UI",
        Arial,
        sans-serif;
    color: var(--text);
    background: var(--background);
}

/* =========================================
   LOGIN-SEITE
========================================= */

.login-page {
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;

    min-height: 100vh;

    padding: 30px 20px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(199, 165, 90, 0.09),
            transparent 34%
        ),
        radial-gradient(
            circle at 80% 80%,
            rgba(199, 165, 90, 0.06),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #0c1118 0%,
            #111823 48%,
            #0d131b 100%
        );
}

/* leichter Hintergrundeffekt */

.login-page::before {
    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    top: -260px;
    right: -180px;

    border-radius: 50%;

    border: 1px solid rgba(199, 165, 90, 0.08);

    box-shadow:
        0 0 0 80px rgba(199, 165, 90, 0.018),
        0 0 0 160px rgba(199, 165, 90, 0.012);

    pointer-events: none;
}

.login-page::after {
    content: "";

    position: absolute;

    width: 380px;
    height: 380px;

    left: -200px;
    bottom: -180px;

    border-radius: 50%;

    border: 1px solid rgba(255, 255, 255, 0.035);

    pointer-events: none;
}

/* =========================================
   LOGIN-CONTAINER
========================================= */

.login-container {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 460px;
}

/* =========================================
   LOGIN-KARTE
========================================= */

.login-card {
    width: 100%;

    padding: 42px 42px 32px;

    border: 1px solid var(--border);

    border-radius: 22px;

    background:
        linear-gradient(
            160deg,
            rgba(25, 34, 47, 0.98),
            rgba(15, 22, 31, 0.98)
        );

    box-shadow: var(--shadow);

    backdrop-filter: blur(14px);
}

/* goldene Linie oben */

.login-card::before {
    content: "";

    display: block;

    width: 86px;
    height: 3px;

    margin: -42px auto 27px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            var(--gold-dark),
            var(--gold-light),
            var(--gold-dark)
        );

    box-shadow:
        0 0 18px rgba(199, 165, 90, 0.26);
}

/* =========================================
   LOGO
========================================= */

.login-logo-wrapper {
    display: flex;
    justify-content: center;

    margin-bottom: 20px;
}

.login-logo {
    display: block;

    width: 115px;
    max-width: 100%;
    height: auto;

    object-fit: contain;

    filter:
        drop-shadow(0 8px 18px rgba(0, 0, 0, 0.28));
}

/* =========================================
   ÜBERSCHRIFT
========================================= */

.login-header {
    text-align: center;

    margin-bottom: 32px;
}

.login-header h1 {
    margin-bottom: 9px;

    font-size: 30px;
    font-weight: 650;

    letter-spacing: 0.3px;

    color: var(--text);
}

.login-header p {
    color: var(--text-soft);

    font-size: 14px;

    line-height: 1.55;
}

/* =========================================
   FORMULAR
========================================= */

.login-form {
    display: flex;
    flex-direction: column;

    gap: 19px;
}

.form-group {
    display: flex;
    flex-direction: column;

    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;

    color: #d8dde4;

    letter-spacing: 0.2px;
}

.form-group input {
    width: 100%;
    height: 48px;

    padding: 0 15px;

    border: 1px solid var(--border);
    border-radius: 10px;

    outline: none;

    background: rgba(8, 13, 19, 0.68);

    color: var(--text);

    font-size: 14px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.form-group input::placeholder {
    color: #6f7986;
}

.form-group input:hover {
    border-color: var(--border-strong);
}

.form-group input:focus {
    border-color: rgba(199, 165, 90, 0.68);

    background: rgba(10, 16, 23, 0.88);

    box-shadow:
        0 0 0 3px rgba(199, 165, 90, 0.09);
}

/* =========================================
   LOGIN-NACHRICHT
========================================= */

.login-message {
    display: none;

    padding: 11px 13px;

    border-radius: 8px;

    font-size: 13px;

    line-height: 1.4;
}

.login-message.error {
    display: block;

    border: 1px solid rgba(211, 93, 93, 0.25);

    background: rgba(211, 93, 93, 0.09);

    color: #efaaaa;
}

.login-message.success {
    display: block;

    border: 1px solid rgba(199, 165, 90, 0.3);

    background: rgba(199, 165, 90, 0.09);

    color: var(--gold-light);
}

/* =========================================
   LOGIN-BUTTON
========================================= */

.login-button {
    width: 100%;
    min-height: 49px;

    margin-top: 3px;

    border: 1px solid rgba(224, 201, 130, 0.26);
    border-radius: 10px;

    cursor: pointer;

    background:
        linear-gradient(
            135deg,
            #9c7b3e,
            #c7a55a
        );

    color: #111318;

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 0.25px;

    box-shadow:
        0 9px 20px rgba(0, 0, 0, 0.22);

    transition:
        transform 0.18s ease,
        filter 0.18s ease,
        box-shadow 0.18s ease;
}

.login-button:hover {
    transform: translateY(-1px);

    filter: brightness(1.06);

    box-shadow:
        0 12px 25px rgba(0, 0, 0, 0.3);
}

.login-button:active {
    transform: translateY(0);
}

/* =========================================
   FOOTER
========================================= */

.login-footer {
    margin-top: 28px;

    padding-top: 21px;

    border-top: 1px solid var(--border);

    text-align: center;
}

.login-footer p {
    color: #737e8b;

    font-size: 12px;

    letter-spacing: 0.2px;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 520px) {
    .login-page {
        padding: 18px 14px;
    }

    .login-card {
        padding:
            36px
            24px
            27px;
    }

    .login-card::before {
        margin-top: -36px;
    }

    .login-logo {
        width: 95px;
    }

    .login-header h1 {
        font-size: 26px;
    }

    .login-header p {
        font-size: 13px;
    }
}/* =========================================
   RAThAUS-REGISTER HAUPTSEITE
========================================= */

.register-page {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at top left,
            rgba(199, 165, 90, 0.06),
            transparent 32%
        ),
        linear-gradient(
            145deg,
            #0c1118 0%,
            #111823 48%,
            #0d131b 100%
        );

    color: var(--text);
}

/* =========================================
   TOPBAR
========================================= */

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 25px;

    padding: 18px 28px;

    border-bottom: 1px solid var(--border);

    background:
        rgba(13, 19, 27, 0.94);

    backdrop-filter: blur(14px);

    position: sticky;
    top: 0;
    z-index: 50;
}

.topbar-left {
    display: flex;
    align-items: center;

    gap: 16px;
}

.topbar-logo {
    width: 62px;
    height: 62px;

    object-fit: contain;

    filter:
        drop-shadow(0 7px 16px rgba(0, 0, 0, 0.35));
}

.topbar-left h1 {
    font-size: 23px;

    margin-bottom: 3px;
}

.topbar-left p {
    color: var(--text-soft);

    font-size: 12px;
}

.topbar-right {
    display: flex;
    align-items: center;

    flex-wrap: wrap;

    gap: 10px;
}

.current-user {
    margin-right: 6px;

    color: var(--text-soft);

    font-size: 13px;
}

/* =========================================
   HAUPTBEREICH
========================================= */

.register-main {
    width: min(1500px, calc(100% - 40px));

    margin: 0 auto;

    padding: 34px 0 60px;
}

.dashboard-section,
.register-section {
    margin-bottom: 32px;
}

.register-section {
    padding: 25px;

    border: 1px solid var(--border);
    border-radius: 18px;

    background:
        linear-gradient(
            160deg,
            rgba(23, 31, 43, 0.96),
            rgba(14, 20, 29, 0.96)
        );

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.24);
}

/* =========================================
   BEREICHSÜBERSCHRIFT
========================================= */

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    margin-bottom: 22px;
}

.section-heading h2 {
    margin-bottom: 5px;

    font-size: 22px;
}

.section-heading p {
    color: var(--text-soft);

    font-size: 13px;
}

/* =========================================
   BUTTONS
========================================= */

.primary-button,
.secondary-button,
.danger-button {
    min-height: 42px;

    padding: 0 16px;

    border-radius: 9px;

    cursor: pointer;

    font-size: 13px;
    font-weight: 650;

    transition:
        transform 0.18s ease,
        filter 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease;
}

.primary-button {
    border: 1px solid rgba(224, 201, 130, 0.26);

    background:
        linear-gradient(
            135deg,
            #9c7b3e,
            #c7a55a
        );

    color: #111318;
}

.primary-button:hover {
    transform: translateY(-1px);

    filter: brightness(1.06);
}

.secondary-button {
    border: 1px solid var(--border-strong);

    background: rgba(255, 255, 255, 0.04);

    color: var(--text);
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.08);
}

.danger-button {
    border: 1px solid rgba(211, 93, 93, 0.28);

    background: rgba(211, 93, 93, 0.08);

    color: #efaaaa;
}

.danger-button:hover {
    background: rgba(211, 93, 93, 0.14);
}

/* =========================================
   STATISTIK-KARTEN
========================================= */

.stats-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 16px;
}

.stat-card {
    position: relative;

    padding: 22px;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 15px;

    background:
        linear-gradient(
            160deg,
            rgba(24, 33, 45, 0.96),
            rgba(14, 21, 30, 0.96)
        );

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.2);
}

.stat-card::after {
    content: "";

    position: absolute;

    width: 75px;
    height: 75px;

    right: -28px;
    bottom: -30px;

    border-radius: 50%;

    background:
        rgba(199, 165, 90, 0.055);
}

.stat-label {
    display: block;

    margin-bottom: 10px;

    color: var(--text-soft);

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 0.8px;
}

.stat-card strong {
    display: block;

    margin-bottom: 4px;

    font-size: 30px;

    color: var(--gold-light);
}

.stat-description {
    color: #707a87;

    font-size: 12px;
}

/* =========================================
   FILTER / SUCHE
========================================= */

.filter-bar {
    display: grid;

    grid-template-columns:
        minmax(250px, 2fr)
        repeat(3, minmax(150px, 1fr));

    gap: 14px;

    margin-bottom: 22px;
}

.search-wrapper,
.filter-wrapper {
    display: flex;
    flex-direction: column;

    gap: 7px;
}

.search-wrapper label,
.filter-wrapper label {
    color: #d3d8df;

    font-size: 12px;
    font-weight: 600;
}

.search-wrapper input,
.filter-wrapper select,
.certificate-form input,
.certificate-form select,
.certificate-form textarea {
    width: 100%;

    border: 1px solid var(--border);
    border-radius: 9px;

    outline: none;

    background: rgba(7, 12, 18, 0.68);

    color: var(--text);

    font-family: inherit;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.search-wrapper input,
.filter-wrapper select,
.certificate-form input,
.certificate-form select {
    height: 44px;

    padding: 0 13px;
}

.certificate-form textarea {
    min-height: 105px;

    padding: 12px 13px;

    resize: vertical;
}

.search-wrapper input::placeholder,
.certificate-form input::placeholder,
.certificate-form textarea::placeholder {
    color: #697381;
}

.search-wrapper input:focus,
.filter-wrapper select:focus,
.certificate-form input:focus,
.certificate-form select:focus,
.certificate-form textarea:focus {
    border-color:
        rgba(199, 165, 90, 0.68);

    box-shadow:
        0 0 0 3px
        rgba(199, 165, 90, 0.08);

    background:
        rgba(10, 16, 23, 0.88);
}

/* =========================================
   TABELLE
========================================= */

.table-wrapper {
    width: 100%;

    overflow-x: auto;

    border: 1px solid var(--border);
    border-radius: 12px;
}

.certificate-table {
    width: 100%;

    min-width: 1050px;

    border-collapse: collapse;
}

.certificate-table thead {
    background: rgba(255, 255, 255, 0.035);
}

.certificate-table th {
    padding: 14px 15px;

    border-bottom: 1px solid var(--border);

    color: #b8c0ca;

    font-size: 11px;
    font-weight: 650;

    text-align: left;

    text-transform: uppercase;

    letter-spacing: 0.55px;
}

.certificate-table td {
    padding: 15px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.045);

    color: #dce1e7;

    font-size: 13px;

    vertical-align: middle;
}

.certificate-table tbody tr {
    transition:
        background 0.15s ease;
}

.certificate-table tbody tr:hover {
    background:
        rgba(255, 255, 255, 0.025);
}

.certificate-table tbody tr:last-child td {
    border-bottom: none;
}

.empty-table-row td {
    padding: 32px;

    text-align: center;

    color: #78828e;
}

/* =========================================
   STATUS BADGES
========================================= */

.status-badge {
    display: inline-flex;

    align-items: center;

    min-height: 27px;

    padding: 0 9px;

    border-radius: 999px;

    font-size: 11px;
    font-weight: 650;
}

.status-active {
    border:
        1px solid rgba(84, 179, 124, 0.25);

    background:
        rgba(84, 179, 124, 0.09);

    color: #8cd6aa;
}

.status-archived {
    border:
        1px solid rgba(174, 181, 190, 0.18);

    background:
        rgba(174, 181, 190, 0.07);

    color: #bfc6ce;
}

.status-cancelled {
    border:
        1px solid rgba(211, 93, 93, 0.24);

    background:
        rgba(211, 93, 93, 0.08);

    color: #eca0a0;
}

/* =========================================
   URKUNDENART
========================================= */

.certificate-type {
    display: inline-flex;

    min-height: 27px;

    align-items: center;

    padding: 0 9px;

    border-radius: 999px;

    border:
        1px solid rgba(199, 165, 90, 0.2);

    background:
        rgba(199, 165, 90, 0.07);

    color: var(--gold-light);

    font-size: 11px;
    font-weight: 650;
}

/* =========================================
   TABELLEN-AKTIONEN
========================================= */

.table-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;
}

.table-action-button {
    min-height: 30px;

    padding: 0 10px;

    border: 1px solid var(--border-strong);
    border-radius: 7px;

    cursor: pointer;

    background:
        rgba(255, 255, 255, 0.04);

    color: #d9dee4;

    font-size: 11px;

    transition:
        background 0.15s ease,
        border-color 0.15s ease;
}

.table-action-button:hover {
    background:
        rgba(255, 255, 255, 0.08);

    border-color:
        rgba(199, 165, 90, 0.35);
}

/* =========================================
   MODAL
========================================= */

.modal {
    display: none;

    position: fixed;

    inset: 0;

    z-index: 100;
}

.modal.open {
    display: flex;

    justify-content: center;
    align-items: center;

    padding: 25px;
}

.modal-backdrop {
    position: absolute;

    inset: 0;

    background:
        rgba(3, 7, 11, 0.76);

    backdrop-filter:
        blur(5px);
}

.modal-card {
    position: relative;

    z-index: 2;

    width: min(760px, 100%);

    max-height: 90vh;

    overflow-y: auto;

    padding: 26px;

    border:
        1px solid var(--border-strong);

    border-radius: 17px;

    background:
        linear-gradient(
            160deg,
            #19222f,
            #101720
        );

    box-shadow:
        0 30px 80px
        rgba(0, 0, 0, 0.55);
}

.modal-header {
    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 15px;

    margin-bottom: 24px;
}

.modal-header h2 {
    margin-bottom: 5px;

    font-size: 21px;
}

.modal-header p {
    color: var(--text-soft);

    font-size: 12px;
}

.modal-close {
    width: 36px;
    height: 36px;

    flex-shrink: 0;

    border: 1px solid var(--border);
    border-radius: 8px;

    cursor: pointer;

    background:
        rgba(255, 255, 255, 0.035);

    color: #cbd1d8;

    font-size: 21px;
}

.modal-close:hover {
    background:
        rgba(255, 255, 255, 0.075);
}

/* =========================================
   URKUNDEN-FORMULAR
========================================= */

.form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 17px;
}

.full-width {
    grid-column:
        1 / -1;
}

.modal-actions {
    display: flex;

    justify-content: flex-end;

    gap: 10px;

    margin-top: 24px;

    padding-top: 20px;

    border-top:
        1px solid var(--border);
}

/* =========================================
   RESPONSIVE HAUPTSEITE
========================================= */

@media (max-width: 1100px) {
    .stats-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .filter-bar {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .topbar {
        align-items: flex-start;

        flex-direction: column;

        padding: 15px 18px;
    }

    .topbar-right {
        width: 100%;
    }

    .current-user {
        width: 100%;

        margin-bottom: 4px;
    }

    .register-main {
        width:
            min(100% - 24px, 1500px);

        padding-top: 23px;
    }

    .section-heading {
        align-items: flex-start;

        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .filter-bar {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .full-width {
        grid-column: auto;
    }

    .modal-card {
        padding: 20px;
    }
}/* =========================================
   URKUNDEN-DETAILSEITE
========================================= */

.detail-header-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.certificate-details {
    display: block;
}

.detail-not-found {
    display: none;

    padding: 30px;

    border: 1px solid rgba(211, 93, 93, 0.22);
    border-radius: 12px;

    background: rgba(211, 93, 93, 0.06);

    color: #e7a0a0;

    text-align: center;
}

.detail-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;

    margin-bottom: 25px;
}

.detail-card {
    padding: 18px;

    border: 1px solid var(--border);
    border-radius: 12px;

    background:
        rgba(255, 255, 255, 0.025);
}

.detail-label {
    display: block;

    margin-bottom: 8px;

    color: var(--text-soft);

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 0.6px;
}

.detail-card strong {
    color: #edf0f4;

    font-size: 14px;
}

.detail-section {
    margin-top: 20px;

    padding: 20px;

    border: 1px solid var(--border);
    border-radius: 12px;

    background:
        rgba(255, 255, 255, 0.02);
}

.detail-section-header {
    margin-bottom: 14px;
}

.detail-section-header h3 {
    font-size: 15px;

    color: var(--gold-light);
}

.detail-notes {
    min-height: 80px;

    padding: 14px;

    border-radius: 9px;

    background:
        rgba(7, 12, 18, 0.65);

    color: #d4d9df;

    font-size: 13px;

    line-height: 1.6;

    white-space: pre-wrap;
}

.system-info-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}

.system-info-grid div {
    display: flex;
    flex-direction: column;

    gap: 6px;
}

.system-info-grid span {
    color: var(--text-soft);

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 0.5px;
}

.system-info-grid strong {
    color: #e4e8ed;

    font-size: 13px;
}

/* =========================================
   RESPONSIVE DETAILSEITE
========================================= */

@media (max-width: 1100px) {
    .detail-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .system-info-grid {
        grid-template-columns: 1fr;
    }
}/* =========================================
   ADMINBEREICH
========================================= */

.admin-stats-grid {
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
}

.admin-filter-bar {
    grid-template-columns:
        minmax(280px, 2fr)
        minmax(180px, 1fr)
        minmax(180px, 1fr);
}

/* =========================================
   ADMIN INFO
========================================= */

.admin-info-box {
    margin-top: 20px;

    padding: 13px 15px;

    border:
        1px solid rgba(199, 165, 90, 0.22);

    border-radius: 9px;

    background:
        rgba(199, 165, 90, 0.065);

    color: #d9c58f;

    font-size: 12px;

    line-height: 1.55;
}

/* =========================================
   USER STATUS
========================================= */

.user-role-badge {
    display: inline-flex;

    align-items: center;

    min-height: 27px;

    padding: 0 9px;

    border-radius: 999px;

    border:
        1px solid rgba(199, 165, 90, 0.18);

    background:
        rgba(199, 165, 90, 0.065);

    color: var(--gold-light);

    font-size: 11px;
    font-weight: 650;
}

.user-status {
    display: inline-flex;

    align-items: center;

    min-height: 27px;

    padding: 0 9px;

    border-radius: 999px;

    font-size: 11px;
    font-weight: 650;
}

.user-status-active {
    border:
        1px solid rgba(84, 179, 124, 0.25);

    background:
        rgba(84, 179, 124, 0.09);

    color: #8cd6aa;
}

.user-status-pending {
    border:
        1px solid rgba(219, 172, 80, 0.25);

    background:
        rgba(219, 172, 80, 0.08);

    color: #e5c87c;
}

.user-status-disabled {
    border:
        1px solid rgba(211, 93, 93, 0.24);

    background:
        rgba(211, 93, 93, 0.08);

    color: #eca0a0;
}

/* =========================================
   BERECHTIGUNGEN
========================================= */

.permissions-modal-card {
    width: min(920px, 100%);
}

.permissions-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;
}

.permission-group {
    padding: 17px;

    border: 1px solid var(--border);
    border-radius: 11px;

    background:
        rgba(255, 255, 255, 0.02);
}

.permission-group h3 {
    margin-bottom: 14px;

    padding-bottom: 10px;

    border-bottom:
        1px solid var(--border);

    color: var(--gold-light);

    font-size: 14px;
}

.permission-row {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 15px;

    min-height: 43px;

    padding: 7px 0;

    color: #d8dde3;

    font-size: 12px;

    cursor: pointer;
}

.permission-row + .permission-row {
    border-top:
        1px solid rgba(255, 255, 255, 0.04);
}

.permission-row input[type="checkbox"] {
    width: 18px;
    height: 18px;

    flex-shrink: 0;

    accent-color: #c7a55a;

    cursor: pointer;
}

/* =========================================
   ÄNDERUNGSVERLAUF
========================================= */

.activity-log {
    display: flex;

    flex-direction: column;

    gap: 9px;
}

.activity-item {
    display: flex;

    justify-content: space-between;
    align-items: flex-start;

    gap: 20px;

    padding: 14px 16px;

    border: 1px solid var(--border);
    border-radius: 9px;

    background:
        rgba(255, 255, 255, 0.02);
}

.activity-content {
    display: flex;

    flex-direction: column;

    gap: 4px;
}

.activity-content strong {
    color: #e0e5ea;

    font-size: 13px;
}

.activity-content span {
    color: var(--text-soft);

    font-size: 12px;
}

.activity-time {
    flex-shrink: 0;

    color: #6f7985;

    font-size: 11px;
}

.activity-empty {
    padding: 25px;

    border: 1px solid var(--border);
    border-radius: 9px;

    color: #737d89;

    text-align: center;

    font-size: 12px;
}

/* =========================================
   KLEINES MODAL
========================================= */

.small-modal-card {
    width: min(480px, 100%);
}

/* =========================================
   DEAKTIVIERTE FELDER
========================================= */

input:disabled,
select:disabled {
    cursor: not-allowed;

    opacity: 0.55;
}

/* =========================================
   ADMIN RESPONSIVE
========================================= */

@media (max-width: 1100px) {
    .admin-stats-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .admin-filter-bar {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .admin-filter-bar .search-wrapper {
        grid-column:
            1 / -1;
    }
}

@media (max-width: 720px) {
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }

    .admin-filter-bar {
        grid-template-columns: 1fr;
    }

    .admin-filter-bar .search-wrapper {
        grid-column: auto;
    }

    .permissions-grid {
        grid-template-columns: 1fr;
    }

    .activity-item {
        flex-direction: column;

        gap: 7px;
    }
}