:root {
	--tblr-font-sans-serif: 'Inter', -apple-system, BlinkMacSystemFont, San Francisco, Segoe UI, Roboto, Helvetica Neue, sans-serif;
}
body {
	font-feature-settings: "cv03", "cv04", "cv11";
}
.card {
	--tblr-card-border-radius: 0.5rem;
	margin-bottom: 1rem;
}
/* Anpassung des Card-Hintergrunds für den Dark Mode, damit er sich abhebt */
[data-bs-theme=dark] .card {
    background-color: #1a1a1a !important; /* Helleres Grau für den Card-Hintergrund */
    border-color: rgba(255, 255, 255, 0.1) !important; /* Dezente Ränder */
}

/* Sicherstellen, dass der Card Body ebenfalls den angepassten Hintergrund hat */
[data-bs-theme=dark] .card-body {
    background-color: #1a1a1a !important; /* Gleiche Farbe wie der Card-Hintergrund */
    color: rgba(255, 255, 255, 0.9) !important; /* Textfarbe auf helles Weiß */
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
	background-color: var(--tblr-primary) !important;
	border-color: var(--tblr-primary) !important;;
	filter: brightness(1.15) !important;;
}

[x-cloak] { display: none !important; }

.section {
	margin: 3rem 0;
}

.border-input {
	border-color: #dadfe5 !important;
}

.card-header {
	padding-top: 1rem;
	padding-bottom: 1rem;
}
[data-bs-theme=dark] .card-header {
    background-color: #1a1a1a !important; /* Dunklerer Hintergrund für Card Headers im Dark Mode */
    color: rgba(255, 255, 255, 0.9) !important; /* Textfarbe auf helles Weiß für bessere Lesbarkeit */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important; /* Dezente Trennlinie */
}

/* Sicherstellen, dass die Überschrift innerhalb des Card Headers auch die richtige Farbe hat */
[data-bs-theme=dark] .card-header .card-title {
    color: rgba(255, 255, 255, 0.9) !important;
}

.fs-100 { 
	font-size: 100%;
}

.alert-success {
	color: #fff;
	background-color: var(--tblr-success) !important;
}
.alert-danger {
	color: #fff;
	background-color: var(--tblr-danger) !important;
}
.alert-warning {
	color: #fff;
	background-color: var(--tblr-warning) !important;
}
.alert-info {
	color: #fff;
	background-color: var(--tblr-info) !important;
}

.widget-title {
	color: inherit;
	margin-bottom: 0.5rem;
}

.widget-link {
	--tblr-text-opacity: 1;
	color: rgba(var(--tblr-muted-rgb), var(--tblr-text-opacity)) !important;
}
[data-bs-theme=dark] .widget-link {
	color: rgba(255, 255, 255, 0.5) !important;
}
.widget-link:hover {
	text-decoration: none;
	color: inherit !important;
}

.footer {
	color: inherit;
	background-color: var(--tblr-bg-surface); /* Dies ist der Standard */
	width: 100%; /* Sicherstellen, dass der Footer 100% Breite hat */
	margin-left: 0; /* Eventuell vorhandene Ränder entfernen */
	margin-right: 0; /* Eventuell vorhandene Ränder entfernen */
}

/* Anpassung des Footers für den Dark Mode */
[data-bs-theme=dark] .footer {
    background-color: #0a0a0a !important; /* Noch dunkleres Grau für den Footer-Hintergrund */
    color: rgba(255, 255, 255, 0.7); /* Standardtextfarbe für den Footer */
}

/* Sicherstellen, dass Links und andere Texte im Footer sichtbar sind */
[data-bs-theme=dark] .footer a {
    color: rgba(255, 255, 255, 0.7) !important;
}

[data-bs-theme=dark] .footer a:hover {
    color: #9FA8D8 !important; /* Akzentfarbe für Hover-Effekt im Footer */
}

ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.breadcrumb {
	background-color: var(--tblr-bg-surface); /* Dies ist der Standard, der bereits auf schwarz gesetzt wurde */
	padding: 1rem 1.5rem;
	border-radius: 0.5rem;
	border: 1px solid var(--tblr-border-color) !important;
	margin-bottom: 0.75rem;
}
[data-bs-theme=dark] .breadcrumb {
    background-color: #1a1a1a !important; /* Helleres Grau für den Breadcrumb im Dark Mode */
}
.breadcrumb-item a {
	color: inherit;
}
.breadcrumb-item.active {
	--tblr-text-opacity: 1;
	font-weight: normal;
	color: rgba(var(--tblr-muted-rgb), var(--tblr-text-opacity)) !important;
}
[data-bs-theme=dark] .breadcrumb-item.active {
	color: rgba(255, 255, 255, 0.5) !important;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item:active {
	color: var(--tblr-dropdown-link-active-color) !important;
	text-decoration: none;
	background-color: var(--tblr-dropdown-link-active-bg);
}
[data-bs-theme=dark] .dropdown-item.active, .dropdown-item:active,
[data-bs-theme=dark] .dropdown-item:hover {
	color: #fff;
}

[data-bs-theme=dark] .text-muted {
	color: rgba(255, 255, 255, 0.5) !important;
}

.btn-transparent {
	background-color: transparent;
	border-color: transparent !important;
	box-shadow: none;
	color: inherit;
}

@media (min-width: 768px) {
	.navbar-expand-md .nav-item:hover {
		position: relative;
	}
	.navbar-expand-md .nav-item:hover:not(.no-hover-border)::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: -.25rem;
		border: 0 var(--tblr-border-style) var(--tblr-navbar-active-border-color);
		border-bottom-width: 2px;
	}
}

.ti {
	font-size: 20px;
}

.page-center {
	justify-content: center;
}

.card-header .ck-content p:last-child,
.card-body .ck-content p:last-child {
	margin-bottom: 0;
}

.superWheel .sWheel-inner {
	background-color: #d2a100;
	border-radius: 100%;
}

.input-group.input-icon {
	margin-left: 1px;
}
.input-group.input-icon .input-icon-addon {
	z-index: 6;
}
.input-group.input-icon .form-control {
	height: calc(2.25rem + 2px);
}

.table a:not(.btn) {
	color: inherit;
}
.table a:hover {
	text-decoration: none;
}

.btn-group-sm>.btn, .btn-sm {
	--tblr-btn-line-height: 1.625;
	--tblr-btn-icon-size: 0.813rem;
}

tbody td {
	vertical-align: middle;
}

.btn-icon .ti {
	font-size: 1rem;
}

.bg-surface {
	background-color: var(--tblr-bg-surface);
}

.card-product .stock {
	position: absolute;
	top: -.75rem;
	left: -0.5rem;
	display: flex;
	justify-content: center;
	align-items: center;
	width: auto;
	height: auto;
	padding: .325rem .625rem;
	font-size: 90%;
	color: #ffffff;
	border-radius: .375rem;
	z-index: 2;
}
.card-product .stock.stock-sm {
	top: -0.5rem;
	left: -0.5rem;
	font-size: 85%;
	padding: .25rem .5rem;
}
.card-product .stock.have-stock {
	background-color: #fb6340;
}
.card-product .stock.stock-out {
	background-color: #f5365c;
}

.card-product .discount {
	position: absolute;
	top: -1.25rem;
	right: -0.75rem;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 3rem;
	height: 3rem;
	font-weight: 600;
	color: #ffffff;
	background-color: var(--tblr-primary);
	border-radius: 50%;
	z-index: 2;
}
.card-product .discount.discount-sm {
	width: 2.5rem;
	height: 2.5rem;
	font-size: 90%;
	font-weight: 600;
	top: -0.75rem;
	right: -0.5rem;
}


.card-product .price {
	font-size: 1.125rem;
	font-weight: 600;
}

.card-product .old-price {
	font-size: 80%;
	font-weight: 700;
	color: #f5365c;
	text-decoration: line-through;
}

.card-product {
	height: 100%;
}

.card-product .card-img-top {
	height: auto;
}

.card-product .card-body {
	display: flex;
	flex-direction: column;
	position: initial;
}

.border-bottom-separator > * {
	padding-top: .875rem;
	padding-bottom: .875rem;
	border-bottom: 1px solid var(--tblr-border-color) !important;
}
.border-bottom-separator > *:last-child {
	border-bottom: 0 !important;
}

.no-underline:hover {
	text-decoration: none;
}

.icon-sm {
	font-size: 1rem !important;
}

.card-img-right {
	border-radius: var(--tblr-card-border-radius) var(--tblr-card-border-radius) 0 0;
	object-fit: cover;
	object-position: center;
}

