/* Design tokens */
:root {
    --rad-color-primary: #ff8c00;
    --rad-color-primary-hover: #e67e00;
    --rad-color-bg: #fff9f2;
    --rad-color-surface: #ffffff;
    --rad-color-surface-muted: #f8f9fa;
    --rad-color-text: #3d3630;
    --rad-color-text-strong: #2c3e50;
    --rad-color-text-muted: #7d7d7d;
    --rad-color-border: #ececec;
    --rad-color-success: #198754;
    --rad-color-success-bg: #f0fff4;
    --rad-color-success-border: #c3e6cb;
    --rad-color-danger: #cc0000;
    --rad-color-danger-bg: #fff0f0;
    --rad-color-danger-border: #f5c6cb;
    --rad-color-info: #0d6efd;
    --rad-color-info-bg: #f0f6ff;
    --rad-color-info-border: #bfd7ff;
    --rad-radius-sm: 10px;
    --rad-radius-md: 14px;
    --rad-radius-lg: 24px;
    --rad-radius-pill: 999px;
    --rad-shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.04);
    --rad-shadow-md: 0 15px 35px rgba(0, 0, 0, 0.06);
    --rad-shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.1);
    --rad-space-1: 0.25rem;
    --rad-space-2: 0.5rem;
    --rad-space-3: 0.75rem;
    --rad-space-4: 1rem;
    --rad-space-5: 1.5rem;
    --rad-space-6: 2rem;
    --rad-transition-fast: 0.2s ease;
    --rad-transition-base: 0.3s ease;
    --rad-orange: var(--rad-color-primary);
    --rad-orange-dark: var(--rad-color-primary-hover);
    --rad-bg: var(--rad-color-bg);
    --rad-dark: var(--rad-color-text);
}

/* Grundlayout */
html, body { height: 100%; overflow-x: hidden; }
body { background-color: var(--rad-bg); font-family: 'Segoe UI', sans-serif; display: flex; flex-direction: column; color: var(--rad-dark); overflow-x: hidden; }
.content-wrapper { flex: 1 0 auto; display: flex; flex-direction: column; overflow-x: hidden; }
.main-content { flex: 1; padding: 20px 0 50px 0; overflow-x: hidden; }
main { overflow-x: hidden; }

.text-orange { color: var(--rad-orange) !important; }
.bg-orange { background-color: var(--rad-orange) !important; }
.uppercase { text-transform: uppercase; }
.is-hidden { display: none !important; }
.is-invisible { visibility: hidden !important; }
.is-zero { width: 0; }

/* Navigation */
.navbar { background: #ffffff !important; box-shadow: 0 2px 10px rgba(0,0,0,0.05); padding: 12px 0; }
.navbar-brand { color: var(--rad-orange) !important; font-weight: 800; font-size: 1.4rem; }
.nav-link-custom { color: #555; text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 500; transition: 0.2s; }
.nav-link-custom:hover { color: var(--rad-orange); background: rgba(255, 140, 0, 0.05); }
.nav-icon-orange { color: var(--rad-orange) !important; }

/* Dropdowns */
.dropdown-menu { border: none; box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important; border-radius: 15px; padding: 10px; }
.dropdown-item { font-size: 0.9rem; color: #555; padding: 8px 15px; border-radius: 8px; transition: 0.2s; }
.dropdown-item:hover { background-color: var(--rad-bg); color: var(--rad-orange); }

/* Banner */
.admin-banner { font-size: 0.85rem; z-index: 1060; position: relative; }

/* Gemeinsame Pagination Styles */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 30px 0;
}

.page-link-custom {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px; /* Einheitlicher Radius */
    background: #ffffff;
    border: 1px solid #eee;
    color: #666;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.page-link-custom:hover {
    border-color: var(--rad-orange);
    color: var(--rad-orange);
    transform: translateY(-2px);
    background: #fffcf9;
}

.page-link-custom.active {
    background: var(--rad-orange);
    color: white;
    border-color: var(--rad-orange);
    box-shadow: 0 4px 10px rgba(255, 126, 0, 0.2);
}

.page-link-custom.disabled {
    opacity: 0.3;
    pointer-events: none;
    background: #f9f9f9;
}

/* Komponenten */
.rad-card {
    background: var(--rad-color-surface);
    border: 1px solid var(--rad-color-border);
    border-radius: var(--rad-radius-lg);
    box-shadow: var(--rad-shadow-sm);
}

.rad-card-auth {
    width: 100%;
    max-width: 420px;
    padding: 40px;
    box-shadow: var(--rad-shadow-md);
}

.rad-card-auth.rad-card-auth-wide {
    max-width: 500px;
}

.rad-auth-shell {
    flex: 1;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.rad-auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.rad-auth-title {
    color: var(--rad-color-text-strong);
    margin-bottom: 0.5rem;
}

.rad-auth-subtitle {
    color: var(--rad-color-text-muted);
    font-size: 0.875rem;
}

.rad-auth-logo {
    max-width: 180px;
    margin-bottom: 1.5rem;
}

.rad-form-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #999;
    font-weight: 700;
    letter-spacing: 0.8px;
    margin-bottom: 0.5rem;
}

.rad-auth-card .form-control,
.rad-auth-card .form-select,
.rad-input-standalone {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 12px;
    min-height: 48px;
    box-shadow: none;
}

.rad-auth-card .form-control:focus,
.rad-auth-card .form-select:focus,
.rad-input-standalone:focus {
    background-color: #fff;
    border-color: var(--rad-orange);
    box-shadow: 0 0 0 3px rgba(255, 126, 0, 0.1);
    outline: none;
}

.rad-auth-card .input-group-text {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-right: none;
    border-radius: 12px 0 0 12px;
    color: var(--rad-color-text-muted);
}

.rad-auth-card .input-group .form-control,
.rad-auth-card .input-group .form-select {
    border-left: none;
    border-radius: 0 12px 12px 0;
}

.rad-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    border: none;
    border-radius: 12px;
    padding: 14px 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all var(--rad-transition-base);
}

.rad-btn,
.rad-btn:visited,
.rad-btn:focus {
    text-decoration: none;
}

.rad-btn:hover {
    transform: translateY(-3px);
}

.rad-btn-primary {
    background-color: var(--rad-orange);
    color: #fff;
    box-shadow: 0 10px 20px rgba(255, 140, 0, 0.16);
}

.rad-btn-primary:hover {
    background-color: var(--rad-orange-dark);
    color: #fff;
    box-shadow: 0 12px 24px rgba(255, 140, 0, 0.22);
}

.rad-btn-outline {
    background: transparent;
    border: 1px solid var(--rad-color-border);
    color: var(--rad-color-text);
}

.rad-btn-outline:hover {
    border-color: var(--rad-orange);
    color: var(--rad-orange);
    background: #fffaf5;
}

.button-row-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

@media (max-width: 576px) {
    .button-row-container .rad-btn {
        width: 100%;
    }
}

.rad-btn-block {
    width: 100%;
}

.rad-btn-sm {
    min-height: 38px;
    padding: 0.5rem 0.95rem;
    font-size: 0.92rem;
    border-radius: 12px;
}

.rad-link-back,
.rad-link-inline {
    color: var(--rad-orange);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--rad-transition-fast), text-decoration var(--rad-transition-fast);
}

.rad-link-back {
    font-size: 0.75rem;
}

.rad-link-inline:hover,
.rad-link-back:hover {
    color: var(--rad-orange-dark);
    text-decoration: underline;
}

.rad-alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 0.9rem 1rem;
    font-size: 0.875rem;
}

.rad-alert-copy {
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.6;
}

.rad-alert.is-success {
    border-color: var(--rad-color-success-border);
    background-color: var(--rad-color-success-bg);
    color: #155724;
}

.rad-alert.is-danger {
    border-color: var(--rad-color-danger-border);
    background-color: var(--rad-color-danger-bg);
    color: var(--rad-color-danger);
}

.rad-alert.is-info {
    border-color: var(--rad-color-info-border);
    background-color: var(--rad-color-info-bg);
    color: #084298;
}

.rad-pill-note {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: var(--rad-radius-pill);
    font-weight: 700;
    font-size: 0.875rem;
    background: #e7f1ff;
    color: var(--rad-color-info);
}

.rad-admin-tabs {
    display: inline-flex;
    gap: 0.25rem;
    padding: 0.5rem;
    background: var(--rad-color-surface);
    border: 1px solid var(--rad-color-border);
    border-radius: 18px;
    box-shadow: var(--rad-shadow-sm);
}

.rad-admin-tabs .nav-link {
    color: var(--rad-color-text-muted);
    font-weight: 700;
    padding: 0.65rem 1.25rem;
    border-radius: var(--rad-radius-pill);
    transition: all var(--rad-transition-fast);
}

