@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

html {
    height: 100%;
    width: 100%;
    margin: 0;
    background: #050509;
}

body {
    position: static;
    transform: none;
    display: grid;
    grid-template-rows: auto 1fr auto; /* Header | Inhalt | Footer */
    width: 100%;
    min-height: 100vh;
    margin: 0;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    background-color: #050509;
    color: #f4f4f5;
    line-height: 1.6;
}

.layout {
    display: grid;
    grid-template-columns: 260px 1fr; /* Sidebar links, Content rechts */
    gap: 16px;
    padding: 16px 8px 16px 0;
    box-sizing: border-box;
}



.dark-header {
    background: linear-gradient(135deg, #0f1020, #181833);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #d5cbff;
    padding: 1.2rem 1.6rem 1rem;
    box-shadow: 0 6px 20px rgba(10, 10, 18, 0.6);
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 16px;
    row-gap: 0.25rem;
    align-items: center;
    min-height: 72px;
}

.dark-header__title {
    grid-column: 1 / span 2;
    grid-row: 1;
    justify-self: center;
    margin: 0;
    font-size: 1.8rem;
    letter-spacing: 0.02em;
}

.dark-header__actions {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
    justify-self: end;
}

.header-messages {
    grid-column: 1 / span 2;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: min(420px, 90vw);
    max-width: 100%;
    pointer-events: none;
    text-align: center;
    justify-self: center;
    padding-top: 0.25rem;
}

footer {
    color: #c7c7d6;
    padding: 0.5rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #101020;
}

.dashboard-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 1.5rem;
    width: 100%;
}

.dashboard-hero {
    background: linear-gradient(135deg, rgba(36, 40, 74, 0.8), rgba(33, 39, 65, 0.6));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(5, 5, 12, 0.45);
}

.dashboard-hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    color: #9aa6ff;
    margin-bottom: 0.5rem;
}

.dashboard-hero__subtitle {
    margin: 0.5rem 0 1.5rem;
    color: #dfe1ff;
}