@media (min-width: 992px) {
	.home-slider .carousel-inner, .home-slider .carousel-item {
		height: 400px;
		overflow: hidden;
	}
	.home-slider .carousel-item img {
		height: 400px;
		object-fit: cover;
		overflow: hidden;
	}
}

/* BROADCAST */
.broadcast {
	width: 100%;
	height: 44px;
	background-color: var(--tblr-bg-surface);
	overflow: hidden;
	border-bottom: var(--tblr-border-width) var(--tblr-border-style) var(--tblr-border-color);
}
.broadcast-item {
	display: inline-block;
	padding: 10px 600px 10px 0;
}
@media (max-width: 768px) {
	.broadcast-item {
		padding-right: 400px;
	}
}
.broadcast-link {
	color: var(--tblr-body-color);
}

.shopping-cart-count-circle {
	width: 18px;
	height: 18px;
	text-align: center;
	justify-content: center;
	display: flex;
	align-items: center;
	border-radius: 50%;
	font-size: 80%;
	background-color: var(--tblr-primary);
	color: #fff;
}

/*NAV-TABS*/
.nav-tabs {
	margin-bottom: 0;
}
.nav-tabs .nav-link {
	display: block;
	text-align: center;
	padding: 1rem;
	font-weight: 500;
	color: var(--tblr-body-color);
	border: 0;
	border-radius: 0;
	border-bottom: 2px solid var(--tblr-border-color);
}

.nav-tabs .nav-link:hover {
	color: var(--tblr-primary);
	border-color: var(--tblr-border-color);
}

.nav-tabs .nav-link:first-child {
	border-top-left-radius: 10px;
}

.nav-tabs .nav-link:last-child {
	border-top-right-radius: 10px;
}

.nav-tabs .nav-link.active {
	border: 0;
	border-bottom: 2px solid var(--tblr-primary);
}
.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
	color: var(--tblr-primary);
	border-color: var(--tblr-primary);
	background-color: transparent;
}

.btn.disabled, .btn:disabled, fieldset:disabled .btn {
	--tblr-btn-disabled-border-color: var(--tblr-btn-disabled-bg);
}

@media (min-width: 768px) {
	.termsfeed-com---nb .cc-nb-main-container {
		padding: 2rem !important;
	}
	.termsfeed-com---nb-simple {
		bottom: 20px !important;
		right: 20px !important;
		border-radius: 0.625rem !important;
	}
}
.cc-cp-foot-byline {
	visibility: hidden;
}
.cc-pc-head-close:focus {
	border: none !important;
}
.termsfeed-com---palette-dark *:focus {
	box-shadow: none !important;
}
.cc-nb-okagree, .cc-cp-foot-save {
	color: #fff !important;
	background-color: var(--tblr-primary) !important;
}

.btn-link {
	color: rgba(var(--tblr-link-color-rgb),var(--tblr-link-opacity,1));
}

.btn-link:hover {
	color: rgba(var(--tblr-link-hover-color-rgb),var(--tblr-link-opacity,1));
}

.role__default {
	display: inline-block;
	justify-content: center;
	align-items: center;
	background: var(--tblr-bg-surface-secondary);
	overflow: hidden;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	min-width: 1.35714285em;
	font-size: 85%;
	font-weight: var(--tblr-font-weight-bold);
	letter-spacing: .04em;
	vertical-align: bottom;
	line-height: 1;
	padding: 0.25rem 0.5rem;
	text-align: center;
	white-space: nowrap;
	border-radius: 0.25rem;
}

.forum-online-users a:hover {
	text-decoration: none;
}
.forum-online-users a:not(:last-child)::after {
	margin-left: -3px;
	content: ",";
	font-size: 90%;
	color: rgb(var(--tblr-body-color-rgb)) !important;
}

.select2-container--bootstrap4 .select2-selection--single {
	height: calc(1.875em + .75rem + 2px) !important;
}

.select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
	line-height: calc(1.875em + .75rem);
}

.select2-container .select2-selection--single .select2-selection__rendered {
	padding-left: 12px;
}

.select2-container--bootstrap4 .select2-selection {
	background-color: var(--tblr-bg-forms);
	border-color: var(--tblr-border-color);
}

.select2-results__option {
	background-color: var(--tblr-bg-forms);
}

.select2-container--bootstrap4 .select2-dropdown {
	border-color: var(--tblr-border-color);
}

/* ckeditor */
.ck-editor__editable {
	min-height: 150px !important;
}
/* Anpassung des CKEditor-Hintergrunds und Textfarbe für Dark Mode */
[data-bs-theme=dark] .ck-editor .ck-content {
    background: var(--tblr-bg-surface) !important; /* Passt zum Haupt-Hintergrund der App */
    border-color: var(--tblr-border-color-translucent) !important;
    color: rgb(255, 255, 255) !important; /* Reines Weiß für den Haupttext im Editor */
}
[data-bs-theme=dark] .card .ck-editor .ck-content {
    background: var(--tblr-bg-forms) !important; /* Passt zum Formular-Hintergrund in Cards */
    border-color: var(--tblr-bg-forms) !important;
    color: rgb(255, 255, 255) !important; /* Reines Weiß für den Haupttext im Editor in Cards */
}
/* Anpassung der CKEditor Toolbar für Dark Mode */
[data-bs-theme=dark] .ck-editor .ck-toolbar {
	background: var(--tblr-bg-forms) !important; /* Passt zum neuen Formular-Hintergrund */
	border-color: var(--tblr-bg-forms) !important;
}
[data-bs-theme=dark] .ck-editor .ck-toolbar__items * {
	color: #FFF !important; /* Icons und Text in der Toolbar auf Weiß setzen */
}
[data-bs-theme=dark] .ck-editor .ck-button:hover {
	background: rgba(75, 54, 102, 0.3) !important; /* Purpur-Hintergrund beim Hover */
}
[data-bs-theme=dark] .ck-editor .ck-button:focus {
	background: rgba(75, 54, 102, 0.3) !important; /* Purpur-Hintergrund beim Fokus */
}
[data-bs-theme=dark] .ck-editor .ck-list__item {
	background: var(--tblr-bg-forms) !important; /* Passt zum neuen Formular-Hintergrund */
	border-color: var(--tblr-bg-forms) !important;
}
.ck-editor.ck-toolbar {
	border: 1px solid #efefef !important;
}

/* CKEditor Placeholder Textfarbe */
[data-bs-theme=dark] .ck-placeholder {
    color: rgba(255, 255, 255, 0.5) !important; /* Grauer, aber lesbarer Platzhaltertext */
}

/* CKEditor Content Styling für Dark Mode (weitere Elemente) */
[data-bs-theme=dark] .ck-content h1,
[data-bs-theme=dark] .ck-content h2,
[data-bs-theme=dark] .ck-content h3,
[data-bs-theme=dark] .ck-content h4,
[data-bs-theme=dark] .ck-content h5,
[data-bs-theme=dark] .ck-content h6 {
    color: #9FA8D8 !important; /* Purpur für Überschriften */
}

[data-bs-theme=dark] .ck-content a {
    color: #9FA8D8 !important; /* Purpur für Links */
}

[data-bs-theme=dark] .ck-content a:hover {
    color: #6D97D8 !important; /* Dunkleres Purpur/Blau beim Hover */
}

[data-bs-theme=dark] .ck-content ul,
[data-bs-theme=dark] .ck-content ol {
    color: rgba(255, 255, 255, 0.9) !important; /* Listenfarbe */
}

[data-bs-theme=dark] .ck-content blockquote {
    border-left-color: rgba(75, 54, 102, 0.7) !important; /* Purpur für Blockquote-Rand */
    color: rgba(255, 255, 255, 0.8) !important; /* Textfarbe in Blockquotes */
}

[data-bs-theme=dark] .ck-content code {
    background-color: rgba(75, 54, 102, 0.3) !important; /* Helleres Purpur für Inline-Code */
    color: rgba(255, 255, 255, 0.9) !important; /* Textfarbe in Inline-Code */
}

[data-bs-theme=dark] .ck-content pre {
    background-color: #121212 !important; /* Dunklerer Hintergrund für Code-Blöcke */
    border-color: rgba(75, 54, 102, 0.5) !important; /* Purpur-Rand für Code-Blöcke */
    color: rgba(255, 255, 255, 0.9) !important; /* Textfarbe in Code-Blöcken */
}

[data-bs-theme=dark] .ck-content .table table {
    border: 1px double rgba(255, 255, 255, 0.1) !important; /* Dezenterer Tabellenrand */
}