.rad-admin-tabs .nav-link:hover {
    background: #f8f9fa;
    color: var(--rad-color-text);
}

.rad-admin-tabs .nav-link.active {
    background: var(--rad-color-info);
    color: #fff;
}

.rad-filter-card,
.rad-table-card {
    background: var(--rad-color-surface);
    border: 1px solid var(--rad-color-border);
    border-radius: var(--rad-radius-lg);
    box-shadow: var(--rad-shadow-sm);
    max-width: 100%;
}

.rad-table-card .table-responsive {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.rad-table-card .card-header {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}

.rad-table-card .card-header .rad-btn-sm {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
}

.rad-filter-card {
    padding: 1rem;
}

.rad-filter-card .rad-search-field {
    margin-bottom: 0 !important;
}

.rad-search-field {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 45px;
    padding: 0.65rem 1rem;
    background: #ffffff;
    border: 1px solid #e5ddd3;
    border-radius: var(--rad-radius-pill);
    box-shadow: 0 4px 12px rgba(61, 54, 48, 0.03);
}

.rad-search-input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.9rem;
    color: var(--rad-color-text);
}

.rad-filter-select {
    min-height: 45px;
    border: 1px solid var(--rad-color-border);
    border-radius: var(--rad-radius-pill);
    padding-left: 1rem;
    padding-right: 1rem;
    background: var(--rad-color-surface-muted);
    font-weight: 700;
    color: var(--rad-color-text-muted);
    box-shadow: none;
}

.rad-filter-select:focus {
    border-color: var(--rad-orange);
    box-shadow: 0 0 0 3px rgba(255, 126, 0, 0.1);
}

.rad-table-card .table {
    margin-bottom: 0;
}

.rad-table-card thead th {
    background: var(--rad-color-surface-muted);
    color: var(--rad-color-text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--rad-color-border);
}

.rad-table-meta {
    font-size: 0.7rem;
    color: var(--rad-color-text-muted);
}

.rad-table-subtext {
    font-size: 0.65rem;
    color: var(--rad-color-text-muted);
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rad-table-subtext.is-wide {
    max-width: 200px;
}

.rad-table-subtext.is-xwide {
    max-width: 400px;
}

.rad-table-link {
    max-width: 350px;
}

.rad-table-link.is-xxwide {
    max-width: 550px;
}

.rad-badge-soft {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.26rem 0.72rem;
    border: 1px solid var(--rad-color-border);
    border-radius: var(--rad-radius-pill);
    background: var(--rad-color-surface-muted);
    color: var(--rad-color-text);
    font-size: 0.82rem;
    font-weight: 600;
}

.rad-badge-soft.is-success {
    background: var(--rad-color-success-bg);
    border-color: var(--rad-color-success-border);
    color: #155724;
}

.rad-badge-soft.is-warning {
    background: #fff8e6;
    border-color: #ffe0a3;
    color: #9a6700;
}

.rad-badge-soft.is-danger {
    background: var(--rad-color-danger-bg);
    border-color: var(--rad-color-danger-border);
    color: var(--rad-color-danger);
}

.rad-badge-soft.is-primary {
    background: var(--rad-color-info-bg);
    border-color: var(--rad-color-info-border);
    color: var(--rad-color-info);
}

.rad-badge-soft.is-muted {
    background: #f1f3f5;
    border-color: #dee2e6;
    color: #6c757d;
}

.rad-badge-soft.is-compact {
    font-size: 0.66rem;
    padding: 0.16rem 0.48rem;
}

.rad-badge-soft.is-user-table {
    font-size: 0.72rem;
    padding: 0.18rem 0.58rem;
}

.rad-badge-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
}

.rad-slot-badge {
    width: fit-content;
    margin: 0 auto;
    font-size: 0.66rem;
}

.rad-status-deadline {
    color: var(--rad-color-danger);
}

.rad-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 38px;
    padding: 0.45rem 0.9rem;
    border: 1px solid var(--rad-color-border);
    border-radius: var(--rad-radius-pill);
    background: var(--rad-color-surface);
    color: var(--rad-color-text);
    text-decoration: none;
    box-shadow: var(--rad-shadow-sm);
    transition: all var(--rad-transition-fast);
}

.rad-action-btn:hover {
    transform: translateY(-2px);
    background: #f8f9fa;
    color: var(--rad-color-text);
    box-shadow: var(--rad-shadow-md);
}

.rad-modal-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--rad-color-info);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.rad-modal-panel {
    padding: 1rem;
    border: 1px solid var(--rad-color-border);
    border-radius: var(--rad-radius-md);
    background: var(--rad-color-surface-muted);
}

.rad-modal-scrollbox {
    max-height: 300px;
    overflow-y: auto;
    font-size: 0.9rem;
}

.rad-modal-scrollbox.is-prewrap {
    white-space: pre-wrap;
}

.rad-modal-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-bottom: 0.65rem;
    margin-bottom: 0.65rem;
    border-bottom: 1px solid var(--rad-color-border);
}

.rad-modal-meta-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.rad-modal-meta-row.is-top {
    align-items: flex-start;
}

.rad-modal-meta-value-limit {
    max-width: 75%;
}

.rad-modal-meta-value-limit-sm {
    max-width: 70%;
}

.rad-modal-meta-value-break {
    word-break: break-all;
}

.rad-rank-badge {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rad-modal-form .form-control,
.rad-modal-form .form-select {
    background-color: var(--rad-color-surface-muted);
    border: 1px solid transparent;
    border-radius: 0.9rem;
    box-shadow: none;
}

.rad-modal-form .form-control:focus,
.rad-modal-form .form-select:focus {
    background-color: #fff;
    border-color: var(--rad-orange);
    box-shadow: 0 0 0 3px rgba(255, 126, 0, 0.1);
}

.rad-modal-form .ts-control {
    border: 1px solid transparent !important;
    background: var(--rad-color-surface-muted) !important;
    border-radius: 0.9rem !important;
    padding: 0.5rem 0.75rem !important;
    box-shadow: none !important;
}

.rad-modal-form .ts-control.focus,
.rad-modal-form .ts-wrapper.focus .ts-control {
    border-color: var(--rad-orange) !important;
    box-shadow: 0 0 0 3px rgba(255, 126, 0, 0.1) !important;
}

.rad-modal-form .ts-control .item {
    background-color: var(--rad-orange) !important;
    color: #fff !important;
    border-radius: 999px !important;
    padding: 1px 10px !important;
    border: none !important;
}

.rad-filter-select-container .ts-control {
    min-height: 46px;
    border-radius: var(--rad-radius-pill) !important;
    padding-left: 15px !important;
}

.rad-filter-select-container .ts-wrapper {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    padding: 0 !important;
}

.rad-filter-select-container .ts-wrapper.single .ts-control {
    background-color: var(--rad-color-surface-muted) !important;
    border: 1px solid var(--rad-color-border) !important;
    box-shadow: none !important;
}

.rad-modal-section-title {
    color: var(--rad-orange);
}

.rad-soft-panel {
    background: var(--rad-color-surface-muted);
    border: 1px solid var(--rad-color-border);
    border-radius: 1rem;
    padding: 1rem;
}

.rad-switch-card {
    padding: 0.75rem;
    border: 1px solid var(--rad-color-border);
    border-radius: 1rem;
    background: var(--rad-color-surface-muted);
}

.rad-btn-danger-outline {
    background: transparent;
    border: 1px solid rgba(204, 0, 0, 0.2);
    color: var(--rad-color-danger);
}

.rad-btn-danger-outline:hover {
    background: var(--rad-color-danger-bg);
    border-color: var(--rad-color-danger);
    color: var(--rad-color-danger);
}

.rad-kpi-card {
    display: block;
    height: 100%;
    padding: 1rem;
    border: 1px solid var(--rad-color-border);
    border-radius: var(--rad-radius-lg);
    background: var(--rad-color-surface);
    color: var(--rad-color-text);
    text-decoration: none;
    box-shadow: var(--rad-shadow-sm);
    transition: all var(--rad-transition-base);
}

.rad-kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--rad-shadow-md);
    color: var(--rad-color-text);
}

.rad-kpi-card.is-active {
    border-color: var(--rad-color-info);
    background: #f5f9ff;
}

.rad-kpi-card.is-accent {
    background: var(--rad-orange);
    border-color: var(--rad-orange);
    color: #fff;
}

.rad-kpi-card.is-warning {
    border-left: 4px solid #ffc107;
}

.rad-kpi-card.is-danger {
    border-left: 4px solid #dc3545;
}

.admin-slots-kpi-icon {
    width: 40px;
    height: 40px;
}

.admin-slots-col-load {
    width: 40%;
}

.admin-slots-progress {
    height: 8px;
    border-radius: 10px;
    background-color: #f0f0f0;
}