.dashboard-hero__highlights {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.5rem;
    padding: 0;
    margin: 0;
    color: #cfd3ff;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.stat-card {
    background: rgba(20, 22, 38, 0.85);
    border-radius: 14px;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.stat-card__label {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: #9ea3c7;
}

.stat-card__value {
    display: block;
    font-size: 2rem;
    margin-top: 0.5rem;
    color: #ffffff;
}

.stat-card__detail {
    font-size: 0.85rem;
    color: #b4b7d9;
}

.dashboard-guilds {
    background: rgba(12, 12, 22, 0.9);
    border-radius: 18px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
}

.dashboard-guilds__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.guild-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.guild-card {
    background: rgba(17, 18, 30, 0.95);
    border-radius: 16px;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.guild-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.guild-card--inactive {
    border-color: rgba(255, 184, 77, 0.4);
}

.guild-card__header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.guild-card__identity {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.guild-card__icon,
.guild-card__placeholder {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #fff;
}

.guild-card__badges {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-success {
    background: rgba(72, 209, 151, 0.2);
    color: #48d197;
}

.badge-warning {
    background: rgba(255, 193, 79, 0.2);
    color: #ffc14f;
}

.badge-danger {
    background: rgba(255, 99, 132, 0.2);
    color: #ff6384;
}

.guild-card__row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #bfc2e1;
}

.guild-card__body {
    display: grid;
    gap: 0.5rem;
}

.guild-settings {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.guild-settings__controls {
    display: flex;
    gap: 0.5rem;
}

.guild-settings input,
.guild-settings select {
    flex: 1;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(8, 8, 20, 0.9);
    color: #f5f6ff;
    padding: 0.5rem 0.75rem;
}

.guild-settings select {
    appearance: none;
    min-height: 42px;
}

.guild-settings__hint {
    font-size: 0.8rem;
    color: #a5a8c7;
    margin: 0;
}

.guild-card__actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: #cfcfe1;
}

.guild-card__owner {
    font-size: 0.85rem;
    color: #a8acd1;
    margin: 0;
}

.dashboard-button {
    border: none;
    border-radius: 999px;
    padding: 0.45rem 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dashboard-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.dashboard-button--primary {
    background: linear-gradient(135deg, #5f5bff, #8f7bff);
    color: #fff;
}

.dashboard-button--secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.empty-state {
    margin: 1rem 0;
    text-align: center;
    color: #b9bddb;
}

@media (max-width: 768px) {
    .dashboard-layout {
        padding: 1rem;
    }
    .dashboard-hero__highlights {
        grid-template-columns: 1fr;
    }
    .guild-settings__controls {
        flex-direction: column;
    }
    .dashboard-button {
        width: 100%;
        justify-content: center;
    }
}


h1, h2 {
    text-align: center;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.container {
    width: 100%;
    height: 100%;
    text-align: center;
    border-radius: 10px;
    color: #e0e0e0;
}

/* Login */
/* Login-Seite spezifische Stile */
.login-container {
    max-width: 400px;
    margin: 5% auto;
    padding: 2rem;
    text-align: center;
    background-color: rgba(18, 18, 32, 0.92);
    border-radius: 18px;
    box-shadow: 0 24px 45px rgba(5, 5, 12, 0.5);
    color: #f4f4ff;
}

.login-container h2 {
    color: #d5cbff;
    margin-bottom: 1rem;
}

.login-container p {
    font-size: 1rem;
    color: #cccccc;
    margin-bottom: 2rem;
}

.login-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.login-options {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.login-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #cccccc;
}

.login-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #7289da;
}

.oauth-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    color: #ffffff;
    background-color: #7289da; /* Standard Discord-Farbe */
    border: none;
    border-radius: 6px;
    padding: 0.8rem 1rem;
    transition: background-color 0.2s, transform 0.2s;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.oauth-button img.button-icon {
    width: 24px;
    height: 24px;
}

.oauth-button:hover {
    background-color: #5a73be; /* Dunklere Version der Discord-Farbe */
    transform: scale(1.03);
}

.oauth-button:active {
    transform: scale(0.98);
}

/* Admin Area */
.admin-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

.admin-section {
    background: rgba(13, 13, 25, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 24px 45px rgba(5, 5, 12, 0.5);
    backdrop-filter: blur(12px);
}

.admin-section h2 {
    text-align: left;
    margin-bottom: 16px;
    color: #f5f5ff;
}
.admin-section-subtitle {
    margin: 4px 0 0;
    color: #a7a7c8;
    font-size: 0.95rem;
}

.admin-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.admin-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.admin-card {
    background-color: rgba(18, 18, 32, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 18px 36px rgba(5, 5, 12, 0.45);
}
.guild-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}
.guild-card {
    background: rgba(22, 22, 36, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 14px 28px rgba(5, 5, 12, 0.4);
}
.guild-card__header {
    display: flex;
    gap: 14px;
    align-items: center;
}
.guild-card__icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.08);
}
.guild-card__icon--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.4rem;
    color: #d5cbff;
}
.guild-card__title h3 {
    margin: 0;
    color: #f5f5ff;
}
.guild-card__meta {
    margin: 2px 0 0;
    color: #9a9ac6;
    font-size: 0.9rem;
}
.guild-card__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.guild-card__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}
.guild-card__stat {
    background: rgba(12, 12, 26, 0.9);
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.guild-card__stat span {
    font-size: 0.85rem;
    color: #a9a9cc;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.guild-card__stat strong {
    font-size: 1.1rem;
}
.guild-card__reason {
    font-size: 0.9rem;
    color: #e3b6c8;
    background: rgba(111, 12, 45, 0.18);
    border-radius: 12px;
    padding: 10px 12px;
}
.guild-card__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.status-item {
    background: rgba(22, 22, 36, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 12px 24px rgba(5, 5, 12, 0.4);
}

.status-label {
    display: block;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    color: #b9b9d9;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.status-value {
    font-size: 1rem;
    font-weight: 600;
    color: #f6f6ff;
    word-break: break-word;
}

.status-online {
    color: #4caf50;
}

.status-offline {
    color: #f44336;
}

.permission-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 6px;
}

.permission-entry {
    background: rgba(22, 22, 36, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 0.9rem;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 8px 12px;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 6px;
}

.checkbox-row {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    background: rgba(22, 22, 36, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 0.9rem;
    box-shadow: 0 10px 20px rgba(5, 5, 12, 0.35);
}

.checkbox-row input {
    margin-top: 4px;
}
.checkbox-row--inline {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.checkbox-row__content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.checkbox-row__value {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.checkbox-row__value-label {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #b9b9d9;
}

.permission-value-input {
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(12, 12, 24, 0.7);
    color: #f6f6ff;
    padding: 6px 10px;
}

.permission-value-input:disabled {
    opacity: 0.5;
}

.role-entry {
    background: rgba(22, 22, 36, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 14px 28px rgba(5, 5, 12, 0.42);
}

.role-entry-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
}

.role-entry-title {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.role-entry-title span {
    font-size: 0.85rem;
    color: #b9b9d9;
}

.role-entry-actions {
    display: flex;
    gap: 8px;
}

.role-permission-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.role-discord-info {
    background: rgba(67, 56, 202, 0.16);
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #c7c8ff;
    font-size: 0.9rem;
}

.role-discord-info__line {
    margin: 0;
}

.role-discord-fields select,
.role-discord-fields input {
    min-height: 44px;
}

.role-discord-toggle {
    margin-top: 4px;
}

.role-discord-toggle .checkbox-row {
    width: 100%;
    justify-content: flex-start;
}

.role-list-card > h3,
.role-form-card > h3 {
    margin: 0;
    color: #f5f5ff;
}

.role-form-card form {
    gap: 18px;
}

.role-header button {
    white-space: nowrap;
}

.button-primary,
.button-secondary,
.button-danger,
.button-tertiary {
    border: none;
    border-radius: 10px;
    padding: 10px 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button-primary {
    background: linear-gradient(135deg, #2d0a5f, #6c2bd9);
    color: #f8f7ff;
    box-shadow: 0 10px 20px rgba(108, 43, 217, 0.3);
}

.button-primary:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #381272, #7f4bfa);
    box-shadow: 0 12px 24px rgba(108, 43, 217, 0.4);
}

.button-secondary {
    background: #252534;
    color: #e2e2f5;
    border: 1px solid rgba(132, 132, 165, 0.3);
}

.button-secondary:hover {
    transform: translateY(-1px);
    background: #2f2f44;
}

.button-tertiary {
    background: transparent;
    color: #b5b5c9;
    border: 1px solid rgba(132, 132, 165, 0.3);
}

.button-tertiary:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.05);
}

.button-danger {
    background: linear-gradient(135deg, #6f0c2d, #b71c3b);
    color: #ffe6ee;
    box-shadow: 0 10px 18px rgba(183, 28, 59, 0.35);
}

.button-danger:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #891336, #d12f4a);
}
.button-warning {
    background: linear-gradient(135deg, #5f3c0a, #d6a42b);
    color: #fff5d6;
    box-shadow: 0 12px 24px rgba(214, 164, 43, 0.25);
}
.button-warning:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #7a4c0e, #f7c648);
}

.stacked-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-row label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #dcdcf5;
}

.form-row input,
.form-row textarea {
    background: rgba(18, 18, 32, 0.9);
    border: 1px solid rgba(132, 132, 165, 0.3);
    border-radius: 10px;
    color: #f4f4ff;
    padding: 10px 12px;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: #6c2bd9;
    box-shadow: 0 0 0 3px rgba(108, 43, 217, 0.25);
    background: rgba(24, 24, 40, 0.95);
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.form-actions-spaced {
    justify-content: flex-start;
    gap: 12px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(22, 22, 36, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
}

.admin-table th,
.admin-table td {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
    font-size: 0.95rem;
}

.admin-table tbody tr:hover {
    background: rgba(44, 44, 72, 0.6);
}

.admin-table tbody tr.active {
    background: rgba(92, 51, 255, 0.25);
    box-shadow: inset 0 0 0 1px rgba(124, 92, 255, 0.35);
}

.admin-table-container {
    width: 100%;
    overflow-x: auto;
}

.admin-search {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-search input[type="search"] {
    background: rgba(12, 12, 24, 0.9);
    border: 1px solid rgba(124, 92, 255, 0.35);
    border-radius: 12px;
    padding: 0.5rem 0.9rem;
    color: #f5f5ff;
    min-width: 220px;
}

.admin-search input[type="search"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.admin-pagination {
    margin-top: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    color: #a7a7c8;
    font-size: 0.85rem;
}

.admin-pagination__buttons {
    display: flex;
    gap: 10px;
}

.admin-pagination button {
    background: rgba(12, 12, 24, 0.9);
    border: 1px solid rgba(124, 92, 255, 0.35);
    color: #f5f5ff;
    border-radius: 10px;
    padding: 0.45rem 0.9rem;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.admin-pagination button:hover:not(:disabled) {
    background: rgba(124, 92, 255, 0.28);
    border-color: rgba(124, 92, 255, 0.5);
}

.admin-pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.role-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.role-actions-cell {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}
.role-link-list .admin-table,
.unban-table .admin-table {
    margin: 0;
}
.role-link-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.unban-status-wrapper {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}
.unban-status-wrapper select {
    background: rgba(18, 18, 32, 0.9);
    border: 1px solid rgba(132, 132, 165, 0.3);
    border-radius: 10px;
    color: #f4f4ff;
    padding: 8px 12px;
}
.unban-history {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.unban-history__entry {
    background: rgba(22, 22, 36, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 12px 24px rgba(5, 5, 12, 0.3);
}
.unban-history__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    gap: 12px;
}
.unban-history__status {
    font-weight: 600;
    color: #d5cbff;
}
.unban-history__reason {
    margin: 0;
    color: #e6e6ff;
    line-height: 1.5;
}

.unban-history__target {
    margin: 0 0 0.5rem;
    color: #c5c5f5;
    font-size: 0.95rem;
}

.stacked-form .form-static {
    margin: 0;
    font-weight: 600;
    color: #e6e6ff;
}

.user-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.08);
}

.user-avatar--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 92, 255, 0.25);
    color: #ececff;
    font-weight: 600;
    font-size: 1rem;
}

.user-cell__info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.user-cell__name {
    font-weight: 600;
}

.user-cell__meta {
    font-size: 0.85rem;
    color: #9a9ac6;
}

.user-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.user-detail-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-detail-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.1);
}

.user-detail-close {
    border: none;
    background: transparent;
    color: #d3d3f7;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease;
}

.user-detail-close:hover {
    color: #ffffff;
}

.empty-state {
    color: #a8a8c9;
    font-style: italic;
    margin: 4px 0;
}

.user-search input {
    min-width: 220px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(132, 132, 165, 0.3);
    background: rgba(18, 18, 32, 0.9);
    color: #f4f4ff;
}

.user-search input:focus {
    outline: none;
    border-color: #6c2bd9;
    box-shadow: 0 0 0 3px rgba(108, 43, 217, 0.25);
}

.user-meta {
    color: #bdbdbd;
    margin-bottom: 12px;
}

.user-table {
    width: 100%;
}

/* Menü-Stile */
.menu-container {
    position: static;
    padding: 0.8rem;
}

/* Container für Avatar und Menü-Button */
.menu-avatar-button {
    display: flex;
    align-items: center;
    max-width: 250px;
    max-height: 50px;
    font-size: 1rem;
    background: linear-gradient(135deg, #2d0a5f, #6c2bd9);
    color: #ffffff;
    padding: 0.3rem 0.4rem 0.3rem 0.3rem;
    border: none;
    border-radius: 14px;
    box-shadow: 0 14px 24px rgba(108, 43, 217, 0.35);
    cursor: pointer;
}

/* Profilbild-Stile */
.avatar-container {
    width: 45px;
    height: 45px;
    background: linear-gradient(45deg, #7289da, #99aab5); /* Discord-Farben */
    border-radius: 50%; /* Runde Form */
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    flex-shrink: 0; /* Verhindert Skalierung */
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Bild vollständig anzeigen */
}

/* Menü-Button */
.menu-avatar-button #menuButton {
    text-align: right;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #ffffff;
    background-color: transparent;
    border: none;
    cursor: pointer;
    min-width: 4rem;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out;
}

.menu-avatar-button:hover {
    background: linear-gradient(135deg, #381272, #7f4bfa);
}


/* Dropdown-Liste */
.dropdown {
    position: absolute;
    background-color: rgba(18, 18, 32, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(5, 5, 12, 0.45);
    display: flex;
    flex-direction: column;
    top: 0;
    right: 0;
    margin: 4rem 1.2rem 0 1.2rem;
    overflow: hidden;
    min-width: 220px;
    z-index: 200;
}

.dropdown a,
.dropdown .profile-menu-item {
    color: #e6e6ff;
    padding: 0.9rem 1.2rem;
    text-decoration: none;
    font-size: 1rem;
    transition: background 0.2s ease;
    display: block;
}

.dropdown .profile-menu-item {
    background: none;
    border: none;
    text-align: left;
    font-family: inherit;
    width: 100%;
    cursor: pointer;
}

.dropdown a:hover,
.dropdown .profile-menu-item:hover {
    background: rgba(124, 92, 255, 0.15);
}

.profile-menu-item--danger {
    color: #ff7b7b;
}

.profile-menu-item--danger:hover {
    background: rgba(255, 91, 91, 0.15);
    color: #ffb3b3;
}

.profile-menu-divider {
    margin: 0.25rem 0;
    border: none;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

/* Admin Bereich */
.admin-container {
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.admin-section {
    margin-bottom: 2rem;
    padding: 0;
    background: none;
    border-radius: 0;
    border: none;
}

.admin-section h3 {
    margin-bottom: 1rem;
    font-weight: 600;
    color: #f5f5ff;
}

.admin-form {
    display: grid;
    gap: 1rem;
}

.inline-form {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    align-items: end;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-row label {
    font-size: 0.95rem;
    color: #dcdcf5;
}

.form-row input,
.form-row textarea,
.form-row select {
    padding: 0.75rem 0.95rem;
    border-radius: 10px;
    border: 1px solid rgba(132, 132, 165, 0.3);
    background: rgba(18, 18, 32, 0.9);
    color: #f4f4ff;
    font-size: 0.95rem;
}

.form-row textarea {
    resize: vertical;
    min-height: 80px;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.form-actions button,
.role-actions button {
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.form-actions button:hover,
.role-actions button:hover {
    transform: translateY(-1px);
}

.secondary-button {
    background: transparent;
    border: 1px solid rgba(132, 132, 165, 0.3);
    color: #e2e2f5;
}

.secondary-button:hover {
    box-shadow: 0 6px 18px rgba(132, 132, 165, 0.2);
}

.role-list {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.role-card {
    background: rgba(12, 12, 12, 0.85);
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.role-meta {
    font-size: 0.85rem;
    color: #9e9e9e;
}

.role-description {
    font-size: 0.95rem;
    color: #dddddd;
}

.role-actions {
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
}

.empty-state {
    text-align: center;
    color: #b0b0b0;
    padding: 1rem;
}

.dropdown a:hover {
    background-color: #3700b3;
    color: #ffffff;
}

/* Linke Navigation */
.sidebar {
    background: rgba(15, 15, 28, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left-width: 0;
    border-top-right-radius: 24px;
    border-bottom-right-radius: 24px;
    padding: 18px;
    min-height: 0; /* verhindert Overflow in Grid */
    box-shadow: 0 18px 40px rgba(5, 5, 12, 0.45);
}
.sidebar h3 {
    margin: 0 0 16px 0;
    color: #dcdcf5;
    font-weight: 600;
    letter-spacing: 0.05em;
}
.sidebar nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.sidebar nav li {
    margin-bottom: 10px;
}
.sidebar nav a {
    display: block;
    padding: 12px 14px;
    color: #c9c9e5;
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.2s ease-in-out, transform 0.2s ease-in-out;
    background: rgba(255, 255, 255, 0.02);
}
.sidebar nav a:hover {
    background: linear-gradient(135deg, rgba(108, 43, 217, 0.25), rgba(51, 51, 95, 0.65));
    transform: translateY(-1px);
}

.sidebar nav a.active {
    background: linear-gradient(135deg, #2d0a5f, #6c2bd9);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(108, 43, 217, 0.4);
}

.modules {
    height: auto;
    width: 100%;
}

/* Verstecken des Dropdowns (standardmäßig ausgeblendet) */

table {
    width: 100%;
    border-collapse: collapse;
    background-color: rgba(22, 22, 36, 0.9);
    margin-top: 1.5rem;
    border-radius: 16px;
    overflow: hidden;
}

table th, table td {
    text-align: left;
    font-size: 1rem;
    padding: 0.9rem 1rem;
}

table th {
    background-color: rgba(44, 44, 72, 0.8);
    font-weight: 600;
    color: #f5f5ff;
}

/* Buttons and Interactive Elements */
.modern-button {
    background: linear-gradient(135deg, #2d0a5f, #6c2bd9);
    color: #ffffff;
    padding: 0.8rem 1.2rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 12px;
    transition: background 0.2s ease, transform 0.2s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    box-shadow: 0 12px 24px rgba(108, 43, 217, 0.35);
}

.modern-button:hover {
    background: linear-gradient(135deg, #381272, #7f4bfa);
    transform: translateY(-1px);
}

form button {
    border: none;
    cursor: pointer;
    border-radius: 10px;
    font-weight: 600;
    background: transparent;
    color: inherit;
    transition: transform 0.2s ease;
}

form button:hover {
    transform: translateY(-1px);
}

/* Index-specific Styles */
main {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    padding: 20px;
    height: calc(100vh - 100px); /* Berechnet Höhe minus Header/Footer */
    box-sizing: border-box;
    background-color: transparent;
    width: 100%;

}

main#mainElement {
    background: rgba(13, 13, 25, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 28px;
    padding: 24px;
    height: auto;
    min-height: calc(100vh - 220px); /* Platz für Header/Footer */
    box-sizing: border-box;
    align-items: initial;
    justify-content: initial;
    width: 100%;
    max-width: none;
}


form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

form input, form button {
    padding: 0.8rem 1rem;
    font-size: 1rem;
    border-radius: 10px;
}

/* Form-Gruppen für Labels und Inputs */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* Abstand zwischen Label und Input */
    margin-bottom: 1.5rem; /* Abstand zwischen den Feldern */
}

.form-group label {
    font-weight: bold;
    font-size: 1rem;
    color: #d5cbff;
}

.form-group input {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
    border-radius: 10px;
    border: 1px solid rgba(132, 132, 165, 0.3);
    background-color: rgba(18, 18, 32, 0.9);
    color: #f4f4ff;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.form-group input:focus {
    border-color: #6c2bd9;
    outline: none;
    box-shadow: 0 0 0 3px rgba(108, 43, 217, 0.25);
}

/* Zusätzliche Formatierungen wie Feldset */
fieldset.setup-step {
    margin-top: 2rem;
    padding: 1.5rem;
    border: 1px solid #444;
    border-radius: 8px;
    background-color: #202020;
}

fieldset.setup-step legend {
    font-weight: bold;
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    color: #ffffff;
    border: none;
    background-color: #1f1f1f;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Setup-specific Styles */
main#setupContent {
    max-width: 700px;
    margin: 30px auto;
    padding: 20px;
    background-color: #1e1e1e;
    color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

form#setupForm {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

/* Medienqueries, falls nötig */
@media (min-width: 768px) {
    .form-group {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }

    .form-group label {
        flex: 1;
        text-align: right;
        font-size: 1.1rem;
    }

    .form-group input {
        flex: 2;
    }
}

form#setupForm input,
form#setupForm select {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
    border: 1px solid rgba(132, 132, 165, 0.3);
    border-radius: 10px;
    background-color: rgba(18, 18, 32, 0.9);
    color: #f4f4ff;
    margin-bottom: 0.5rem;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

form#setupForm input:focus,
form#setupForm select:focus {
    border-color: #6c2bd9;
    box-shadow: 0 0 0 3px rgba(108, 43, 217, 0.25);
}

form#setupForm input::placeholder {
    color: #9d9db9;
}

form#setupForm button {
    display: block;
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1.1rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #2d0a5f, #6c2bd9);
    color: #f8f7ff;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

form#setupForm button:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #381272, #7f4bfa);
    box-shadow: 0 12px 24px rgba(108, 43, 217, 0.35);
}

/* Allgemeiner Stil für Buttons */
.button-format {
    padding: 0.8rem 1.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #ffffff;
    background: linear-gradient(135deg, #2d0a5f, #6c2bd9);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 12px 24px rgba(108, 43, 217, 0.35);
}

.button-format:hover {
    background: linear-gradient(135deg, #381272, #7f4bfa);
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(108, 43, 217, 0.45);
}

.button-format:focus {
    outline: 2px solid #6c2bd9;
    outline-offset: 2px;
}

.button-format:disabled {
    cursor: not-allowed;
    background-color: #444444;
    color: #a0a0a0;
}

.button-group {
    display: flex;
    justify-content: space-between; /* Gleichmäßiger Abstand zwischen den Buttons */
    gap: 10px;
}

.button-group button {
    flex: 1; /* Optional: Beide Buttons werden gleichermaßen verteilt */
    padding: 10px 15px; /* Angenehme Größe für die Buttons */
    font-size: 16px; /* Einheitlicher Textstil */
    cursor: pointer; /* Zeigt einen Klicker-Zeiger beim Hover an */
}

/* Profil-Modal und Dropdown */
.profile-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 5, 15, 0.78);
    backdrop-filter: blur(6px);
    padding: 2rem;
    z-index: 250;
}

.profile-modal__dialog {
    width: min(640px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    background: rgba(15, 15, 28, 0.95);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 32px 60px rgba(5, 5, 12, 0.55);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.profile-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.profile-modal__header h2 {
    margin: 0;
    text-align: left;
    font-size: 1.6rem;
}

.profile-modal__subtitle {
    margin: 0.25rem 0 0;
    color: #b8b8d6;
    font-size: 0.95rem;
}

.profile-modal__close {
    border: none;
    background: transparent;
    color: #d3d3f7;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease;
}

.profile-modal__close:hover {
    color: #ffffff;
}

.profile-modal__form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.profile-section h3 {
    margin: 0 0 0.75rem;
    text-align: left;
}

.profile-form-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.profile-form-row input,
.profile-form-row select,
.profile-form-row textarea {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(18, 18, 32, 0.9);
    color: #f4f4ff;
    font-size: 1rem;
}

.profile-form-row small {
    color: #9898c3;
}

.profile-checkbox-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.profile-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    background: rgba(124, 92, 255, 0.1);
    padding: 0.55rem 0.85rem;
    border-radius: 10px;
    border: 1px solid rgba(124, 92, 255, 0.2);
}

.profile-social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.profile-social-link-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 0.75rem;
    align-items: center;
}

.profile-social-link-row input {
    width: 100%;
}

.profile-social-remove {
    border: none;
    background: rgba(255, 91, 91, 0.12);
    color: #ff8a8a;
    border-radius: 10px;
    padding: 0.55rem 0.85rem;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
}

.profile-social-remove:hover {
    background: rgba(255, 91, 91, 0.2);
    color: #ffb3b3;
}

.profile-add-link {
    align-self: flex-start;
    padding: 0.55rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(124, 92, 255, 0.4);
    background: rgba(124, 92, 255, 0.2);
    color: #d8ccff;
    cursor: pointer;
}

.profile-add-link:hover {
    background: rgba(124, 92, 255, 0.3);
}

.profile-modal__actions {
    display: flex;
    justify-content: flex-end;
}

.profile-save-button {
    background: linear-gradient(135deg, #7c5cff, #5d33ff);
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-save-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(92, 51, 255, 0.35);
}

.profile-secondary-button {
    background: rgba(124, 92, 255, 0.18);
    border: 1px solid rgba(124, 92, 255, 0.4);
    color: #e3ddff;
    padding: 0.65rem 1.2rem;
    border-radius: 10px;
    cursor: pointer;
}

.profile-secondary-button:hover {
    background: rgba(124, 92, 255, 0.28);
}

.profile-danger {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
}

.profile-danger__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.profile-danger-button {
    align-self: flex-start;
    background: linear-gradient(135deg, #ff606c, #d53d4a);
    border: none;
    padding: 0.75rem 1.4rem;
    border-radius: 12px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-danger-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(213, 61, 74, 0.35);
}

.dark-header h1 {
    margin: 0;
    font-size: 1.6rem;
    flex: 1 1 auto;
}

.notification-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-button {
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f4f4ff;
    border-radius: 999px;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.notification-button:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.25);
}

.notification-icon {
    font-size: 1.2rem;
}

.notification-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ff6b6b;
    color: #fff;
    border-radius: 999px;
    padding: 0 6px;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.4;
}

.notification-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: min(320px, 90vw);
    background: rgba(18, 18, 32, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 24px 40px rgba(5, 5, 12, 0.5);
    padding: 0;
    z-index: 20;
}

.notification-dropdown__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.notification-dropdown__header h3 {
    margin: 0;
    font-size: 1rem;
    color: #f4f4ff;
}

.notification-dropdown__mark-all {
    background: none;
    border: none;
    color: #8e99ff;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 0.2rem 0.4rem;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.notification-dropdown__mark-all:hover {
    background: rgba(142, 153, 255, 0.15);
}

.notification-list {
    max-height: 360px;
    overflow-y: auto;
    padding: 0.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.notification-empty {
    padding: 1rem;
    text-align: center;
    color: #b9b9d9;
    font-size: 0.9rem;
}

.notification-item {
    padding: 0.75rem 1rem;
    margin: 0 0.5rem;
    border-radius: 10px;
    background: rgba(25, 25, 45, 0.9);
    border: 1px solid transparent;
    display: grid;
    gap: 0.5rem;
}

.notification-item--read {
    opacity: 0.8;
    border-color: rgba(255, 255, 255, 0.05);
}

.notification-item__content h4 {
    margin: 0 0 0.25rem;
    font-size: 0.95rem;
    color: #f4f4ff;
}

.notification-item__content p {
    margin: 0;
    font-size: 0.85rem;
    color: #d0d0e0;
}

.notification-item__meta {
    display: flex;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: #a5a5c5;
}

.notification-link {
    color: #8e99ff;
    text-decoration: none;
}

.notification-link:hover {
    text-decoration: underline;
}

.notification-item__actions {
    display: flex;
    gap: 0.5rem;
}

.notification-item__actions button {
    flex: 1 1 auto;
    background: rgba(255, 255, 255, 0.08);
    color: #f4f4ff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 0.35rem 0.5rem;
    cursor: pointer;
    font-size: 0.75rem;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.notification-item__actions button:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.2);
}

.dark-header #loadingIndicator,
.dark-header #infoMessage,
.dark-header #errorMessage {
    flex-basis: 100%;
    text-align: center;
}

.profile-deletion-status {
    margin: 0.75rem 0;
    padding: 0.75rem;
    border-radius: 12px;
    background: rgba(25, 25, 45, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #d0d0e0;
    font-size: 0.9rem;
}

.profile-deletion-status--pending {
    border-color: rgba(255, 105, 105, 0.45);
    background: rgba(68, 22, 22, 0.65);
    color: #ffd9d9;
}

.profile-deletion-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.profile-deletion-actions .profile-secondary-button {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #f4f4ff;
}

/* Utility Classes */

.loading-message,
.info-message,
.error-message {
    font-size: 0.95rem;
    text-align: center;
    font-weight: 600;
    margin: 0;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: rgba(12, 12, 24, 0.88);
    border: 1px solid rgba(124, 92, 255, 0.35);
    box-shadow: 0 8px 24px rgba(5, 5, 12, 0.35);
}

.info-message {
    color: #64ffe1;
}

.loading-message {
    color: #ffe27a;
}

.error-message {
    color: #ff6b6b;
}

input.error {
    border-color: red;
    background-color: #332222;
    margin-top: 8px;
}
.hidden {
    display: none !important;
}