[data-bs-theme=dark] .ck-content .table table td,
[data-bs-theme=dark] .ck-content .table table th {
    border: 1px solid rgba(255, 255, 255, 0.05) !important; /* Dezente Zellenränder */
    color: rgba(255, 255, 255, 0.9) !important; /* Textfarbe in Tabellenzellen */
}

[data-bs-theme=dark] .ck-content .table table th {
    background: rgba(75, 54, 102, 0.2) !important; /* Helleres Purpur für Tabellenköpfe */
    color: #9FA8D8 !important; /* Purpur für Text in Tabellenköpfen */
}

/* Anpassung der Select2 Dropdowns für Dark Mode */
.select2-container--bootstrap4 .select2-selection--single {
	height: calc(1.875em + .75rem + 2px) !important;
}

.select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
	line-height: calc(1.875em + .75rem);
    /* Anpassung der Textfarbe für Select2 im Dark Mode */
    [data-bs-theme=dark] & {
        color: rgba(255, 255, 255, 0.9) !important;
    }
}

.select2-container .select2-selection--single .select2-selection__rendered {
	padding-left: 12px;
}

/* Hintergrund und Rahmen des Select-Feldes im Dark Mode */
[data-bs-theme=dark] .select2-container--bootstrap4 .select2-selection {
    background-color: #1a1a1a !important; /* Hintergrund wie Card-Body */
    border-color: rgba(255, 255, 255, 0.1) !important; /* Dezenter Rahmen */
}

/* Dropdown-Pfeil im Dark Mode */
[data-bs-theme=dark] .select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow b {
    border-top-color: rgba(255, 255, 255, 0.7) !important; /* Farbe des Pfeils */
}

/* Dropdown-Menü (wenn es geöffnet ist) im Dark Mode */
[data-bs-theme=dark] .select2-container--bootstrap4 .select2-dropdown {
    background-color: #1a1a1a !important; /* Hintergrund des Dropdowns */
    border-color: rgba(255, 255, 255, 0.1) !important; /* Rahmen des Dropdowns */
}

/* Suchfeld im Dropdown im Dark Mode (falls vorhanden) */
[data-bs-theme=dark] .select2-search__field {
    background-color: #121212 !important; /* Dunklerer Hintergrund für das Suchfeld */
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Einzelne Optionen im Dropdown im Dark Mode */
[data-bs-theme=dark] .select2-results__option {
    background-color: #1a1a1a !important; /* Hintergrund der Optionen */
    color: rgba(255, 255, 255, 0.9) !important; /* Textfarbe der Optionen */
}

/* Hover-Zustand für Optionen im Dark Mode */
[data-bs-theme=dark] .select2-results__option--highlighted {
    background-color: rgba(75, 54, 102, 0.5) !important; /* Purpur-Hintergrund beim Hover */
    color: #ffffff !important; /* Weißer Text beim Hover */
}

/* Ausgewählte Option im Dark Mode */
[data-bs-theme=dark] .select2-results__option[aria-selected=true] {
    background-color: rgba(75, 54, 102, 0.7) !important; /* Dunkleres Purpur für ausgewählte Optionen */
    color: #ffffff !important; /* Weißer Text für ausgewählte Optionen */
}

/* Disabled State für Select2 im Dark Mode */
[data-bs-theme=dark] .select2-container--bootstrap4 .select2-selection--single.select2-selection--disabled {
    background-color: #0d0d0d !important; /* Sehr dunkler Hintergrund für deaktiviertes Feld */
    border-color: rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 0.4) !important; /* Ausgegrauter Text */
}

.header-banner{
	position: relative;
	overflow: hidden;
}

.navbar {
    position: absolute; /* Navbar absolut positionieren */
    width: 100%; /* Volle Breite einnehmen */
    z-index: 1050; /* Sicherstellen, dass die Navbar über anderen Elementen liegt */
    background-color: transparent !important;
    box-shadow: none !important;
    padding-top: 1rem; /* Eventuell Anpassung für den Abstand zum oberen Rand */
    padding-bottom: 1rem;
}

[data-bs-theme=dark] .navbar {
    background-color: transparent !important;
    box-shadow: none !important;
}

.navbar-expand-md .navbar-collapse {
    justify-content: center; /* Navbar-Inhalte zentrieren */
}

.navbar-nav {
    width: 100%; /* Ensure the ul takes full width to center its items */
    justify-content: center; /* Center the actual nav items */
}

[data-bs-theme=dark] .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.75) !important;
    position: relative; /* Needed for pseudo-elements */
    z-index: 1; /* Ensure text is above the blur effect */
    transition: all 0.3s ease-in-out; /* Smooth transition for hover/active states */
}

[data-bs-theme=dark] .navbar-nav .nav-link:hover,
[data-bs-theme=dark] .navbar-nav .nav-link.active {
    color: #fff !important;
}

/* Blurred background for active/hovered nav item */
[data-bs-theme=dark] .navbar-nav .nav-item .nav-link::before {
    content: '';
    position: absolute;
    top: -8px; /* Adjust padding for the box */
    left: -12px; /* Adjust padding for the box */
    right: -12px; /* Adjust padding for the box */
    bottom: -8px; /* Adjust padding for the box */
    background-color: rgba(75, 54, 102, 0.5); /* Semi-transparent purpur color */
    border-radius: 8px; /* Rounded corners for the box */
    backdrop-filter: blur(10px); /* Apply blur effect */
    z-index: -1; /* Place behind the text */
    opacity: 0; /* Hidden by default */
    transition: opacity 0.3s ease-in-out;
}

[data-bs-theme=dark] .navbar-nav .nav-item .nav-link:hover::before,
[data-bs-theme=dark] .navbar-nav .nav-item.active .nav-link::before {
    opacity: 1; /* Show on hover and for active item */
}


.header-banner {
    position: relative;
    height: 500px; /* Höhe des Banners weiter vergrößert */
    overflow: hidden;
}

.header-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-banner-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 70%, rgba(0, 0, 0, 0.9) 100%);
    backdrop-filter: blur(5px);
}

/* Anpassung der Akzentfarben */
a {
    color: #9FA8D8;
}

a:hover {
    color: #6D97D8;
}

/* Beispiel für Navbar-Links (falls nicht schon in tabler.min.css überschrieben) */
.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.7);
    padding: 0.75rem 1.5rem; /* Ursprüngliches Padding wiederhergestellt */
    margin: 0 0.75rem; /* Ursprünglicher Margin wiederhergestellt */
    border-radius: 8px;
    position: relative; /* Wichtig für das Positionieren des Pseudo-Elements */
    z-index: 1; /* Sicherstellen, dass der Link über dem Pseudo-Element liegt */
    overflow: hidden; /* Sicherstellen, dass das Pseudo-Element nicht überläuft */
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%; /* Startpunkt in der Mitte */
    transform: translateX(-50%); /* Zentrieren */
    width: calc(100% - 2rem); /* Breitenanpassung: 100% der Link-Breite minus 2rem für schmaleren Kasten */
    height: 100%;
    border-radius: 8px;
    background-color: transparent; /* Standardmäßig transparent */
    backdrop-filter: blur(0px); /* Standardmäßig kein Blur */
    -webkit-backdrop-filter: blur(0px);
    box-shadow: none;
    transition: all 0.3s ease; /* Übergang für sanfte Animation */
    z-index: -1; /* Hinter dem Inhalt des Links */
}

.navbar-nav .nav-link:hover::before {
    background-color: transparent; /* Hintergrundfarbe entfernt */
    backdrop-filter: none; /* Blur-Effekt entfernt */
    -webkit-backdrop-filter: none;
    box-shadow: none; /* Schatteneffekt entfernt */
}

.navbar-nav .nav-link.active::before {
    background-color: transparent; /* Hintergrundfarbe entfernt */
    backdrop-filter: none; /* Blur-Effekt entfernt */
    -webkit-backdrop-filter: none;
    box-shadow: none; /* Schatteneffekt entfernt */
}

/* Entferne die direkten Hover/Active Stile vom .nav-link, da sie jetzt vom ::before übernommen werden */
.navbar-nav .nav-link:hover {
    color: #9FA8D8; /* Nur die Textfarbe ändern */
    background-color: transparent; /* Sicherstellen, dass kein Hintergrund mehr direkt auf .nav-link ist */
}