.admin-slots-usage-badge {
    min-width: 65px;
}

.rad-kpi-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rad-kpi-label-xs {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.6rem;
    letter-spacing: 1px;
}

.rad-line-tight {
    line-height: 1;
}

.rad-progress-thin {
    height: 4px;
    border-radius: 10px;
    background: #eee;
}

.admin-tile-link {
    text-decoration: none !important;
}

.admin-tile {
    transition: all var(--rad-transition-base);
    border: 1px solid #f1f1f1 !important;
}

.admin-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
    border-color: var(--rad-orange) !important;
}

.admin-tile:hover .icon-circle {
    background: var(--rad-orange);
}

.admin-tile:hover .icon-circle i {
    color: #fff;
}

.icon-circle-sm {
    width: 40px;
    height: 40px;
    background: #fffcf9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rad-orange);
    border: 1px solid #eee;
}

.icon-circle {
    width: 50px;
    height: 50px;
    background: #fffcf9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--rad-transition-base);
    border: 1px solid #eee;
}

.icon-circle i {
    font-size: 1.5rem;
    color: var(--rad-orange);
}

.admin-module-desc {
    font-size: 0.75rem;
}

.admin-dashboard-group-title {
    letter-spacing: 1px;
}

.admin-dashboard-security-icon {
    font-size: 1.5rem;
}

.rad-trend-indicator {
    font-size: 0.85rem;
}

.landing-modal-logo {
    max-height: 80px;
}

.trial-kpi-pill {
    font-size: 0.6rem;
}

.trial-kpi-header-col {
    min-width: 160px;
}

.trial-kpi-key {
    font-size: 0.55rem;
}

.trial-kpi-value {
    font-size: 1.15rem;
}

.trial-kpi-metric-label {
    font-size: 0.85rem;
}

.trial-kpi-cell-value {
    font-size: 0.95rem;
}

.trial-kpi-trend {
    font-size: 0.65rem;
}

.admin-table-col-rank {
    width: 80px;
}

.admin-table-col-tag {
    width: 120px;
}

.admin-table-col-status {
    width: 180px;
}

.admin-preview-shell {
    min-height: 400px;
    max-height: 70vh;
}

.admin-preview-frame {
    max-width: 600px;
}

.admin-sitemap-card-header {
    background: var(--rad-orange);
    color: #fff;
}

.admin-sitemap-preview {
    background: #1f1f1f;
}

.admin-label-xs {
    font-size: 0.65rem;
}

.admin-label-sm {
    font-size: 0.7rem;
}

.admin-note-sm {
    font-size: 0.85rem;
}

.admin-flag-icon {
    width: 16px;
    height: 12px;
    border-radius: 2px;
}

.admin-status-help {
    font-size: 0.7rem;
    cursor: help;
}

.admin-inline-alert {
    font-size: 0.85rem;
}

.italic {
    font-style: italic;
}

.x-small {
    font-size: 0.75rem;
}

.cursor-pointer {
    cursor: pointer;
}

.ts-wrapper.disabled {
    opacity: 0.6;
    pointer-events: none;
}

.active-tpl {
    border-left: 4px solid var(--rad-orange) !important;
    background-color: #fffcf9 !important;
}

.active-tpl .filename-text {
    color: var(--rad-orange);
}

.active-log {
    border-left: 4px solid var(--rad-orange) !important;
    background-color: #fffcf9 !important;
}

.active-log .filename-text {
    color: var(--rad-orange);
}

.editor-area {
    background: var(--rad-color-surface-muted);
    font-family: "Cascadia Code", "Fira Code", "Consolas", monospace;
    font-size: 14px;
    height: 700px;
    border: none;
    padding: 25px;
    resize: vertical;
}

.editor-area:focus {
    box-shadow: none;
    background: #fff;
}

.rad-scroll-list {
    max-height: 700px;
    overflow-y: auto;
}

.rad-file-meta {
    font-size: 0.7rem;
}

.rad-file-name {
    font-size: 0.85rem;
}

.rad-pager-badge {
    min-width: 80px;
}

.rad-log-viewer {
    background: #0d0d0d;
    color: #00ff41 !important;
    font-family: monospace;
    font-size: 12px;
    height: 720px;
    overflow-y: auto;
    white-space: pre-wrap;
    padding: 20px;
}

.rad-log-viewer.is-textarea {
    border: none;
    resize: none;
    line-height: 1.6;
    width: 100%;
    font-family: "Cascadia Code", "Courier New", monospace;
    font-size: 13px;
    padding: 25px;
}

.rad-var-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.65rem;
    border: 1px solid var(--rad-color-border);
    border-radius: var(--rad-radius-pill);
    background: var(--rad-color-surface-muted);
    color: var(--rad-color-text);
    font-size: 0.8rem;
    font-weight: 600;
}

.rad-var-chip:hover {
    background-color: #e2e3e5 !important;
    border-color: #adb5bd !important;
    color: #000 !important;
}

.rad-chart-frame {
    height: 350px;
}

.rad-chart-frame.is-tall {
    height: 720px;
}

.rad-meta-note {
    font-size: 0.7rem;
}

.bg-refund-row {
    background-color: rgba(220, 53, 69, 0.05) !important;
}

.rad-switch-card.is-info {
    border-color: var(--rad-color-info-border);
}

.rad-switch-card.is-danger {
    border-color: var(--rad-color-danger-border);
}

.rad-switch-label.is-info {
    color: var(--rad-color-info);
}

.rad-switch-label.is-danger {
    color: var(--rad-color-danger);
}

.rad-alert-compact {
    border-radius: 1rem;
    border: 0;
    box-shadow: var(--rad-shadow-sm);
}

.shadow-hover {
    transition: all var(--rad-transition-base);
    cursor: pointer;
}

.shadow-hover:hover {
    transform: translateY(-3px);
}

.border-orange-active {
    border: 2px solid var(--rad-orange) !important;
}

.bg-critical-row {
    background-color: rgba(0, 0, 0, 0.05) !important;
}

.bg-danger-row {
    background-color: rgba(220, 53, 69, 0.05) !important;
}

.bg-warning-row {
    background-color: rgba(255, 193, 7, 0.03) !important;
}

.rad-log-date {
    font-size: 0.7rem;
}

.rad-log-status {
    font-size: 0.65rem;
}

.rad-badge-soft.is-dark {
    color: #fff;
    background: #212529;
    border-color: #212529;
}

.admin-logs-kpi-label {
    font-size: 0.65rem;
}

.admin-logs-user {
    max-width: 180px;
}

.admin-logs-globe {
    font-size: 12px;
}

.rad-flag-icon {
    border-radius: 2px;
    width: 16px;
    height: 12px;
}

.rad-ip-code {
    font-size: 0.75rem;
}

.text-xsmall {
    font-size: 0.7rem;
}

.rad-subtle-border-primary {
    border-color: #cfe2ff !important;
}

.rad-subtle-border-danger {
    border-color: #f8d7da !important;
}

.rad-table-compact-text,
.rad-table-compact-text .table td,
.rad-table-compact-text .table th,
.rad-table-compact-text .table span {
    font-size: 0.95rem !important;
    font-weight: normal !important;
    text-transform: none !important;
}

.rad-table-compact-text tfoot td {
    padding: 15px 10px !important;
}

.rad-count-badge {
    min-width: 40px;
    display: inline-block;
}

.form-card {
    background: #fff;
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.account-info-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.btn-save {
    background: var(--rad-orange);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 1rem 2rem;
    font-weight: 700;
    transition: 0.3s;
    cursor: pointer;
    width: 100%;
}

.btn-save:hover {
    background: var(--rad-orange-dark);
    transform: translateY(-2px);
    color: #fff;
}

.account-row {
    margin-bottom: 1.5rem;
}

.account-row:last-child {
    margin-bottom: 0;
}

.slot-card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    padding: 20px;
    height: 100%;
    min-height: 470px;
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    background: #fff;
    position: relative;
}

.slot-active {
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
}

.slot-active:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border-color: var(--rad-orange);
}

.slot-frei {
    background: rgba(0,0,0,0.01);
    border: 2px dashed rgba(0,0,0,0.06);
    justify-content: center;
    align-items: center;
    min-height: 470px;
}

.slot-frei-body {
    position: absolute;
    inset: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slot-frei:hover {
    border: 2px dashed var(--rad-orange);
    background: rgba(255, 126, 0, 0.02);
    transform: translateY(-5px);
}

.dashboard-slot-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem 1.25rem;
    align-items: start;
    min-width: 0;
}

.dashboard-slot-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.85rem;
}

.dashboard-slot-item {
    min-width: 0;
    padding-bottom: 0.15rem;
}

.dashboard-slot-item .info-label-compact {
    display: block;
    margin-bottom: 0.3rem;
}

