
body {
    background-color: #0e0e0e;
    color: #e0e0e0;
    font-family: 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

a { color: #5cc9ff; text-decoration: none; }
a:hover { color: #82dfff; }

header {
    background: #1a1a1a;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #222;
    position: static;
    top: 0;
    z-index: 1;
}
header h1 { color: #fff; margin: 0; font-size: 20px; }
nav a { margin: 0 10px; color: #ccc; font-weight: 500; }
nav a:hover { color: #fff; }

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

h1, h2, h3, h4 {
    color: #fff;
    font-weight: 600;
}

::selection {
    background: #af151a;
    color: white;
}

.button, .slr-return, .dataTables_wrapper div.dt-buttons > .dt-button, .btn, #lsf-reset-filters, #slt-reset-filters {
    background-color: #af151a;
    border: none;
    color: #fff;
    padding: 10px 20px;
    margin-top: 10px;
    cursor: pointer;
    line-height: 1em;
    font-size: 16px;
    border-radius: 0px;
    transition: background 0.2s ease-in-out;
    font-family: "Segoe UI", Roboto, sans-serif;
}
.button:hover, .dataTables_wrapper div.dt-buttons > .dt-button:hover, .btn:hover, #lsf-reset-filters:hover, #slt-reset-filters:hover {
    background-color: #912226;
    color: white;
}

.small-btn {
    padding: 5px 10px;
    font-size: 14px;
}

.slr-return {
    margin-top: 0px;
    float: right;
}

.add-new-rental, .button-primary {
    margin-top: 5px !important;
}

#lsf-reset-filters, #slt-reset-filters {
    background-color: #af151a;
    border: none;
    color: #fff;
    padding: 10px 20px;
    margin-top: 0;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}

.dataTables_wrapper div.dt-buttons > .dt-button:hover:not(.disabled) {
    border: 0;
    background-color: #912226;
}

.lsf-filter-reset {
    margin-left: auto;
}

.dataTables_wrapper div.dt-buttons > .dt-button {
    margin-bottom: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #1a1a1a;
    color: #eee;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}
table th, table td {
    padding: 10px;
    border-bottom: 1px solid #333;
}
table th {
    background: #222;
    color: #fff;
}
table tr:hover {
    background: #2a2a2a;
}

.card {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.card h1 {
    margin-top: 0;
}

footer {
    background: #1a1a1a;
    padding: 20px;
    text-align: center;
    color: #777;
    margin-top: 40px;
}

.site-header {
    background: #1a1a1a;
    padding: 15px 30px; /* Mehr seitlicher Abstand */
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #2a2a2a;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 45px; /* Feste Höhe */
}

/* Logo Placeholder Styling */
.logo a {
    color: #ffffff;
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.logo a span {
    color: #af151a; /* Akzentfarbe für einen Teil des Logos */
}

.logo a:hover {
    color: #cccccc;
}

.main-menu ul {
    display: flex;
    gap: 15px; /* Abstand zwischen den Menüpunkten */
    list-style-type: none;
}

/* Main Navigation Styling */
.main-navigation .main-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px; /* Abstand zwischen den Menüpunkten */
}

.main-navigation a {
    display: block;
    color: #e0e0e0;
    padding: 6px 10px; /* Abgerundete Ecken */
    font-weight: 500;
    text-decoration: none;
    position: relative;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease, color 0.3s ease;
}

/* Hover-Effekt für Menüpunkte */
.main-navigation a:hover {
    border-bottom: 3px solid #af151a;
    color: #fff;
}

/* Styling für den aktiven Menüpunkt */
.main-navigation .current-menu-item > a {
    border-bottom: 3px solid #af151a;
    color: #fff;
}

/* Entfernt die alten, einfachen Header-Stile, um Konflikte zu vermeiden */
header h1, nav a {
    /* Diese alten Regeln werden durch die neuen, spezifischeren oben ersetzt. */
    /* Du kannst sie auskommentieren oder löschen, wenn du magst. */
    margin: 0;
}

input, textarea, select {
    font-size: 14px;

}

.lsf-textarea {
    background-color: #0e0e0e;
    border: 0;
    padding: 10px 15px;
    color: white;
}

.lsf-input {
    background-color: #0e0e0e;
    border: 0;
    padding: 10px 15px;
    color: white;
}

.user-form-group {
    display: flex;
    gap: 40px;
}

.slt-ticket-form input[type="text"],
.slt-ticket-form textarea,
#slr-rental-create input[type="text"],
#slr-rental-create textarea {
    width: 100%;
    max-width: 400px;
    padding: 8px;
}

.slt-ticket-form label,
#slr-rental-create label {
    display: block;
    margin-bottom: 5px;
}

textarea {
    height: 120px;
}

.dataTables_wrapper div.dt-buttons > .dt-button {
    background: #af151a;
}

.title-icon {
    margin-right: 7px;
    top: 1px;
    position: relative;
}

.back-link {
    color: white;
}