.navbar-nav .nav-link.active {
    color: #9FA8D8; /* Nur die Textfarbe ändern */
    background-color: transparent; /* Sicherstellen, dass kein Hintergrund mehr direkt auf .nav-link ist */
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* Anpassung des Pseudo-Elements für den geblurrten Kasten, um das neue Padding zu berücksichtigen */
[data-bs-theme=dark] .navbar-nav .nav-item .nav-link::before {
    content: '';
    position: absolute;
    top: -10px; /* Anpassen für das neue Padding */
    left: -20px; /* Anpassen für das neue Padding */
    right: -20px; /* Anpassen für das neue Padding */
    bottom: -10px; /* Anpassen für das neue Padding */
    background-color: transparent; /* Hintergrundfarbe entfernt */
    border-radius: 8px;
    backdrop-filter: none; /* Blur-Effekt entfernt */
    z-index: -1;
    opacity: 0; /* Bleibt standardmäßig ausgeblendet */
    transition: none; /* Keine Übergänge für das Ausblenden */
}

[data-bs-theme=dark] .navbar-nav .nav-item .nav-link:hover::before,
[data-bs-theme=dark] .navbar-nav .nav-item.active .nav-link::before {
    opacity: 0; /* Sicherstellen, dass es auf Hover und Active nicht angezeigt wird */
}

.header-banner-logo {
    max-width: 300px; /* Logo-Breite erhöht */
    height: auto;
    animation: float 6s ease-in-out infinite; /* Animation anwenden */
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px); /* Logo schwebt 15px nach oben */
    }
    100% {
        transform: translateY(0);
    }
}

.header-side-icon {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 50px;
	height: 50px;
	background-color: rgba(255, 255, 255, 0.2);
	border-radius: 0.5rem;
	color: #fff;
}
.header-side-icon svg {
	fill: white;
	width: 30px;
	height: 30px;
}

#powered_by_leaderos {
	color: var(--body-color);
}

[data-bs-theme=dark] .navbar-brand-autodark .navbar-brand-image {
	filter: none !important;
}
.auth-logo {
	max-height: 100px;
}
.auth-layout #powered_by_leaderos {
	opacity: 0.75;
}
[data-bs-theme=dark] .auth-layout #powered_by_leaderos {
	opacity: 0.5;
}
.toggle-password {
	line-height: 1;
}

.user-data {
	display: flex;
	align-items: center;
	padding: 8px;
}

.user-data:nth-child(2n) {
	border-right: none !important;
}

.user-data:last-child {
	border-bottom: none;
}

/* Mobile */
@media (max-width: 768px) {
	.user-data {
		border-right: none !important;
	}
}

.sidebar-profile-card .sidebar-link {
	display: flex;
	align-items: center;
	padding: 0.5rem 1.5rem;
	color: rgba(255, 255, 255, 0.7); /* Standardtextfarbe im Dark Mode */
	text-decoration: none !important;
}
.sidebar-profile-card .sidebar-link:hover,
.sidebar-profile-card .sidebar-link.active {
	background-color: rgba(75, 54, 102, 0.3); /* Hellerer Purpur-Hintergrund beim Hover/Active */
    color: #9FA8D8 !important; /* Akzentfarbe für Text beim Hover/Active */
}

/* Sicherstellen, dass Icons in der Seitenleiste auch unsere Akzentfarbe bekommen */
.sidebar-profile-card .sidebar-link i {
    color: rgba(255, 255, 255, 0.7); /* Standard-Icon-Farbe */
}

.sidebar-profile-card .sidebar-link:hover i,
.sidebar-profile-card .sidebar-link.active i {
    color: #9FA8D8 !important; /* Akzentfarbe für Icons beim Hover/Active */
}

/* Anpassung der Titel in der Seitenleiste (z.B. MY ACCOUNT, SETTINGS) */
[data-bs-theme=dark] .sidebar-profile-card h3.bg-body {
    background-color: #1a1a1a !important; /* Dunkles Grau für die Titel-Hintergründe */
    color: rgba(255, 255, 255, 0.9) !important; /* Sicherstellen, dass die Textfarbe hell ist */
}

/* Sicherstellen, dass der Hintergrund der Sidebar-Card generell korrekt ist */
[data-bs-theme=dark] .sidebar-profile-card {
    background-color: #1a1a1a !important; /* Hintergrund der gesamten Sidebar-Card auf dunkles Grau setzen */
    border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-bs-theme=dark] .sidebar-profile-card .card-header,
[data-bs-theme=dark] .sidebar-profile-card .card-body {
    background-color: #1a1a1a !important; /* Hintergrund von Header und Body der Sidebar-Card auf dunkles Grau setzen */
}

/* Anpassung der Sidebar-Links für den Dark Mode */
.sidebar-profile-card .sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.5rem 1.5rem;
    color: rgba(255, 255, 255, 0.7); /* Standardtextfarbe im Dark Mode */
    text-decoration: none !important;
}
.sidebar-profile-card .sidebar-link:hover,
.sidebar-profile-card .sidebar-link.active {
    background-color: rgba(75, 54, 102, 0.3) !important; /* Purpur-Hintergrund beim Hover/Active */
    color: #9FA8D8 !important; /* Akzentfarbe für Text beim Hover/Active */
}

/* Sicherstellen, dass Icons in der Seitenleiste auch unsere Akzentfarbe bekommen */
.sidebar-profile-card .sidebar-link i {
    color: rgba(255, 255, 255, 0.7); /* Standard-Icon-Farbe */
}

.sidebar-profile-card .sidebar-link:hover i,
.sidebar-profile-card .sidebar-link.active i {
    color: #9FA8D8 !important; /* Akzentfarbe für Icons beim Hover/Active */
}

/* Anpassung für alle Tabellenheader im Dark Mode */
[data-bs-theme=dark] th {
    color: #9FA8D8 !important; /* Purpur-Akzentfarbe für Tabellenüberschriften */
    background-color: #1a1a1a !important; /* Hintergrund, der sich abhebt */
}

/* Sicherstellen, dass der View All Link auch im Purpur-Ton ist */
.card-header a {
    color: #9FA8D8 !important;
}

.card-header a:hover {
    color: #6D97D8 !important;
}

/* Anpassung der Forum-Kategorie-Titel und Widget-Titel */
[data-bs-theme=dark] .card-header .card-title.h3,
[data-bs-theme=dark] .card-header .card-title.fs-100 {
    color: rgba(255, 255, 255, 0.9) !important; /* Haupttitel des Forums auf helles Weiß setzen */
}

/* Anpassung der Subkategorie-Bilder im Forum */
.forum-section .card-body img {
    border: none !important; /* Umrandung der Icons entfernen */
    border-radius: 4px;
    transition: all 0.3s ease;
}

.forum-section .card-body img:hover {
    border-color: #9FA8D8; /* Purpur-Rand beim Hover */
}

/* Anpassung der Hauptlinks für Unterkategorien (z.B. Updates, Announcement, Talk) */
/* Diese Regel zielt nun spezifisch auf Links in der linken, breiteren Spalte (.col-md-8) ab */
.col-md-8 .forum-section .card-body .row .col a.fw-bold {
    color: #9FA8D8 !important; /* Purpur-Akzentfarbe für diese Links */
    font-size: 1.25rem !important; /* Schriftgröße für Haupt-Subkategorie-Links auf eine Zwischengröße angepasst */
}

/* Verbesserung der Lesbarkeit von kleinem Text (z.B. Datumsangaben) */
.forum-section .small,
.forum-section .text-muted {
    color: rgba(255, 255, 255, 0.6) !important; /* Etwas helleres Grau für bessere Lesbarkeit */
}

/* Anpassung der Forum-Online-Benutzerliste */
.forum-online-users a {
    color: #9FA8D8 !important; /* Purpur-Akzentfarbe für Benutzernamen */
}

.forum-online-users a:not(:last-child)::after {
    color: rgba(255, 255, 255, 0.6) !important; /* Farbe des Kommas anpassen */
}

/* Anpassung der Links innerhalb der Unterkategorien (z.B. Discord Updates, Game Updates) */
.forum-section .card-body .row .col a.small {
    color: rgba(255, 255, 255, 0.7) !important; /* Etwas helleres Grau für Standard-Links */
    transition: color 0.3s ease;
}

.forum-section .card-body .row .col a.small:hover {
    color: #9FA8D8 !important; /* Purpur-Akzent beim Hover */
}

/* Anpassung der Icons neben den Unterkategorien-Links */
.forum-section .card-body .row .col a.small i {
    color: rgba(255, 255, 255, 0.5) !important; /* Dezentere Icon-Farbe */
    transition: color 0.3s ease;
}