.dashboard-slot-item .info-value-compact {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: default;
}

.dashboard-slot-value:focus {
    outline: none;
}

.hover-expand-bubble {
    position: absolute;
    z-index: 1200;
    max-width: min(420px, calc(100vw - 24px));
    padding: 0.7rem 0.9rem;
    color: var(--rad-color-text);
    background: #fff;
    border: 1px solid var(--rad-orange);
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.45;
    pointer-events: none;
    white-space: normal;
    word-break: break-word;
}

.info-container-compact {
    background: var(--rad-color-surface);
    border: 1px solid var(--rad-color-border);
    border-radius: var(--rad-radius-lg);
    box-shadow: var(--rad-shadow-sm);
    padding: 1.25rem 1.5rem;
    margin: 0 0 2rem;
}

.info-grid-compact {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: 1rem 1.5rem;
    align-items: start;
    margin: 0;
}

.info-item-compact {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    min-width: 0;
}

.info-item-compact > i {
    width: 1rem;
    flex: 0 0 1rem;
    margin-top: 0.15rem;
    color: var(--rad-orange);
    text-align: center;
}

.info-text-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.info-toggler {
    display: none;
}

.info-label-compact {
    font-size: 0.55rem;
    text-transform: uppercase;
    color: #ccc;
    letter-spacing: 0.5px;
    line-height: 1;
    font-weight: 700;
}

.info-value-compact {
    font-weight: 700;
    color: #444;
    font-size: 0.82rem;
    display: block;
    width: 100%;
    line-height: 1.35;
    word-break: break-word;
}

.info-grid-compact .info-value-compact {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.info-slot-column-items {
    grid-column: 4;
    grid-row: 1 / span 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    align-self: end;
    min-width: 6rem;
}

.slot-text {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--rad-color-text-strong);
    white-space: nowrap;
}

.val-missing {
    color: #ccc !important;
    font-weight: 400 !important;
    font-style: italic;
    font-size: 0.75rem !important;
}

.info-value-compact.is-resolved {
    font-style: normal;
    opacity: 1;
}

.fokus-style {
    font-style: italic;
}

.progress-container {
    margin-top: 0;
    padding-top: 8px;
    margin-bottom: 8px;
}

.progress-label-mini {
    font-size: 0.55rem;
    color: #bbb;
    text-transform: uppercase;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    margin-bottom: 3px;
}

.progress-container .progress {
    height: 8px;
    overflow: hidden;
    border-radius: 10px;
    background: #f2f2f2;
}

.progress-container .progress-bar {
    background-color: var(--rad-orange) !important;
    transition: width 0.5s ease;
}

.time-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.65rem;
    color: #aaa;
    font-weight: 600;
    padding-top: 10px;
    border-top: 1px solid #f9f9f9;
    margin-top: 16px;
}

.time-footer-free {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    width: auto;
}

.quick-search-results {
    background: #fff;
    border: 1px solid #ece1d4;
    border-radius: 20px;
    padding: 15px 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 24px rgba(61, 54, 48, 0.04);
}

