html,
body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.content {
    flex: 1;
}

footer {
    margin-top: auto;
}

/*

body[data-bs-theme="dark"] {
    background-image: url('/assets/images/wallpapers/big/TribalWarsWallpaper_2_1920x1200.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    color: #fff;
}

*/

/* Dark mode Style */
body[data-bs-theme="dark"] {
    background-color: #121212;
    color: #fff;
}

body[data-bs-theme="dark"] {
    background-color: #121212;
    color: #fff;
}

body[data-bs-theme="dark"] .navbar,
body[data-bs-theme="dark"] .card {
    background-color: #343a40;
    color: white;
}

body[data-bs-theme="dark"] strong,
body[data-bs-theme="dark"] span {
    color: white;
}

body[data-bs-theme="dark"] .dropdown-menu {
    background-color: #343a40;
    color: #ffffff;
    border-color: #444;
}

body[data-bs-theme="dark"] .dropdown-item {
    color: #ffffff;
}

body[data-bs-theme="dark"] .dropdown-item:hover {
    background-color: #495057;
    color: #ffffff;
}

/* Light mode Style */
body[data-bs-theme="light"] {
    background-color: #ffffff;
    color: #000;
}

.dark-mode .dropdown-menu {
    background-color: #343a40;
    color: #fff;
}

.dark-mode .dropdown-item {
    color: #fff;
}

.dark-mode .dropdown-item:hover {
    background-color: #495057;
}

body[data-bs-theme="light"] .dropdown-menu {
    background-color: #ffffff;
    color: #000000;
}

body[data-bs-theme="light"] .dropdown-item {
    color: #000000;
}

/* Gemeinsame Tooltip-Stile */
.tooltip-inner {
    max-width: none !important;
    /* Keine Breitenbegrenzung */
    white-space: normal !important;
    /* Text darf umbrechen */
    padding: 8px 12px;
    font-size: 0.875rem;
    display: inline-block;
    min-width: 220px;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Lightmode Tooltip */
body[data-bs-theme="light"] .tooltip-inner {
    background-color: #f8f9fa;
    color: #212529;
    border: 1px solid #dee2e6;
}

/* Darkmode Tooltip */
body[data-bs-theme="dark"] .tooltip-inner {
    background-color: #222;
    color: #e0e0e0;
    border: 1px solid #444;
}

/* Tooltip-Pfeil für beide Themes */
.tooltip.bs-tooltip-top .tooltip-arrow::before,
.tooltip.bs-tooltip-bottom .tooltip-arrow::before,
.tooltip.bs-tooltip-start .tooltip-arrow::before,
.tooltip.bs-tooltip-end .tooltip-arrow::before {
    border-color: inherit !important;
}