.forum-section .card-body .row .col a.small:hover i {
    color: #9FA8D8 !important; /* Purpur-Akzent für Icons beim Hover */
}

/* Sicherstellen, dass die Trennlinie zwischen den Unterkategorien sichtbar ist */
.forum-section .card-body.border-bottom-separator > .row {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08); /* Dezente Trennlinie */
}

.forum-section .card-body.border-bottom-separator > .row:last-child {
    border-bottom: none; /* Keine Trennlinie nach dem letzten Element */
}

.avatar-150px {
	width: 150px;
	height: 150px;
}

/* Globale Dark Mode Hintergrundfarben und Ränder anpassen */
[data-bs-theme=dark] {
    --tblr-bg-surface: #000000; /* Haupt-Hintergrund auf Pechschwarz */
    --tblr-body-bg: #000000 !important; /* Sicherstellen, dass der Body-Hintergrund auch Pechschwarz ist */
    --tblr-bg-forms: #1a1a1a; /* Etwas helleres Grau für Formular-Hintergründe bleibt */
    --tblr-border-color: rgba(255, 255, 255, 0.1);
    --tblr-border-color-translucent: rgba(255, 255, 255, 0.05);
}

/* Sicherstellen, dass der Body und die Hauptseiten-Wrapper-Elemente pechschwarz sind */
body[data-bs-theme=dark],
html[data-bs-theme=dark],
.page[data-bs-theme=dark] {
    background-color: #000000 !important;
}

/* CKEditor Hintergründe anpassen */
[data-bs-theme=dark] .ck-editor .ck-toolbar {
	background: var(--tblr-bg-forms) !important; /* Passt zum neuen Formular-Hintergrund */
	border-color: var(--tblr-bg-forms) !important;
}
[data-bs-theme=dark] .ck-editor .ck-list__item {
	background: var(--tblr-bg-forms) !important; /* Passt zum neuen Formular-Hintergrund */
	border-color: var(--tblr-bg-forms) !important;
}

.unauthenticated-banner {
    background-color: #121212; /* Sehr dunkler Hintergrund für den Banner */
    padding: 2.5rem 3rem; /* Horizontales Padding, wie zuvor erhöht */
    margin-top: -75px; /* Negativer Margin, um den Banner über den Header zu ziehen */
    border-radius: 0.5rem; /* Abgerundete Ecken */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); /* Stärkerer Schatten für mehr Tiefe */
    position: relative; /* Wichtig für z-index */
    z-index: 10; /* Stellen Sie sicher, dass es über dem Header-Banner liegt */
    max-width: 1050px; /* Breite des Banners erhöht, um es länglicher zu machen */
    margin-left: auto; /* Zentriert den Banner */
    margin-right: auto; /* Zentriert den Banner */
}

.unauthenticated-banner-icon {
    width: 60px; /* Angepasste Größe für das Icon */
    height: 60px;
    object-fit: contain;
}

.unauthenticated-banner-title {
    color: #ffffff; /* Weißer Titel */
    margin-bottom: 0.25rem;
}

.unauthenticated-banner-description {
    color: rgba(255, 255, 255, 0.7); /* Hellerer Text für die Beschreibung */
    margin-bottom: 0;
}

.unauthenticated-banner .btn-primary {
    background-color: #9FA8D8; /* Purpur-Akzentfarbe für Buttons */
    border-color: #9FA8D8;
    color: #121212; /* Dunkle Textfarbe für bessere Lesbarkeit auf hellem Purpur */
    font-weight: 600;
}

.unauthenticated-banner .btn-primary:hover {
    background-color: #6D97D8; /* Dunkleres Purpur/Blau beim Hover */
    border-color: #6D97D8;
    color: #ffffff; /* Weißer Text beim Hover */
}

/* RESPONSIVE ANPASSUNGEN für den Unauthenticated Banner */
@media (max-width: 767px) {
    .unauthenticated-banner {
        margin-top: -50px; /* Weniger Überlappung auf kleineren Bildschirmen */
        padding: 1rem;
    }

    .unauthenticated-banner .row {
        flex-direction: column; /* Elemente vertikal stapeln */
        text-align: center;
    }

    .unauthenticated-banner .col-md-8,
    .unauthenticated-banner .col-md-4 {
        margin-bottom: 1rem; /* Abstand zwischen den gestapelten Spalten */
        width: 100%;
        text-align: center;
    }

    .unauthenticated-banner .d-flex.align-items-center {
        justify-content: center; /* Icon und Text zentrieren */
    }

    .unauthenticated-banner .d-flex.justify-content-end {
        justify-content: center; /* Buttons zentrieren */
    }

    .unauthenticated-banner .btn {
        width: 100%; /* Buttons volle Breite */
        margin-bottom: 0.5rem;
    }

    .unauthenticated-banner .btn:last-child {
        margin-bottom: 0;
    }
}

/* Anpassung der Scrollleiste, um die Lücke zu entfernen */
/* Für Webkit-Browser (Chrome, Safari, Edge, Opera, Opera GX) */
::-webkit-scrollbar {
    width: 0 !important; /* Breite der Scrollleiste auf 0 setzen */
    height: 0 !important; /* Höhe für horizontale Scrollleisten */
    background: transparent !important; /* Hintergrund der Scrollleiste transparent machen */
}

/* Scrollbar-Track (Hintergrundbereich der Scrollleiste) */
::-webkit-scrollbar-track {
    background: transparent !important;
}

/* Scrollbar-Thumb (der bewegliche Teil der Scrollleiste) */
::-webkit-scrollbar-thumb {
    background: transparent !important;
}

/* Für Firefox */
html {
    scrollbar-width: none !important; /* Scrollleiste ausblenden */
    scrollbar-color: transparent transparent !important; /* Farbe der Scrollleiste transparent machen */
}

/* Sicherstellen, dass body oder html kein störendes Overflow-Verhalten haben und keine Lücken verursachen */
body, html {
    overflow-x: hidden !important; /* Horizontalen Scrollbalken komplett verstecken und Überlauf verhindern */
    margin: 0 !important; /* Sicherstellen, dass kein Standard-Margin die Lücke verursacht */
    padding: 0 !important; /* Sicherstellen, dass kein Standard-Padding die Lücke verursacht */
}

/* Anpassung der Listengruppen (z.B. in Forum-Widgets) für den Dark Mode */
[data-bs-theme=dark] .list-group-item {
    background-color: #0a0a0a !important; /* Etwas dunkler als die Card, um Tiefe zu schaffen */
    color: rgba(255, 255, 255, 0.8) !important; /* Hellerer Text für bessere Lesbarkeit */
    border-color: rgba(255, 255, 255, 0.08) !important; /* Dezente Trennlinien */
    padding: 1rem 1.25rem; /* Angepasstes Padding */
}

/* Sicherstellen, dass Links innerhalb der Listenelemente unsere Akzentfarbe haben */
[data-bs-theme=dark] .list-group-item a {
    color: #9FA8D8 !important; /* Purpur-Akzentfarbe für Links */
}

[data-bs-theme=dark] .list-group-item a:hover {
    color: #6D97D8 !important; /* Dunkleres Purpur/Blau beim Hover */
}

/* Anpassung für Icons innerhalb der Listenelemente */
[data-bs-theme=dark] .list-group-item i {
    color: #9FA8D8 !important; /* Icons ebenfalls in Akzentfarbe */
}

/* Eventuelle Anpassungen für den "Nicht gefunden!" Text */
[data-bs-theme=dark] .list-group-item .text-danger {
    color: #ef5350 !important; /* Sicherstellen, dass die Warnfarbe sichtbar ist */
}

/* Anpassungen für Listengruppen-Aktionen (hover state) */
[data-bs-theme=dark] .list-group-item-action:hover {
    background-color: #121212 !important; /* Leichterer Hover-Effekt */
}

/* Anpassung für Modal-Popups (z.B. Minecraft Copy Success) im Dark Mode */
[data-bs-theme=dark] .modal-content {
    background-color: #1a1a1a !important; /* Dunkler Hintergrund für das Modal */
    color: rgba(255, 255, 255, 0.9) !important; /* Hellerer Text */
    border-color: rgba(255, 255, 255, 0.1) !important; /* Dezenter Rand */
}