.dashboard-search-heading {
    color: var(--rad-orange);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dashboard-search-name {
    font-size: 0.75rem;
}

.dashboard-search-slot {
    font-size: 0.65rem;
    font-weight: 700;
    white-space: nowrap;
}

.search-badge {
    background: #fcfcfc;
    border: 1px solid #eee;
    padding: 8px 12px;
    border-radius: 12px;
    text-decoration: none !important;
    color: #333;
    transition: all 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-badge:hover {
    border-color: var(--rad-orange);
    background: #fffaf5;
    transform: translateY(-2px);
}

.search-badge i {
    color: var(--rad-orange);
    margin-right: 6px;
    font-size: 0.7rem;
    opacity: 0.7;
}

.dashboard-slot-pause-note {
    color: var(--rad-orange);
    font-size: 0.6rem;
}

.dashboard-slot-active-icon {
    color: var(--rad-orange);
}

.dashboard-archive-actions {
    margin-top: 1.5rem;
}

.dashboard-archive-actions .button-row-container {
    justify-content: flex-end;
    margin-top: 0;
}

.custom-disclaimer {
    margin-top: 24px;
    padding: 25px;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 20px;
    color: #888;
    font-size: 0.85rem;
    line-height: 1.6;
}

@keyframes pulse-pause-orange {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

.fa-pause-circle-anim {
    animation: pulse-pause-orange 2s ease-in-out infinite;
    color: #ff8c00;
}

.form-check-input:checked {
    background-color: var(--rad-orange);
    border-color: var(--rad-orange);
}

.rad-kpi-label.is-muted {
    color: var(--rad-color-text-muted);
}

.rad-kpi-label.is-inverse {
    color: rgba(255, 255, 255, 0.7);
}

.rad-kpi-label.is-warning {
    color: #b77900;
}

.rad-kpi-label.is-danger {
    color: #b02a37;
}

.rad-table-row-critical {
    background-color: rgba(220, 53, 69, 0.05) !important;
}

.rad-table-row-warning {
    background-color: rgba(255, 193, 7, 0.04) !important;
}

.rad-code-panel {
    min-height: 350px;
    max-height: 550px;
    padding: 1rem;
    overflow: auto;
    border: 1px solid #222;
    border-radius: var(--rad-radius-md);
    background: #0d0d0d;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5);
}

.rad-code-panel pre {
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: "Fira Code", "Consolas", monospace;
    font-size: 12px;
    line-height: 1.4;
    color: #00ff41;
}

.kpi-card-clickable {
    cursor: pointer;
}

.kpi-card-clickable:hover {
    transform: translateY(-3px);
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
}

.kpi-trigger {
    cursor: pointer;
}

.kpi-trigger:hover {
    color: var(--rad-orange) !important;
    text-decoration: underline;
}

.kpi-trigger:hover .fw-bold {
    color: var(--rad-orange) !important;
}

.kpi-dashboard-table {
    table-layout: fixed;
    width: 100%;
    min-width: 1500px;
    border-collapse: separate;
    border-spacing: 0;
}

.kpi-dashboard-table thead th {
    background-color: #ffffff;
    border-bottom: 2px solid #dee2e6;
    padding: 1rem 0.5rem;
}

.kpi-dashboard-table th:not(.sticky-col),
.kpi-dashboard-table td:not(.sticky-col) {
    width: 120px;
}

.sticky-col {
    position: sticky;
    left: 0;
    z-index: 10;
    background-color: #ffffff !important;
}

.sticky-col::after {
    content: "";
    position: absolute;
    top: 0;
    right: -5px;
    bottom: 0;
    width: 5px;
    pointer-events: none;
    background: linear-gradient(to right, rgba(0,0,0,0.05), transparent);
}

.sticky-col.is-wide {
    width: 280px;
    border-right: 1px solid #dee2e6 !important;
}

.sticky-col.is-medium {
    width: 230px;
    border-right: 2px solid #f1f1f1 !important;
}

.main-header {
    background-color: #ffffff !important;
    z-index: 20;
}

.section-header {
    background-color: #f8f9fa !important;
    color: var(--rad-orange) !important;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.75rem;
    padding: 0.75rem 1rem !important;
    text-align: left;
    z-index: 15;
}

.section-header-empty {
    background-color: #f8f9fa !important;
    border-bottom: 1px solid #dee2e6;
}

.metric-cell {
    background-color: #ffffff !important;
}

.monat-col {
    min-width: 140px;
}

.rad-kpi-icon {
    font-size: 0.7rem;
    opacity: 0.5;
}

.rad-kpi-subtext {
    font-size: 0.7rem;
}

.rad-kpi-modal-note {
    line-height: 1.6;
}

.rad-kpi-panel {
    padding: 1rem;
    border-radius: 1rem;
    background-color: #f8f9fa;
}

.rad-kpi-panel-label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
}

.rad-kpi-formula-panel {
    padding: 1rem;
    border-radius: 1rem;
    background-color: #fff5eb;
    border: 1px solid #ffe0c2;
}

.rad-kpi-formula-code {
    font-size: 0.85rem;
    color: #d96c00 !important;
}

.rad-tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.16rem 0.55rem;
    border: 1px solid rgba(255, 102, 0, 0.2);
    border-radius: var(--rad-radius-pill);
    background: rgba(255, 140, 0, 0.08);
    color: var(--rad-orange);
    font-size: 0.62rem;
    font-weight: 600;
}

.rad-tag-chip.is-muted {
    border-color: var(--rad-color-border);
    background: var(--rad-color-surface-muted);
    color: var(--rad-color-text-muted);
}

.rad-tag-chip.is-user-table {
    padding: 0.12rem 0.48rem;
    font-size: 0.58rem;
}

.rad-icon-action {
    cursor: pointer;
    color: var(--rad-orange);
    transition: transform var(--rad-transition-fast), color var(--rad-transition-fast);
}

.rad-icon-action:hover {
    transform: scale(1.15);
    color: var(--rad-orange-dark);
}

.rad-icon-action.is-primary {
    color: var(--rad-color-info);
}

.rad-icon-action.is-warning {
    color: #d97706;
}

.rad-icon-action.is-danger {
    color: var(--rad-color-danger);
}

@media (min-width: 992px) {
    .custom-modal-compact {
        max-width: 60% !important;
    }
}

/* Split editor / tree layouts */
.finder-container {
    display: flex;
    min-height: 700px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
}

.finder-container.is-tall {
    min-height: calc(100vh - 120px);
    margin-top: 10px;
}

.finder-sidebar {
    width: 350px;
    background: #fcfcfc;
    border-right: 1px solid #eee;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.finder-sidebar.is-wide {
    width: 400px;
}

.finder-content {
    flex: 1;
    padding: 40px;
    background: #fff;
    overflow-y: auto;
}

.finder-content.is-spacious {
    padding: 50px;
}

.finder-content.is-roomy {
    padding: 45px 60px;
}

.tree-scroll {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px;
}

.tree-scroll.is-spacious {
    padding: 15px 10px;
}

.tree-scroll.is-sticky {
    position: sticky;
    top: 0;
    max-height: 100vh;
}

.tree-item-row {
    display: flex;
    align-items: center;
    padding: 7px 10px;
    margin-bottom: 2px;
    border-radius: 8px;
    color: #444;
    text-decoration: none !important;
    font-size: 0.9rem;
    transition: all var(--rad-transition-fast);
}

a.tree-item-row:hover,
.tree-item-row:hover {
    background-color: #f1f1f1;
    color: #444;
}

.tree-item-row.active {
    background-color: #fff4e6;
    color: var(--rad-orange) !important;
    font-weight: 600;
}

.tree-item-row.active i {
    color: var(--rad-orange) !important;
    opacity: 1;
}

span.tree-item-row {
    cursor: default;
    opacity: 0.7;
}

.click-area {
    flex-grow: 1;
    display: flex;
    align-items: center;
    color: inherit;
    text-decoration: none !important;
}

.click-area.is-toggle {
    cursor: pointer;
}

.inline-form {
    display: inline;
}

.btn-disabled-passive {
    pointer-events: none;
}

.finder-section-title {
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.finder-header-title {
    letter-spacing: 1px;
}

.collapse-arrow {
    width: 20px;
    cursor: pointer;
    color: #bbb;
    text-align: center;
    transition: transform var(--rad-transition-fast), color var(--rad-transition-fast);
    font-size: 0.8rem;
}

.collapse-arrow.is-hidden {
    visibility: hidden;
}

.tree-item-row:not(.collapsed) .collapse-arrow {
    transform: rotate(90deg);
    color: var(--rad-orange);
}

.tree-group {
    margin-left: 14px;
    border-left: 1px solid #e0e0e0;
    padding-left: 8px;
}

.tree-icon {
    width: 22px;
    margin-right: 8px;
    text-align: center;
    opacity: 0.8;
    color: #777;
}

.finder-placeholder-icon {
    color: #eee;
}

.code-editor-soft {
    font-family: monospace;
    background-color: #f8f9fa;
}

.code-editor-panel {
    border: 1px solid #dee2e6;
}

.add-icon,
.add-btn-small {
    color: var(--rad-orange);
    opacity: 0;
    transition: opacity var(--rad-transition-fast), transform var(--rad-transition-fast);
}

.tree-item-row:hover .add-icon,
.tree-item-row:hover .add-btn-small {
    opacity: 1;
}

.placeholder-empty {
    margin-top: 100px;
    text-align: center;
    color: #ccc;
}

.placeholder-empty i {
    display: block;
    margin-bottom: 20px;
    font-size: 4rem;
}

.editor-card {
    border: 1px solid #eee;
    border-radius: 20px;
    background: #f8f9fa;
    padding: 40px;
}

.editor-card .form-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
}

.search-container {
    padding: 15px;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.search-input-group {
    position: relative;
}

.search-input {
    border: 1px solid #ddd;
    border-radius: 20px;
    padding-left: 35px;
    font-size: 0.9rem;
}

.search-input:focus {
    border-color: var(--rad-orange);
    box-shadow: 0 0 0 0.2rem rgba(255, 126, 0, 0.1);
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 10px;
    color: #bbb;
    font-size: 0.8rem;
}

.code-editor {
    min-height: 250px;
    font-family: "Courier New", Courier, monospace;
    font-size: 13px;
    line-height: 1.5;
}

.handbuch-content-wrap {
    max-width: 900px;
}

.hilfe-body {
    line-height: 1.8;
    color: #333;
    font-size: 1.1rem;
}

.hilfe-body h2 {
    margin-top: 2rem;
    padding-bottom: 10px;
    border-bottom: 2px solid #f8f8f8;
    font-weight: 700;
}

.hilfe-body h3 {
    margin-top: 1.5rem;
    font-weight: 600;
    color: var(--rad-orange);
}

.hilfe-body a {
    color: #000;
    text-decoration: underline;
}

.hilfe-body a:hover {
    color: #000;
    text-decoration: none;
}

.alert-radionik {
    padding: 20px;
    border-left: 4px solid var(--rad-orange);
    border-radius: 8px;
    background: #fffcf9;
    color: #666;
}

.rechtliches { 
    line-height: 1.8;
}

.rechtliches h2 { 
    font-size: 1.5rem; 
    font-weight: 700; 
    color: var(--rad-dark); 
    margin-top: 2.5rem; 
    margin-bottom: 1rem;
}

.rechtliches h3 { 
    font-size: 1.25rem; 
    font-weight: 700; 
    color: var(--rad-dark); 
    margin-top: 2rem; 
    margin-bottom: 0.75rem;
}

.rechtliches h4 { 
    font-size: 1.15rem; 
    font-weight: 700; 
    color: var(--rad-dark); 
    margin-top: 1.5rem; 
    margin-bottom: 0.5rem;
}

.rechtliches h5 { 
    font-size: 1.0rem;
    font-weight: 600; 
    font-style: italic;
    color: var(--rad-dark); 
    margin-top: 1.25rem; 
    margin-bottom: 0.4rem;
}

.rechtliches a {
    color: var(--rad-dark);
    text-decoration: underline;
    transition: all 0.2s ease-in-out;
}

.rechtliches a:hover {
    text-decoration: none;
    filter: brightness(90%);
}

.rad-flow-grid-card {
    min-height: 210px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    text-decoration: none !important;
    color: inherit;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: transform var(--rad-transition-fast), box-shadow var(--rad-transition-fast), border-color var(--rad-transition-fast);
}

.rad-flow-grid-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
    border-color: var(--rad-orange);
}

.rad-flow-grid-card.is-selectable {
    justify-content: flex-start;
    min-height: 220px;
    padding: 2.2rem;
}

.rad-flow-icon {
    color: var(--rad-orange);
    margin-bottom: 20px;
    opacity: 0.9;
    transition: transform var(--rad-transition-fast);
}

.rad-flow-grid-card:hover .rad-flow-icon {
    transform: scale(1.1);
}

.rad-flow-title {
    color: #333;
    font-weight: 800;
    font-size: 1.15rem;
}

.rad-flow-card-title {
    min-height: 2.2em;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a1a;
}

.rad-flow-description {
    flex-grow: 1;
    margin-bottom: 2rem;
    color: #555;
    font-size: 0.875rem;
    line-height: 1.6;
}

.rad-flow-auto-card,
.rad-flow-result-card,
.rad-flow-status-card,
.rad-flow-detail-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.rad-flow-auto-card {
    padding: 2.5rem;
}

.rad-flow-result-card,
.rad-flow-status-card {
    width: 100%;
    padding: 3rem;
    text-align: center;
}

.rad-flow-detail-card {
    margin-bottom: 25px;
    padding: 30px;
}

.rad-flow-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
}