/* Sicherstellen, dass der Haupt-SweetAlert2-Popup-Hintergrund dunkel ist */
[data-bs-theme=dark] .swal2-popup {
    background-color: #1a1a1a !important; /* Dunkler Hintergrund für SweetAlert2 Popups */
    color: rgba(255, 255, 255, 0.9) !important; /* Hellerer Text für den Pop-up-Inhalt */
    border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-bs-theme=dark] .modal-header {
    background-color: #1a1a1a !important; /* Hintergrund für den Modal-Header */
    border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-bs-theme=dark] .modal-body {
    background-color: #1a1a1a !important; /* Hintergrund für den Modal-Body */
}

[data-bs-theme=dark] .modal-footer {
    background-color: #1a1a1a !important; /* Hintergrund für den Modal-Footer */
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Sicherstellen, dass der Erfolgshaken grün bleibt, aber der Text dazu passt */
[data-bs-theme=dark] .swal2-success-ring {
    border-color: #4CAF50 !important; /* Grüner Ring */
}

[data-bs-theme=dark] .swal2-success-line-tip,
[data-bs-theme=dark] .swal2-success-line-long {
    background-color: #4CAF50 !important; /* Grüne Hakenlinien */
}

[data-bs-theme=dark] .swal2-title {
    color: rgba(255, 255, 255, 0.9) !important; /* Heller Titeltext */
}

[data-bs-theme=dark] .swal2-html-container {
    color: rgba(255, 255, 255, 0.7) !important; /* Hellerer Beschreibungstext */
}

[data-bs-theme=dark] .swal2-styled.swal2-confirm {
    background-color: #9FA8D8 !important; /* Purpur-Button für "OK" */
    color: #1a1a1a !important; /* Dunkler Text auf dem Purpur-Button */
    border-color: #9FA8D8 !important;
}

[data-bs-theme=dark] .swal2-styled.swal2-confirm:hover {
    background-color: #6D97D8 !important; /* Dunkleres Purpur/Blau beim Hover */
    border-color: #6D97D8 !important;
    color: #ffffff !important;
}

/* Anpassung der Discord- und Game-IP-Akzentboxen im Header-Banner */
.header-banner-content .col-md-4 > a.no-underline {
    background-color: rgba(75, 54, 102, 0.4) !important; /* Semi-transparentes Purpur */
    border-radius: 8px;
    padding: 0.75rem 1rem; /* Angepasstes Padding für die Boxgröße */
    transition: background-color 0.3s ease;
    display: flex; /* Sicherstellen, dass die Inhalte flexibel angeordnet werden */
    align-items: center; /* Inhalte vertikal zentrieren */
}

.header-banner-content .col-md-4 > a.no-underline:hover {
    background-color: rgba(75, 54, 102, 0.6) !important; /* Etwas dunkler beim Hover */
}

/* Hintergrund des header-side-icon transparent machen, da der Parent den Hintergrund bekommt */
.header-side-icon {
    background-color: transparent !important;
    border: none !important;
}

/* Farbe der SVG-Icons im header-side-icon auf helles Purpur ändern */
.header-side-icon svg {
    fill: #9FA8D8 !important; /* Helles Purpur für die SVG-Icons */
}

/* Sicherstellen, dass der Text in diesen Boxen sichtbar ist */
.header-banner-content .col-md-4 > a .text-white,
.header-banner-content .col-md-4 > a div[style="color: #bbb;"] span {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Anpassung der Forum-Sektionen und ihrer Elemente */
/* Sicherstellen, dass die Hauptkategorietitel (z.B. "Server") gut sichtbar sind */
[data-bs-theme=dark] .col-md-8 .forum-section .card-header .card-title.h3,
[data-bs-theme=dark] .col-md-8 .forum-section .card-header .card-title.fs-100 {
    color: rgba(255, 255, 255, 0.9) !important; /* Helles Weiß für die Haupttitel */
    font-size: 1.6rem !important; /* Größe der Hauptkategorietitel beibehalten */
}

/* Anpassung der Hintergrundfarbe der einzelnen Unterkategorie-Einträge (z.B. Updates, Announcement) */
[data-bs-theme=dark] .forum-section .card-body.border-bottom-separator > .row {
    background-color: #1a1a1a !important; /* Hintergrundfarbe wie die Cards selbst */
    padding: 1.1rem 1.25rem !important; /* Padding angepasst, um mehr Platz zu geben */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08); /* Dezente Trennlinie */
}

/* Keine Trennlinie nach dem letzten Element in der Liste */
[data-bs-theme=dark] .forum-section .card-body.border-bottom-separator > .row:last-child {
    border-bottom: none !important;
}

/* Anpassung der Subkategorie-Bilder im Forum */
.forum-section .card-body img {
    border: none !important; /* Umrandung der Icons entfernen */
    border-radius: 4px;
    transition: all 0.3s ease;
}

.forum-section .card-body img:hover {
    border-color: #9FA8D8; /* Purpur-Rand beim Hover */
}

/* Anpassung der Hauptlinks für Unterkategorien (z.B. Updates, Announcement, Talk) */
/* Diese Regel zielt nun spezifisch auf Links in der linken, breiteren Spalte (.col-md-8) ab */
.col-md-8 .forum-section .card-body .row .col a.fw-bold {
    color: #9FA8D8 !important; /* Purpur-Akzentfarbe für diese Links */
    font-size: 1.6rem !important; /* Schriftgröße für Haupt-Subkategorie-Links angepasst */
}

/* Verbesserung der Lesbarkeit von kleinem Text (z.B. Datumsangaben) */
/* Diese Regel zielt nun spezifisch auf den Text in der linken, breiteren Spalte (.col-md-8) ab */
.col-md-8 .forum-section .small,
.col-md-8 .forum-section .text-muted {
    color: rgba(255, 255, 255, 0.75) !important; /* Etwas helleres Grau für bessere Lesbarkeit */
    font-size: 1rem !important; /* Schriftgröße für kleinen Text auf 1rem setzen */
}

/* Anpassung der Links innerhalb der Unterkategorien (z.B. Discord Updates, Game Updates) */
/* Diese Regel zielt nun spezifisch auf Links in der linken, breiteren Spalte (.col-md-8) ab */
.col-md-8 .forum-section .card-body .row .col a.small, /* Ziele die mit small anfangen */
.col-md-8 .forum-section .card-body .row .col a.fs-6 /* Ziele die mit fs-6 anfangen */
{
    color: rgba(255, 255, 255, 0.85) !important; /* Helleres Grau für Standard-Links */
    transition: color 0.3s ease;
    font-size: 1.1rem !important; /* Schriftgröße für diese Links erhöht */
}

.col-md-8 .forum-section .card-body .row .col a.small:hover,
.col-md-8 .forum-section .card-body .row .col a.fs-6:hover {
    color: #9FA8D8 !important; /* Purpur-Akzent beim Hover */
}

/* Anpassung der Icons neben den Unterkategorien-Links */
/* Diese Regel zielt nun spezifisch auf Icons in der linken, breiteren Spalte (.col-md-8) ab */
.col-md-8 .forum-section .card-body .row .col a.small i,
.col-md-8 .forum-section .card-body .row .col a.fs-6 i {
    color: rgba(255, 255, 255, 0.8) !important; /* Dezentere Icon-Farbe */
    font-size: 1.1em !important; /* Icon-Größe leicht erhöhen */
    transition: color 0.3s ease;
}

.col-md-8 .forum-section .card-body .row .col a.small:hover i,
.col-md-8 .forum-section .card-body .row .col a.fs-6:hover i {
    color: #9FA8D8 !important; /* Purpur-Akzent für Icons beim Hover */
}

/* Anpassung der Avatare in den Widgets "Latest Threads" / "Latest Replies" */
.forum-section .card-body .avatar.avatar-md {
    width: 48px !important; /* Avatar-Größe erhöhen */
    height: 48px !important;
}

/* Anpassung der Titel der Widgets (Latest Threads, Latest Replies, Members Online) */
[data-bs-theme=dark] .forum-section .card-header .card-title {
    font-size: 1.1rem !important; /* Schriftgröße der Widget-Titel beibehalten */
}

/* Anpassung der Schriftgröße der Thread-Titel in den Widgets */
/* Diese Regel zielt nun spezifisch auf Titel in der rechten, schmaleren Spalte (.col-md-4) ab */
[data-bs-theme=dark] .col-md-4 .forum-section .card-body .col a.fw-bold {
    font-size: 1rem !important; /* Schriftgröße der Thread-Titel auf 1rem setzen */
}

/* Anpassung der Forum-Online-Benutzerliste */
/* Diese Regel zielt nun spezifisch auf Benutzernamen in der rechten, schmaleren Spalte (.col-md-4) ab */
.col-md-4 .forum-online-users a {
    color: #9FA8D8 !important; /* Purpur-Akzentfarbe für Benutzernamen */
    font-size: 1rem !important; /* Schriftgröße der Benutzernamen auf 1rem setzen */
}

.col-md-4 .forum-online-users a:not(:last-child)::after {
    color: rgba(255, 255, 255, 0.7) !important; /* Farbe des Kommas anpassen */
}

/* Anpassung des "Not Found!" Textes in den Widgets */
/* Diese Regel zielt nun spezifisch auf den "Not Found!" Text in der rechten, schmaleren Spalte (.col-md-4) ab */
[data-bs-theme=dark] .col-md-4 .forum-section .card-body .text-danger {
    font-size: 1rem !important; /* Schriftgröße des "Not Found" Textes auf 1rem setzen */
}

/* Anpassung des Thread-Titels auf der show.php */
[data-bs-theme=dark] .forum-section h1.h3.fw-bold {
    color: rgba(255, 255, 255, 0.9) !important; /* Helleres Weiß für Haupttitel */
    font-size: 1.8rem !important; /* Größe etwas größer als Kategorietitel */
}

/* Anpassung der Informationen unter dem Thread-Titel (Benutzer, Datum, Views) */
[data-bs-theme=dark] .forum-section .d-flex[style="font-size: 14px;"] span {
    color: rgba(255, 255, 255, 0.7) !important; /* Etwas helleres Grau für Lesbarkeit */
}

[data-bs-theme=dark] .forum-section .d-flex[style="font-size: 14px;"] i {
    color: #9FA8D8 !important; /* Purpur-Akzent für Icons */
}

[data-bs-theme=dark] .forum-section .d-flex[style="font-size: 14px;"] a {
    color: #9FA8D8 !important; /* Purpur-Akzent für Benutzernamen */
}

/* Anpassung der Avatare im Thread/Reply-Post */
.forum-avatar img {
    border-radius: 0.5rem !important; /* Leicht abgerundete Ecken für Avatare */
    border: 1px solid rgba(255, 255, 255, 0.1) !important; /* Dezenter Rahmen */
}

/* Anpassung der Benutzernamen und Rollen unter den Avataren */
[data-bs-theme=dark] .forum-section .card-body .username__default,
[data-bs-theme=dark] .forum-section .card-body .username__admin, /* Beispiel, falls Admin andere Farbe hat */
[data-bs-theme=dark] .forum-section .card-body .username__moderator {
    color: #9FA8D8 !important; /* Akzentfarbe für Benutzernamen */
}

/* Anpassung der Rollen-Badges */
.role__default {
    background: rgba(75, 54, 102, 0.5) !important; /* Semi-transparentes Purpur */
    color: #fff !important; /* Weißer Text auf dem Badge */
}

/* Inhalt des Forum-Posts (Thread/Reply) */
[data-bs-theme=dark] .forum-content {
    color: rgba(255, 255, 255, 0.9) !important; /* Hellerer Text für den Hauptinhalt */
}

/* Footer-Bereich des Posts (Datum, Edit, Delete Links) */
[data-bs-theme=dark] .border-top.small {
    color: rgba(255, 255, 255, 0.6) !important; /* Standardtextfarbe für kleinen Text */
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important; /* Dezente Trennlinie */
}

[data-bs-theme=dark] .border-top.small .no-underline {
    color: #9FA8D8 !important; /* Purpur-Akzentfarbe für Aktionslinks */
}

[data-bs-theme=dark] .border-top.small .no-underline:hover {
    color: #6D97D8 !important; /* Dunkleres Purpur/Blau beim Hover */
}

[data-bs-theme=dark] .border-top.small .no-underline i {
    color: #9FA8D8 !important; /* Purpur-Akzent für Icons in Aktionslinks */
}

[data-bs-theme=dark] .border-top.small .no-underline.text-danger {
    color: #f5365c !important; /* Rote Farbe für Lösch-Links beibehalten */
}

[data-bs-theme=dark] .border-top.small .no-underline.text-danger i {
    color: #f5365c !important; /* Rote Farbe für Lösch-Icons beibehalten */
}

/* CKEditor Anpassungen (falls nicht schon abgedeckt) */
[data-bs-theme=dark] .ck-editor__editable {
    background: #1a1a1a !important; /* Hintergrund des Editors wie Cards */
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.9) !important; /* Textfarbe im Editor */
}