.rad-flow-header-title {
    margin-bottom: 0.25rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.rad-flow-field-info {
    margin-top: 0.4rem;
    color: #999;
    font-size: 0.8rem;
}

.rad-flow-scan-icon {
    color: var(--rad-orange);
    animation: pulse-orange 2s infinite ease-in-out;
}

@keyframes pulse-orange {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

.rad-flow-status-text {
    color: var(--rad-orange);
    font-size: 0.9rem;
    font-weight: 700;
}

.rad-flow-progress {
    height: 14px;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
    background-color: #f0f0f0;
    border: 1px solid #eee;
    border-radius: 20px;
    box-shadow: var(--rad-shadow-sm);
}

.rad-flow-progress.is-compact {
    height: 10px;
    max-width: 500px;
    margin-bottom: 1rem;
}

.rad-flow-progress .progress-bar {
    background-color: var(--rad-orange) !important;
    border-radius: 20px;
    transition: width 0.3s ease;
}

.rad-flow-progress-note {
    margin-top: 0.75rem;
    color: var(--rad-color-text-muted);
    font-size: 0.875rem;
}

.rad-flow-result-title {
    color: var(--rad-orange);
}

.rad-flow-focus-text {
    color: var(--rad-orange);
    font-family: Georgia, serif;
    font-size: 1.8rem;
    font-style: italic;
    font-weight: 800;
    line-height: 1.3;
}

.rad-flow-action-wrap {
    max-width: 400px;
    margin: 0 auto;
}

.rad-flow-link-muted {
    display: block;
    color: var(--rad-color-text-muted);
    font-size: 0.875rem;
    text-decoration: none;
}

.rad-flow-link-muted:hover {
    color: var(--rad-color-text);
}

.rad-flow-action-button {
    max-width: 400px;
}

.rad-flow-duration-box {
    margin-bottom: 30px;
    padding: 25px;
    background: #fdf7f2;
    border: 1px solid #ffefe0;
    border-radius: 20px;
}

.rad-flow-duration-highlight {
    color: var(--rad-orange);
    font-size: 1.5rem;
}

.rad-flow-confirm-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 24px;
}

.rad-flow-confirm-icon {
    font-size: 4rem;
}

.rad-flow-confirm-icon.is-info {
    color: var(--rad-orange);
}

.rad-flow-confirm-icon.is-warning {
    color: #f0ad4e;
}

.rad-flow-select-compact {
    max-width: 300px;
    border-radius: 15px;
}

.rad-flow-pill-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 2rem;
}

.rad-flow-pill {
    padding: 6px 14px;
    background-color: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 50px;
    color: #777;
    font-size: 0.8rem;
    transition: all 0.4s ease;
}

.rad-flow-pill.scanning {
    transform: scale(1.05);
    color: #fff;
    background-color: var(--rad-orange);
}

.rad-flow-pill.active-resonance {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

.rad-flow-pill.no-resonance {
    opacity: 0.4;
    filter: grayscale(1);
}

.rad-flow-resonance-list {
    width: 100%;
    text-align: left;
}

.rad-flow-program-entry {
    margin-bottom: 10px;
    padding: 12px;
    background: #fafafa;
    border-left: 3px solid var(--rad-orange);
    border-radius: 12px;
}

.rad-flow-program-name {
    display: block;
    color: #333;
    font-size: 0.85rem;
    font-weight: 700;
}

.rad-flow-program-desc {
    display: block;
    color: #777;
    font-size: 0.75rem;
    line-height: 1.4;
}

.rad-flow-status-window {
    margin-bottom: 25px;
    padding: 3rem 2rem;
    text-align: center;
}

.rad-flow-progress-container {
    max-width: 400px;
    margin: 20px auto 8px;
}

.rad-flow-antenna {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
}

.rad-flow-broadcast-icon,
.rad-flow-pause-icon {
    position: relative;
    z-index: 2;
    color: var(--rad-orange);
    font-size: 2.5rem;
}

.rad-flow-broadcast-icon {
    animation: tower-sway 3s ease-in-out infinite;
}

.rad-flow-pause-icon {
    animation: pulse-pause 2s ease-in-out infinite;
}

.rad-flow-wave {
    position: absolute;
    z-index: 1;
    border: 2px solid var(--rad-orange);
    border-radius: 50%;
    opacity: 0;
    animation: wave-spread 3s infinite;
}

.rad-flow-wave.wave-2 {
    animation-delay: 1.5s;
}

@keyframes tower-sway {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes pulse-pause {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(0.9);
    }
}

@keyframes wave-spread {
    0% {
        width: 30px;
        height: 30px;
        opacity: 0.6;
    }
    100% {
        width: 140px;
        height: 140px;
        opacity: 0;
    }
}

.rad-flow-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 5px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.rad-flow-dataset {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.slot-id-text {
    color: #333;
    font-weight: 700;
}

.rad-flow-pdf-link {
    color: var(--rad-orange);
    font-size: 1.3rem;
    text-decoration: none;
    transition: transform var(--rad-transition-fast);
}

.rad-flow-pdf-link:hover {
    transform: scale(1.15);
}

.rad-flow-info-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 10px 0;
}

.rad-flow-info-item {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.rad-flow-info-label {
    color: #aaa;
    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.rad-flow-info-value {
    color: #333;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.4;
}

.value-black {
    color: #333 !important;
    font-weight: 700;
}

.rad-flow-mid-actions {
    margin-bottom: 30px;
}

.ui-autocomplete {
    z-index: 9999;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.ui-menu-item {
    margin-bottom: 2px;
    border-radius: 5px;
}

.ui-state-active {
    color: #fff !important;
    background: var(--rad-orange) !important;
    border: none !important;
}

.rad-help-desc {
    font-size: 0.75rem;
}

.rad-mail-layout {
    padding: 1.5rem;
    text-align: left;
}

.rad-mail-modal-content {
    border: 0;
    border-radius: 1.5rem;
    box-shadow: var(--rad-shadow-md);
}

.rad-mail-preview {
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 1rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.rad-mail-preview img {
    max-width: 100%;
    height: auto;
}

.rad-mail-detail-btn {
    min-height: 38px;
    padding: 0.5rem 0.95rem;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: var(--rad-radius-pill);
    box-shadow: var(--rad-shadow-sm);
}

.rad-mail-detail-btn:hover {
    border-color: var(--rad-orange);
    background: #fffaf5;
}

.email-archive-subject {
    max-width: 250px;
}

.email-archive-preview {
    max-height: 400px;
    overflow-y: auto;
}

.mail-link-deactivated {
    color: #6c757d;
    text-decoration: line-through;
    pointer-events: none;
}

.rad-toggle-panel-btn {
    width: 100%;
    margin-top: 15px;
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 12px;
    color: #555;
    font-size: 0.8rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.rad-toggle-panel-btn:hover {
    border-color: var(--rad-orange);
    background: #fffaf5;
}

.rad-toggle-panel-content {
    display: none;
    padding: 15px 5px;
}

.rad-icon-link {
    display: inline-flex;
    align-items: center;
    color: var(--rad-orange);
    font-size: 1.25rem;
    text-decoration: none;
    transition: transform var(--rad-transition-fast), color var(--rad-transition-fast);
}

.rad-icon-link:hover {
    transform: scale(1.15);
    color: var(--rad-orange-dark);
}

.rad-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.pending {
    color: var(--rad-orange) !important;
    font-style: italic;
}

.rad-pricing-card {
    position: relative;
    height: 100%;
    background: #fff;
    border: 1px solid #f1f1f1;
    border-radius: 24px;
    box-shadow: var(--rad-shadow-sm);
    transition: transform var(--rad-transition-base), box-shadow var(--rad-transition-base), border-color var(--rad-transition-base);
}

.rad-pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
}

.rad-pricing-card.is-featured,
.rad-pricing-card:not(.is-muted):hover {
    border-color: var(--rad-orange);
}

.rad-pricing-card.is-muted {
    background: #f8f9fa;
}

.rad-pricing-badge {
    padding: 0.5rem 0.9rem;
    border-radius: var(--rad-radius-pill);
    font-weight: 700;
}

.rad-pricing-badge.is-featured {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 10;
    transform: translate(-50%, -50%);
    background: var(--rad-orange);
    color: #fff;
}

.rad-pricing-badge.is-subtle {
    color: var(--rad-orange);
    background: rgba(255, 131, 0, 0.1);
}

.rad-pricing-desc {
    line-height: 1.6;
}

.rad-current-plan-btn:disabled {
    opacity: 0.7;
}

.rad-legal-card {
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #f1f1f1;
    border-radius: 20px;
    box-shadow: var(--rad-shadow-sm);
}

.rad-legal-section {
    padding: 1rem;
    background: #f8f9fa;
    border: 1px solid #ececec;
    border-radius: 12px;
}

.rad-legal-view {
    border-radius: 8px;
}

.rad-legal-view:hover {
    color: #212529 !important;
    background-color: #fffaf5 !important;
    border-color: var(--rad-orange) !important;
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.2);
}

.rad-legal-modal .modal-content {
    border-radius: 24px;
}

.rad-legal-copy {
    font-size: 0.95rem;
    line-height: 1.6;
}

.rad-legal-copy-prewrap {
    white-space: pre-wrap;
}

.affiliate-hero {
    padding: 1.5rem;
    color: #fff;
    text-align: center;
    background: linear-gradient(135deg, #2b32b2 0%, #1488cc 100%);
    border-radius: 1.5rem;
    box-shadow: var(--rad-shadow-sm);
}

.affiliate-product-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    color: #0d6efd;
    background: #fff;
    border-radius: var(--rad-radius-pill);
    font-weight: 700;
}

.affiliate-compliance-box {
    padding: 1.5rem;
    background-color: #fff8f0;
    border-left: 5px solid #ffc107;
    border-radius: 1rem;
}

.bestellbestaetigung-copy {
    line-height: 1.8;
}

.bestellbestaetigung-icon {
    font-size: 4rem;
}

.bestellbestaetigung-note {
    max-width: 600px;
    margin: 0 auto;
    border-radius: 15px;
}

.profile-meta-label {
    font-size: 0.7rem;
}

.settings-module-desc {
    font-size: 0.75rem;
}

.rad-submit-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}

.rad-submit-primary:not(:disabled):hover {
    background-color: var(--rad-orange-dark);
}

.rad-review-card {
    padding: 2rem;
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--rad-shadow-md);
}

.rad-review-icon-wrap {
    display: inline-block;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: #fff3e6;
    border-radius: 999px;
}

.rad-status-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

.rad-status-pill.is-active {
    color: #2e7d32;
    background-color: #e8f5e9;
}

.rad-status-pill.is-missing {
    color: #c62828;
    background-color: #ffebee;
}

.rad-selection-card {
    position: relative;
    padding: 20px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 15px;
    cursor: pointer;
    transition: all var(--rad-transition-fast);
}

.rad-selection-card.is-selected {
    border: 2px solid var(--rad-orange) !important;
    background: #fff9f4;
}

.rad-selection-card.is-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.rad-selection-checkbox {
    position: absolute;
    top: 15px;
    right: 15px;
    transform: scale(1.3);
    accent-color: var(--rad-orange);
}

.rad-sticky-action-bar {
    position: sticky;
    bottom: 0;
    padding: 20px;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.05);
}

.rad-error-shell {
    display: flex;
    flex-direction: column;
    min-height: 75vh;
}

.rad-error-content {
    flex: 1 0 auto;
    padding-top: 20px;
    padding-bottom: 60px;
}

.rad-error-card {
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
    padding: 50px 40px;
    text-align: center;
    background: #fff;
    border: 1px solid #f1f1f1;
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.rad-error-icon {
    color: #ff9800;
    filter: drop-shadow(0 5px 15px rgba(255, 152, 0, 0.3));
    transition: transform 0.5s ease;
}

.rad-error-card:hover .rad-error-icon {
    transform: scale(1.1) rotate(-5deg);
}

.rad-error-copy {
    color: #555;
    line-height: 1.8;
}

.rad-error-title {
    color: #2c3e50;
}

.rad-error-text {
    font-size: 1.1rem;
}

.rad-error-action {
    display: inline-block;
    padding: 16px 32px;
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    background-color: #ff9800;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
    transition: all var(--rad-transition-base);
}

.rad-error-action:hover {
    transform: translateY(-3px);
    background-color: #e67e00;
    box-shadow: 0 10px 20px rgba(255, 152, 0, 0.4);
}

.rad-error-ref {
    max-width: 320px;
    margin: 2.5rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px dashed #eee;
}

.rad-error-code {
    display: block;
    margin-bottom: 5px;
    color: #ff9800;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.rad-error-signature {
    color: #999;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.rad-landing-section-warm {
    width: 100%;
    padding: 80px 0;
    background-color: var(--rad-bg);
}

.rad-landing-section-white {
    width: 100%;
    padding: 80px 0;
    background-color: #fff;
}

.rad-landing-card {
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    background: #fff;
    transition: transform var(--rad-transition-base), box-shadow var(--rad-transition-base);
}

.rad-landing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.12) !important;
}

.rad-landing-cta {
    color: #fff;
    font-weight: 700;
    background-color: var(--rad-orange);
    border: 1px solid var(--rad-orange);
    border-radius: 12px;
    transition: all var(--rad-transition-base);
}

.rad-landing-cta:hover {
    color: #fff;
    background-color: var(--rad-orange-dark);
    border-color: var(--rad-orange-dark);
}

.text-muted-safe {
    color: #555555;
}

.rad-landing-copy-wide {
    max-width: 850px;
}

.rad-landing-feature-card,
.rad-landing-step-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 20px;
}

.rad-landing-feature-card {
    border: 1px solid #f0f0f0;
}

.rad-landing-step-card {
    border: 1px solid #ddd !important;
}

.rad-landing-info-link {
    margin-top: auto;
    color: var(--rad-orange);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.rad-landing-info-link:hover {
    text-decoration: underline;
}

.rad-step-icon-circle {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rad-orange);
    font-size: 1.5rem;
    background: #f8f9fa;
    border-radius: 50%;
}

.rad-step-badge {
    margin-bottom: 1rem;
    padding: 0.45rem 0.9rem;
    color: #fff;
    background: var(--rad-orange);
    border-radius: 999px;
}

.rad-trust-button {
    display: block;
    width: 100%;
    padding: 0;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    background: none;
    border: none;
    transition: transform var(--rad-transition-fast);
}

.rad-trust-button:hover {
    transform: scale(1.05);
}

.rad-trust-label {
    display: block;
    margin-top: 8px;
    color: #666;
    font-size: 0.7rem;
    font-weight: 700;
}

.rad-trust-image {
    max-height: 45px;
}

.rad-trust-image.is-large {
    max-height: 80px;
}

.rad-faq-item {
    margin-bottom: 0.5rem;
    border: 1px solid #eee;
    border-radius: 0.75rem;
}

.rad-start-card {
    overflow: hidden;
    border: 0;
    border-radius: 25px;
    box-shadow: var(--rad-shadow-lg);
}

.rad-start-highlight {
    color: #fff;
    background: var(--rad-orange);
}

.disclaimer-spacing {
    margin-top: 100px;
}

.form-control-custom {
    padding: 12px 15px;
    border: 1px solid #eee;
    border-radius: 12px;
}

.accordion-button {
    color: var(--rad-color-text);
    background-color: #fff !important;
}

.accordion-button:not(.collapsed) {
    color: var(--rad-orange);
    background-color: #fff !important;
    box-shadow: none;
}

.header-wrapper {
    padding-top: 0;
    margin-bottom: 2.5rem;
}

.header-wrapper.is-narrow .header-shell {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.header-shell {
    max-width: 1080px;
    margin: 0 auto;
    width: 100%;
}

.breadcrumb-nav {
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
}

.breadcrumb-nav a {
    color: var(--rad-orange);
    text-decoration: none;
}

.breadcrumb-nav .separator {
    margin: 0 10px;
    color: #ccc;
}

.header-main-title {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.header-main-title h1 {
    margin-bottom: 0.5rem;
    font-size: 2.25rem;
}

.separator-wrapper {
    position: relative;
    margin: 5rem 0 4rem;
    text-align: center;
}

.separator-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    z-index: 1;
    height: 1px;
    background: #000;
}

.separator-text-box {
    position: relative;
    z-index: 2;
    display: inline-block;
    padding: 10px 30px;
    color: #000;
    background: var(--rad-bg);
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
}

.site-nav-brand,
.site-nav-link,
.site-dropdown-item {
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1;
    text-decoration: none !important;
}

.site-nav-brand,
.site-nav-link,
.site-dropdown-item {
    padding-top: 4px;
}

.site-nav-brand i,
.site-nav-link i,
.site-dropdown-item i {
    display: inline-block;
    margin-top: -4px;
}

.site-nav-link {
    padding: 5px 15px;
    color: #666;
    font-weight: 500;
    transition: color var(--rad-transition-fast);
}

.site-nav-link:hover,
.site-nav-link.active {
    color: var(--rad-orange) !important;
}

.site-nav-link.active {
    font-weight: 700;
}

.site-nav-link.active i {
    color: var(--rad-orange) !important;
}

.site-admin-exit-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0.35rem 0.95rem;
    color: #3d3630;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--rad-radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
}

.site-admin-exit-link:hover {
    color: #000;
    background: #fff7ef;
    border-color: rgba(255, 140, 0, 0.35);
}

.dropdown-toggle::after {
    display: none !important;
}

.caret-icon {
    margin-left: 6px;
    opacity: 0.7;
    font-size: 0.7rem;
    transition: transform var(--rad-transition-fast);
}

.show > .site-nav-link .caret-icon {
    transform: rotate(180deg);
}

.site-dropdown-item.active-sub {
    color: var(--rad-orange) !important;
    background-color: var(--rad-bg);
    font-weight: 600;
}

.dropdown-menu-columns {
    column-count: 2;
    column-gap: 0;
    min-width: 500px;
    padding: 10px;
}

.dropdown-menu-columns li {
    break-inside: avoid;
}

.dropdown-menu-columns .dropdown-divider {
    column-span: all;
    margin: 10px 0;
}