[data-bs-theme=dark] .ck-editor .ck-toolbar {
    background: #1a1a1a !important; /* Toolbar-Hintergrund wie Cards */
    border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-bs-theme=dark] .ck-editor .ck-button {
    color: rgba(255, 255, 255, 0.8) !important; /* Icons/Text in der Toolbar */
}

[data-bs-theme=dark] .ck-editor .ck-button:hover {
    background-color: rgba(75, 54, 102, 0.3) !important; /* Purpur-Hintergrund beim Hover */
}

/* Warnmeldungen im Forum (z.B. "This thread is locked but you can reply.") */
[data-bs-theme=dark] .small.text-warning {
    color: #fb6340 !important; /* Orange für Warnungen */
}

/* NEUE REGELN FÜR FORUM CREATE/EDIT/SHOW SEITEN */

/* Anpassung der Labels für Formularfelder */
[data-bs-theme=dark] .form-label {
    color: rgba(255, 255, 255, 0.8) !important; /* Hellerer Text für Labels */
}

/* Anpassung der Inputfelder und Textareas (z.B. Titel, CKEditor) */
[data-bs-theme=dark] .form-control {
    background-color: #1a1a1a !important; /* Hintergrund wie Card-Body */
    border-color: rgba(255, 255, 255, 0.1) !important; /* Dezenter Rahmen */
    color: rgba(255, 255, 255, 0.9) !important; /* Heller Text im Feld */
}

/* CKEditor Anpassungen (Toolbar, Hintergrund und allgemeiner Text) */
[data-bs-theme=dark] .ck-editor .ck-toolbar {
    background: #1a1a1a !important; /* Hintergrund der Toolbar */
    border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-bs-theme=dark] .ck-editor .ck-button {
    color: rgba(255, 255, 255, 0.8) !important; /* Icons/Text in der Toolbar */
}

[data-bs-theme=dark] .ck-editor .ck-button:hover {
    background-color: rgba(75, 54, 102, 0.3) !important; /* Purpur-Hintergrund beim Hover */
}

[data-bs-theme=dark] .ck-editor__editable {
    background: #1a1a1a !important; /* Hintergrund des bearbeitbaren Bereichs */
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: rgb(255, 255, 255) !important; /* Reines Weiß für den Text im Editor */
}

/* CKEditor Placeholder Textfarbe */
[data-bs-theme=dark] .ck-placeholder {
    color: rgba(255, 255, 255, 0.8) !important; /* Hellerer, aber noch grauer Platzhaltertext */
}

/* CKEditor Content Styling für Dark Mode (erneute Prüfung und Präzisierung) */
/* Diese Regel stellt sicher, dass der tatsächliche Inhalt hell ist */
[data-bs-theme=dark] .ck-content {
    color: rgb(255, 255, 255) !important; /* Haupttextfarbe im Editor auf rein weiß setzen */
}

[data-bs-theme=dark] .ck-content h1,
[data-bs-theme=dark] .ck-content h2,
[data-bs-theme=dark] .ck-content h3,
[data-bs-theme=dark] .ck-content h4,
[data-bs-theme=dark] .ck-content h5,
[data-bs-theme=dark] .ck-content h6 {
    color: #9FA8D8 !important; /* Purpur für Überschriften */
}

[data-bs-theme=dark] .ck-content a {
    color: #9FA8D8 !important; /* Purpur für Links */
}

[data-bs-theme=dark] .ck-content a:hover {
    color: #6D97D8 !important; /* Dunkleres Purpur/Blau beim Hover */
}

[data-bs-theme=dark] .ck-content ul,
[data-bs-theme=dark] .ck-content ol {
    color: rgba(255, 255, 255, 0.9) !important; /* Listenfarbe */
}

[data-bs-theme=dark] .ck-content blockquote {
    border-left-color: rgba(75, 54, 102, 0.7) !important; /* Purpur für Blockquote-Rand */
    color: rgba(255, 255, 255, 0.8) !important; /* Textfarbe in Blockquotes */
}

[data-bs-theme=dark] .ck-content code {
    background-color: rgba(75, 54, 102, 0.3) !important; /* Helleres Purpur für Inline-Code */
    color: rgba(255, 255, 255, 0.9) !important; /* Textfarbe in Inline-Code */
}

[data-bs-theme=dark] .ck-content pre {
    background-color: #121212 !important; /* Dunklerer Hintergrund für Code-Blöcke */
    border-color: rgba(75, 54, 102, 0.5) !important; /* Purpur-Rand für Code-Blöcke */
    color: rgba(255, 255, 255, 0.9) !important; /* Textfarbe in Code-Blöcken */
}

[data-bs-theme=dark] .ck-content .table table {
    border: 1px double rgba(255, 255, 255, 0.1) !important; /* Dezenterer Tabellenrand */
}

[data-bs-theme=dark] .ck-content .table table td,
[data-bs-theme=dark] .ck-content .table table th {
    border: 1px solid rgba(255, 255, 255, 0.05) !important; /* Dezente Zellenränder */
    color: rgba(255, 255, 255, 0.9) !important; /* Textfarbe in Tabellenzellen */
}

[data-bs-theme=dark] .ck-content .table table th {
    background: rgba(75, 54, 102, 0.2) !important; /* Helleres Purpur für Tabellenköpfe */
    color: #9FA8D8 !important; /* Purpur für Text in Tabellenköpfen */
}

/* Anpassung der Select2 Dropdowns für Dark Mode */
.select2-container--bootstrap4 .select2-selection--single {
	height: calc(1.875em + .75rem + 2px) !important;
}

.select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
	line-height: calc(1.875em + .75rem);
    /* Anpassung der Textfarbe für Select2 im Dark Mode */
    [data-bs-theme=dark] & {
        color: rgba(255, 255, 255, 0.9) !important;
    }
}

.select2-container .select2-selection--single .select2-selection__rendered {
	padding-left: 12px;
}

/* Hintergrund und Rahmen des Select-Feldes im Dark Mode */
[data-bs-theme=dark] .select2-container--bootstrap4 .select2-selection {
    background-color: #1a1a1a !important; /* Hintergrund wie Card-Body */
    border-color: rgba(255, 255, 255, 0.1) !important; /* Dezenter Rahmen */
}

/* Dropdown-Pfeil im Dark Mode */
[data-bs-theme=dark] .select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow b {
    border-top-color: rgba(255, 255, 255, 0.7) !important; /* Farbe des Pfeils */
}

/* Dropdown-Menü (wenn es geöffnet ist) im Dark Mode */
[data-bs-theme=dark] .select2-container--bootstrap4 .select2-dropdown {
    background-color: #1a1a1a !important; /* Hintergrund des Dropdowns */
    border-color: rgba(255, 255, 255, 0.1) !important; /* Rahmen des Dropdowns */
}

/* Suchfeld im Dropdown im Dark Mode (falls vorhanden) */
[data-bs-theme=dark] .select2-search__field {
    background-color: #121212 !important; /* Dunklerer Hintergrund für das Suchfeld */
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Einzelne Optionen im Dropdown im Dark Mode */
[data-bs-theme=dark] .select2-results__option {
    background-color: #1a1a1a !important; /* Hintergrund der Optionen */
    color: rgba(255, 255, 255, 0.9) !important; /* Textfarbe der Optionen */
}

/* Hover-Zustand für Optionen im Dark Mode */
[data-bs-theme=dark] .select2-results__option--highlighted {
    background-color: rgba(75, 54, 102, 0.5) !important; /* Purpur-Hintergrund beim Hover */
    color: #ffffff !important; /* Weißer Text beim Hover */
}

/* Ausgewählte Option im Dark Mode */
[data-bs-theme=dark] .select2-results__option[aria-selected=true] {
    background-color: rgba(75, 54, 102, 0.7) !important; /* Dunkleres Purpur für ausgewählte Optionen */
    color: #ffffff !important; /* Weißer Text für ausgewählte Optionen */
}

/* Disabled State für Select2 im Dark Mode */
[data-bs-theme=dark] .select2-container--bootstrap4 .select2-selection--single.select2-selection--disabled {
    background-color: #0d0d0d !important; /* Sehr dunkler Hintergrund für deaktiviertes Feld */
    border-color: rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 0.4) !important; /* Ausgegrauter Text */
}

/* Anpassung des ReCAPTCHA-Containers */
/* Der reCAPTCHA-Widget selbst ist ein iframe und kann nicht direkt gestylt werden.
   Wir passen den Hintergrund des umgebenden Div an, um es zu integrieren. */
/* Dies zielt auf den Container ab, der in create.php und show.php den reCAPTCHA umgibt */
[data-bs-theme=dark] .mb-3.d-flex.justify-content-end {
    background-color: #1a1a1a !important; /* Hintergrund wie Card-Body, für bessere Integration */
    padding: 1rem !important; /* Mehr Padding für bessere Abgrenzung */
    border-radius: 0.5rem !important;
}

/* Optional: Versuchen, den reCAPTCHA-Iframe selbst zu beeinflussen, falls es einen "dark" Modus hat */
/* Dies ist experimentell und funktioniert nicht immer, da iframes eingeschränkt sind */
[data-bs-theme=dark] iframe[title="reCAPTCHA"] {
    background-color: #f0f0f0 !important; /* Versuche, den Hintergrund des Iframes auf hell zu setzen */
    filter: invert(1) hue-rotate(180deg) !important; /* Optional: Farben invertieren für Dark Mode */
}

/* Anpassungen für Formular-Labels im Dark Mode */
[data-bs-theme=dark] .form-label {
    color: rgba(255, 255, 255, 0.9) !important; /* Helles Weiß für Labels */
}

/* Anpassungen für allgemeine Formularfelder im Dark Mode */
[data-bs-theme=dark] .form-control {
    background-color: #1a1a1a !important; /* Dunkler Hintergrund für Inputfelder */
    color: rgba(255, 255, 255, 0.9) !important; /* Heller Text */
    border-color: rgba(255, 255, 255, 0.1) !important; /* Dezenter Rand */
}

/* Anpassungen für den CKEditor Inhalt im Dark Mode */
/* Der CKEditor-Inhaltsbereich selbst */
[data-bs-theme=dark] .ck-editor__editable,
[data-bs-theme=dark] .ck-editor .ck-content,
[data-bs-theme=dark] .card .ck-editor .ck-content {
    background-color: #1a1a1a !important; /* Dunkler Hintergrund */
    color: rgba(255, 255, 255, 0.9) !important; /* Heller Text */
    border-color: rgba(255, 255, 255, 0.1) !important; /* Dezenter Rand */
}

/* Anpassungen für den CKEditor Platzhalter-Text im Dark Mode */
[data-bs-theme=dark] .ck-placeholder {
    color: rgba(255, 255, 255, 0.4) !important; /* Heller, durchscheinender Platzhalter */
}

/* Anpassungen für die CKEditor Toolbar im Dark Mode */
[data-bs-theme=dark] .ck-editor .ck-toolbar {
    background-color: #1a1a1a !important; /* Dunkler Hintergrund für Toolbar */
    border-color: rgba(255, 255, 255, 0.1) !important; /* Dezenter Rand */
    color: rgba(255, 255, 255, 0.8) !important; /* Heller Text */
}

/* Anpassungen für Toolbar Buttons und Icons im Dark Mode */
[data-bs-theme=dark] .ck-editor .ck-toolbar__items *,
[data-bs-theme=dark] .ck-editor .ck-button {
    color: rgba(255, 255, 255, 0.8) !important; /* Icons und Buttons heller */
}

/* Hover und Fokus Effekte für Toolbar Buttons */
[data-bs-theme=dark] .ck-editor .ck-button:hover,
[data-bs-theme=dark] .ck-editor .ck-button:focus {
    background-color: rgba(75, 54, 102, 0.4) !important; /* Purpur-Hintergrund beim Hover/Fokus */
    color: rgba(255, 255, 255, 1) !important; /* Volles Weiß für Text/Icons */
}

/* Anpassung der CKEditor Dropdowns und Listenelemente (z.B. für Schriftarten, Größen) */
[data-bs-theme=dark] .ck-editor .ck-list__item {
    background-color: #1a1a1a !important; /* Dunkler Hintergrund für Listenelemente */
    color: rgba(255, 255, 255, 0.9) !important; /* Heller Text */
}

/* Anpassung des reCAPTCHA-Iframes im Dark Mode */
/* Sicherstellen, dass der reCAPTCHA-Hintergrund transparent oder passend ist */
[data-bs-theme=dark] iframe[title="reCAPTCHA"] {
    background-color: transparent !important; /* ReCAPTCHA-Hintergrund transparent machen */
}