.site-nav-link .badge {
    margin-left: -10px;
}

.site-nav-link.has-unread {
    margin-right: 20px;
}

.footer-link {
    color: #6c757d;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--rad-transition-base);
}

footer {
    margin-top: 50px;
    padding: 25px 0;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.03);
}

.footer-link:hover {
    color: var(--rad-orange) !important;
    text-decoration: underline !important;
}

.footer-link i {
    width: 20px;
    text-align: center;
}

.debug-link {
    color: #dc3545 !important;
    font-weight: 700;
}

.debug-link:hover {
    color: #a71d2a !important;
}

.nav-unread-badge {
    padding: 3px 6px;
    font-size: 0.6rem;
}

.hilfe-content-body {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.7;
}

.hilfe-content-body h2,
.hilfe-content-body h3 {
    margin-top: 1.5rem;
    color: var(--rad-orange);
    font-weight: 700;
}

.hilfe-content-body img {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
    border: 1px solid #eee;
    border-radius: 8px;
}

.hilfe-content-body a {
    color: #000;
    text-decoration: underline;
}

.hilfe-content-body a:hover {
    color: #000;
    text-decoration: none;
}

.site-help-open-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0.45rem 1rem;
    color: #666;
    background: #fff;
    border: 1px solid #d8d8d8;
    border-radius: var(--rad-radius-pill);
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
}

.site-help-open-link:hover {
    color: var(--rad-dark);
    border-color: var(--rad-orange);
}

.btn-orange {
    color: #fff;
    background: var(--rad-orange);
    border: none;
    transition: var(--rad-transition-base);
}

.btn-orange:hover {
    color: #fff;
    background: var(--rad-orange-dark);
    transform: translateY(-1px);
}

.site-help-close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.55rem 1.25rem;
    color: #fff;
    background: var(--rad-orange);
    border: none;
    border-radius: var(--rad-radius-pill);
    font-weight: 700;
    box-shadow: var(--rad-shadow-sm);
}

.site-help-close-btn:hover {
    background: var(--rad-orange-dark);
}

.cookie-modal-content {
    position: relative;
    overflow: hidden;
    border: none;
    border-radius: 1.5rem;
}

.cookie-modal-header {
    padding: 2.5rem 2.5rem 1rem;
    text-align: center;
}

.cookie-modal-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #ff7e00;
    font-size: 1.8rem;
    font-weight: 800;
}

.cookie-intro-text {
    padding: 0 1rem;
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: left;
}

.cookie-intro-text a {
    color: #ff7e00;
    text-decoration: none;
    font-weight: 600;
    transition: all var(--rad-transition-base);
}

.cookie-intro-text a:hover {
    text-decoration: underline !important;
}

.cookie-card {
    margin-bottom: 1rem;
    padding: 1.25rem;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 1rem;
}

.cookie-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
    font-size: 1rem;
    font-weight: 700;
}

.cookie-desc {
    display: block;
    margin-bottom: 15px;
    color: #666;
    font-size: 0.85rem;
    line-height: 1.5;
}

.cookie-details-table {
    font-size: 0.75rem;
}

.cookie-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 0.75rem;
    color: var(--rad-color-success);
    background: #fff;
    border: 1px solid var(--rad-color-success-border);
    border-radius: var(--rad-radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
}

.cookie-footer-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.cookie-footer-col {
    display: flex;
    flex-direction: column;
}

.btn-rad-consent {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 10px;
    color: #fff !important;
    text-align: center;
    text-transform: uppercase;
    line-height: 1.2;
    font-size: 0.75rem;
    font-weight: 700;
    background: #ff7e00;
    border: none;
    border-radius: 50px;
    transition: all var(--rad-transition-base);
}

.btn-rad-consent:hover {
    background: #e67200;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 126, 0, 0.3);
}

.details-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #ff7e00;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
}

.details-link:hover .link-text {
    text-decoration: underline;
}

.details-link i {
    display: inline-block;
    color: #ff7e00;
    font-size: 0.7rem;
    text-decoration: none !important;
    vertical-align: middle;
    transition: transform var(--rad-transition-base);
}

.details-link:not(.collapsed) i {
    transform: rotate(180deg);
}

.btn-close-cookie {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    color: #ccc;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: color var(--rad-transition-base);
}

.btn-close-cookie:hover {
    color: #888;
}

.debug-modal-content {
    height: 90vh;
    display: flex;
    flex-direction: column;
    color: #eee;
    background: #1a1a1a;
    border: 2px solid #ff8c00;
    border-radius: 12px;
    font-family: Consolas, monospace;
}

.debug-modal-header {
    flex-shrink: 0;
    padding: 1rem 1.5rem;
    background: #222;
    border-bottom: 1px solid #333;
}

.debug-modal-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.debug-modal-footer {
    flex-shrink: 0;
    padding: 0.8rem;
    border-top: 1px solid #333;
}

.debug-modal-close {
    filter: invert(1) grayscale(1) brightness(200%);
}

.debug-modal-reload,
.debug-modal-dismiss {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0.4rem 0.9rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid transparent;
}

.debug-modal-reload {
    color: #7a5a00;
    background: #fff7d6;
    border-color: #f2d37b;
}

.debug-modal-dismiss {
    color: #fff;
    background: #6c757d;
    border-color: #6c757d;
}

.debug-header-perf {
    display: flex;
    gap: 15px;
    color: #888;
    font-size: 11px;
}

.perf-val {
    color: #ff8c00;
}

#debugModal .nav-tabs {
    gap: 2px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
    border-bottom: 1px solid #444;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#debugModal .nav-tabs::-webkit-scrollbar {
    display: none;
}

#debugModal .nav-link {
    padding: 10px 15px;
    color: #aaa;
    font-size: 10px;
    text-transform: uppercase;
    white-space: nowrap;
    border: none;
}

#debugModal .nav-link:hover {
    color: #fff;
    background: #222;
}

#debugModal .nav-link.active {
    color: #000 !important;
    background: #ff8c00 !important;
    border-radius: 4px 4px 0 0;
    font-weight: 700;
}

.debug-pre {
    padding: 15px;
    color: #a6e22e;
    font-size: 12px;
    line-height: 1.5;
    white-space: pre-wrap;
    background: #000;
    border: 1px solid #333;
    border-radius: 5px;
    overflow-x: auto;
}

.debug-error-row {
    background: #2a0000;
}

.sql-block {
    margin-bottom: 20px;
    padding: 10px;
    background: #222;
    border-left: 3px solid #ff8c00;
}

.table-debug {
    width: 100%;
    color: #eee;
    font-size: 12px;
    border-collapse: collapse;
}

.table-debug th {
    padding: 8px;
    color: #ff8c00;
    text-align: left;
    background: #222;
    border-bottom: 1px solid #444;
}

.table-debug td {
    padding: 8px;
    vertical-align: top;
    word-break: break-all;
    border-bottom: 1px solid #333;
}

.table-phpinfo {
    margin-bottom: 20px;
    color: #ccc;
    background: #111;
}

.table-phpinfo td.e {
    width: 300px;
    color: #ff8c00;
    font-weight: 700;
    background: #222;
}

.table-phpinfo td.v {
    color: #a6e22e;
}

.table-phpinfo h1,
.table-phpinfo h2 {
    margin-top: 20px;
    padding-bottom: 5px;
    color: #ff8c00;
    font-size: 18px;
    border-bottom: 1px solid #444;
}

.rad-search-submit {
    color: var(--rad-orange);
}

.alert-modern {
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 20px;
    padding: 18px 25px;
    box-shadow: 0 8px 20px -5px rgba(0, 0, 0, 0.06);
    transition: transform var(--rad-transition-fast);
}

.alert-modern.is-success {
    background-color: #e9f2e6;
    border-color: #c2d6bc;
    color: #1b3a18;
}

.alert-modern.is-warning {
    background-color: #fdf4e9;
    border-color: #f5e2cc;
    color: #6b441a;
}

.alert-modern.is-error {
    background-color: #f8d7da;
    border-color: #f5c2c7;
    color: #842029;
}

.alert-modern-icon {
    color: currentColor;
}

.alert-modern-title,
.alert-modern-text,
.alert-modern-close {
    color: currentColor;
}

.alert-modern-close {
    font-size: 0.9rem;
}

@media (min-width: 992px) {
    .dropdown-menu-columns {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .info-grid-compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .info-slot-column-items {
        grid-column: 1 / -1;
        grid-row: auto;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
    }

    .dashboard-slot-item .info-value-compact {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

}

@media (max-width: 480px) {
    .info-grid-compact {
        grid-template-columns: 1fr;
    }

    .info-container-compact {
        padding: 1rem 1.1rem;
    }

    .info-slot-column-items {
        justify-content: flex-start;
    }
}
