@font-face {
    font-family:Volter-Goldfish;
    src:url('../assets/fonts/Goldfish.ttf');
    font-weight:400;
    font-style:normal
}

* {
    font-family: Volter-Goldfish, serif;
}

html {
    font-size: 18px;
}

body {
    background-color: #cce8f2;
    background-image: url('../assets/layout/newbg.png');
    background-repeat: repeat;
    background-attachment: fixed;
    background-size: auto;
}

.battle-header {
    background: url('../assets/layout/battleball.png') no-repeat fixed;
    background-size: 50%;
}

.navbar {
    border-radius: 15px;
    border: 1px solid #050a0e;
    box-shadow: 0 2px 3px rgba(6,19,25,.7);
    color: #330;
}

.navbar .nav-link {
    background-color: #0f8f8a;
    border-radius: 15px;
    border: 1px solid #050a0e;
    box-shadow: 0 2px 3px rgba(6,19,25,.7);
    color: #fff;
    padding: 10px;
    margin: 5px;
}

.navbar .nav-link:hover {
    background-color: #477f9f;
}

.pagination {
    margin-bottom: 0px;
}

.page-item {
    background-color: white;
    border-radius: 15px;
    border: 1px solid #050a0e;
    box-shadow: 0 3px 0 1px rgba(0,0,0,.3);
    color: #330;
    padding: 5px;
    margin: 5px;
}

.page-item.active {
    background-color: #0f8f8a;
    border-radius: 15px;
    border: 1px solid #050a0e;
    box-shadow: 0 3px 0 1px rgba(0,0,0,.3);
    color: white;
    padding: 5px;
    margin: 5px;
}

.page-link {
    border: none;
    color: #050a0e;
}

.page-link:hover {
    color: #0f8f8a;
    background-color: white;
}

.active > .page-link {
    color: white;
    background-color: #0f8f8a;
}

.disabled > .page-link {
    background-color: white;
}

/************/

.dropdown-menu {
    border-radius: 15px;
    border: 1px solid #050a0e;
    box-shadow: 0 2px 3px rgba(6,19,25,.7);
    color: #330;
    margin: 10px;
    padding: 20px;
}

.dropdown-item {
    background-color: #0f8f8a;
    border-radius: 15px;
    border: 1px solid #050a0e;
    box-shadow: 0 2px 3px rgba(6,19,25,.7);
    color: #fff;
    padding: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
}

footer {
    background-color: white;
    border-radius: 15px;
    border: 1px solid #050a0e;
    box-shadow: 0 2px 3px rgba(6,19,25,.7);
    color: #330;
    padding: 1rem;
    font-size: 14px !important;
    line-height: 1.45;
}

.white {
    background-color: white;
    border-radius: 15px;
    border: 1px solid #050a0e;
    box-shadow: 0 2px 3px rgba(6,19,25,.7);
    color: #330;
}

.white-matches {
    background-color: white;
    border-radius: 15px;
    border: 1px solid #050a0e;
    box-shadow: 0 2px 3px rgba(6,19,25,.7);
    color: #330;
    padding: 5px;
}

.yellow {
    background-color: #f4d35e;
    border-radius: 15px;
    border: 1px solid #050a0e;
    box-shadow: 0 2px 3px rgba(6,19,25,.7);
    color: #330;
}

.blue {
    background-color: #0f8f8a;
    border-radius: 15px;
    border: 1px solid #050a0e;
    box-shadow: 0 2px 3px rgba(6,19,25,.7);
    color: #330;
    text-color: #fff;
}

.whiteyellow {
    background-color: #f2d673;
    border-radius: 15px;
    border: 1px solid #050a0e;
    box-shadow: 0 2px 3px rgba(6,19,25,.7);
    color: #330;
    text-color: #fff;
}

.red {
    background-color: #cc0100;
    border-radius: 15px;
    border: 1px solid #050a0e;
    box-shadow: 0 2px 3px rgba(6,19,25,.7);
    color: white;
}

.garden {
    background-color: #88592c;
    border-radius: 15px;
    border: 1px solid #050a0e;
    box-shadow: 0 2px 3px rgba(6,19,25,.7);
    color: white;
}

.project-links-section {
    margin-bottom: 1rem;
}

.project-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 255px;
    overflow: hidden;
    color: #1f2f35;
    background: #fff;
    border-radius: 15px;
    border: 1px solid #050a0e;
    box-shadow: 0 2px 3px rgba(6,19,25,.7);
}

.project-card-logo {
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: #d7eef5;
    border-bottom: 1px solid #050a0e;
}

.project-card-logo img {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
    image-rendering: auto;
}

.project-card-body {
    flex: 1;
    padding: 18px 18px 14px;
}

.project-card h2 {
    margin: 0 0 8px;
    font-size: 1.18rem;
    line-height: 1.2;
}

.project-card p {
    margin: 0;
    font-size: .9rem;
    line-height: 1.35;
}

.project-card-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 18px 18px;
}

.project-card-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1 1 92px;
    min-width: 92px;
    min-height: 42px;
    padding: 9px 12px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background: #0f8f8a;
    border: 1px solid #050a0e;
    border-radius: 15px;
    box-shadow: 0 3px 0 1px rgba(0,0,0,.3);
}

.project-card-action:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 0 1px rgba(0,0,0,.25);
}

.project-card-action-disabled,
.project-card-action-disabled:hover {
    color: #665f49;
    background: #e7e0cf;
    transform: none;
}

.project-card-action img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.project-card-flag {
    font-size: 1.15rem;
    line-height: 1;
}

.project-card-fishing .project-card-logo {
    background: #cce8f2;
}

.project-card-gardening .project-card-logo {
    background: #ead8bd;
}

.project-card-battleball .project-card-logo {
    background: #f4d35e;
}

.card-skill {
    overflow: hidden;
    background: #ffffff;
    border-radius: 15px;
    border: 1px solid #050a0e;
    box-shadow: 0 2px 3px rgba(6,19,25,.7);
    color: #330;
}

.leaderboard-rank {
    width: 50px;
    height: 50px;
    background-color: #b0b0b0;
    border-radius: 5px;
}

.recent-player-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    gap: 12px;
}

.recent-player-card {
    display: grid;
    grid-template-rows: 78px auto 24px;
    align-items: center;
    justify-items: center;
    min-height: 148px;
    padding: 12px 10px 10px;
    text-align: center;
    text-decoration: none;
    color: #330;
    background: #f7fbfd;
    border: 1px solid #050a0e;
    border-radius: 15px;
    box-shadow: 0 2px 3px rgba(6,19,25,.7);
    transition: transform .15s ease, box-shadow .15s ease;
}

.recent-player-card:hover {
    color: #330;
    transform: translateY(-2px);
    box-shadow: 0 5px 0 1px rgba(0,0,0,.25);
}

.recent-player-avatar {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 72px;
    height: 78px;
    overflow: hidden;
}

.recent-player-avatar img {
    height: 96px;
    width: auto;
    margin-top: 0;
    margin-bottom: 0;
}

.recent-player-name {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
}

.recent-player-hotel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 22px;
    padding: 0 8px;
    color: #332f12;
    background: #fff;
    border: 1px solid #050a0e;
    border-radius: 15px;
    font-size: .72rem;
    font-weight: 800;
}

.skill-icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
    image-rendering: auto;
}

.avatar-frame {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 104px;
    min-height: 132px;
    overflow: visible;
}

.avatar-frame img {
    width: auto;
    height: 150px;
    max-width: 118px;
    margin-top: -18px;
    image-rendering: auto;
}

.profile-card-body {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

.profile-heading {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.profile-hotel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 22px;
    padding: 0 7px;
    color: #332f12;
    background: #f4d35e;
    border: 1px solid #050a0e;
    border-radius: 15px;
    font-size: .78rem;
    font-weight: 800;
}

.profile-motto {
    color: #665f49;
    font-size: .9rem;
    font-style: italic;
}

.section-title {
    padding: 10px 14px;
    margin: -1.5rem -1.5rem 1rem;
    color: #fff;
    background: #0f8f8a;
    border-bottom: 1px solid #050a0e;
    border-radius: 14px 14px 0 0;
    font-size: 1rem;
    font-weight: 800;
}

.data-empty-title {
    margin-bottom: 4px;
    color: #1f2f35;
    font-weight: 800;
}

.data-empty-text {
    color: #665f49;
    font-size: .9rem;
    line-height: 1.35;
}

.info-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(5, 10, 14, .12);
}

.info-row:last-child {
    border-bottom: 0;
}

.info-label {
    color: #665f49;
}

.info-value {
    font-weight: 800;
    text-align: right;
}

.skill-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.skill-meta-main {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.skill-meta-title {
    font-weight: 800;
}

.skill-meta-subtitle {
    color: #665f49;
    font-size: .85rem;
}

.sub-panel {
    height: 100%;
    padding: 12px;
    background: #f8f0d8;
    border: 1px solid #050a0e;
    border-radius: 15px;
}

.sub-panel-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 800;
}

.mini-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 22px;
    padding: 0 6px;
    background: #ffffff;
    border: 1px solid #050a0e;
    border-radius: 15px;
    font-size: .78rem;
    font-weight: 800;
}

.xp-bar-label {
    margin-bottom: 4px;
    font-family: monospace;
    text-align: center;
}

.xp-bar-container {
    position: relative;
    display: flex;
    align-items: center;
    height: 30px;
    padding: 2px;
    overflow: hidden;
    background-color: #dcdcdc;
    border: 2px solid #000;
    flex: 1;
}

.xp-bar-fill {
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        #f4d35e,
        #f4d35e 4px,
        #0f8f8a 4px,
        #0f8f8a 8px
    );
}

.xp-bar-text {
    position: absolute;
    top: 50%;
    left: 50%;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-shadow: 0 2px 0 #000, 0 0 5px rgba(0, 0, 0, .8);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.data-metric {
    padding: 10px;
    background: #f8f0d8;
    border: 1px solid #050a0e;
    border-radius: 15px;
}

.data-metric-label {
    color: #665f49;
    font-size: .72rem;
}

.data-metric-value {
    font-size: 1.15rem;
    font-weight: 800;
}

.data-table {
    width: 100%;
    margin-bottom: 0;
}

.data-table th,
.data-table td {
    padding: 8px;
    border-bottom: 1px solid rgba(5, 10, 14, .12);
}

.data-table th {
    color: #665f49;
    font-size: .78rem;
    font-weight: 800;
}

.data-table tr:last-child td {
    border-bottom: 0;
}

.season-grid {
    display: grid;
    gap: 10px;
}

.season-card {
    padding: 12px;
    background: #f8f0d8;
    border: 1px solid #050a0e;
    border-radius: 15px;
}

.season-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.season-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.season-title {
    font-weight: 800;
}

.season-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    height: 26px;
    padding: 0 8px;
    color: #fff;
    background: #0f8f8a;
    border: 1px solid #050a0e;
    border-radius: 5px;
    font-size: .72rem;
    font-weight: 800;
}

.season-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    height: 26px;
    padding: 0 8px;
    color: #332f12;
    background: #f4d35e;
    border: 1px solid #050a0e;
    border-radius: 5px;
    font-size: .72rem;
    font-weight: 800;
}

.season-toggle[aria-expanded="true"] .season-toggle-closed,
.season-toggle[aria-expanded="false"] .season-toggle-open {
    display: none;
}

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

@media (max-width: 575.98px) {
    .metric-grid {
        grid-template-columns: 1fr;
    }

    .season-header {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Leaderboard */
.leaderboard {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* Voor .gold class */
.form-control.gold:disabled {
    background-color: #fddc01;
}

/* Voor .silver class */
.form-control.silver:disabled {
    background-color: #d6ece9;
}

/* Voor .brons class */
.form-control.brons:disabled {
    background-color: #b96a28;
}

.gold {
    background-color: #fddc01;
}

.silver {
    background-color: #d6ece9;
}

.brons {
    background-color: #b96a28;
}

.card-header.leaderboard {
    background-color: #9e9596;
}

.leaderboard-inside {
    background-color: #35474b;
    color: white;
    border-radius: 15px;
    padding: 10px;
}

.leaderboard-card {
    background-color: #35474b;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.home.card-img-top {
    width: 100%;
    height: 15vw;
    object-fit: cover;
}

.news.card-img-top {
    width: 100%;
    height: 15vw;
    object-fit: cover;
}

.newsarticle.card-img-top {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    border-radius: 15px 15px 0 0;
}

.card-img-top {
    width: 100%;
    height: 5vw;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.maps.card-img-top {
    width: 100%;
    height: 255px;
    object-fit: cover;
    object-position: center;
    border-radius: 15px 15px 0 0;
}

.single.card-img-top {
    width: 100%;
    height: 10vw;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.btn-success {
    box-shadow: 0 3px 0 1px rgba(0,0,0,.3);
    background-color: #00813e;
    border-color: #8eda55;
    padding: 6px 12px;
}

.btn-success:hover {
    background-color:#00ab54;
    border-color:#b9f373
}

.btn-primary {
    box-shadow: 0 3px 0 1px rgba(0,0,0,.3);
    background-color: #0d6efd;
    border-color: #0d6efd;
    padding: 6px 12px;
}

.btn-danger {
    box-shadow: 0 3px 0 1px rgba(0,0,0,.3);
    background-color: #cc0100;
    border-color: #cc0100;
    padding: 6px 12px;
}

.btn-outline-dark {
    box-shadow: 0 3px 0 1px rgba(0,0,0,.3);
    background-color: #fff;
    border-color: #000;
    color: #000;
    padding: 6px 12px;
}

.btn-outline-dark:hover {
    background-color:lightgray;
    border-color:#000;
    color: #000;
}

.btn-outline-danger {
    box-shadow: 0 3px 0 1px rgba(0,0,0,.3);
    background-color: #fff;
    border-color: #cc0100;
    color: #cc0100;
    padding: 6px 12px;
}

.form-control-lg {
    border: 3px solid #275d8e;
    border-radius: 15px;
    color: #444;
    box-shadow: 0 3px 0 1px rgba(0,0,0,.3);
}

.player-search-form .input-group {
    gap: 8px;
    flex-wrap: nowrap;
}

.player-search-form .form-control-lg,
.player-search-form .btn {
    min-height: 48px;
}

.player-search-form .form-control-lg {
    border-radius: 15px !important;
}

.player-search-hotel {
    flex: 0 0 140px !important;
    max-width: 140px;
}

.player-search-submit {
    flex: 0 0 auto;
    min-width: 104px;
    border-width: 3px;
    border-radius: 15px !important;
}

@media (max-width: 575.98px) {
    .player-search-form .input-group {
        flex-direction: column;
    }

    .player-search-form .form-control,
    .player-search-hotel,
    .player-search-submit {
        width: 100% !important;
        max-width: none;
    }
}

.team-total {
    background-color: #d6ece9 !important; /* Bijvoorbeeld een lichte achtergrondkleur */
}

.card-header h4 {
    flex-grow: 1;
    text-align: center;
    margin: 0;
    padding-left: 10px;
    padding-right: 10px;
}

.match-info {
    flex-wrap: wrap; /* Zorgt ervoor dat de items worden omgebroken als er geen ruimte is */
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    background-color: rgba(230, 230, 230, 0.8); /* Grijze transparante achtergrond */
    z-index: 10;
    display: none; /* Verberg standaard */
}

.loading-overlay-active {
    display: flex !important; /* Toon de overlay tijdens het laden */
    justify-content: center;
    align-items: center;
}

.sync-loading-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(18, 40, 60, 0.66);
    z-index: 1080;
    padding: 18px;
}

.sync-loading-overlay.is-active {
    display: flex;
}

.sync-loading-panel {
    width: min(360px, 100%);
    text-align: center;
    background: #f3f6f8;
    border: 3px solid #000;
    border-radius: 8px;
    box-shadow: 0 6px 0 1px rgba(0,0,0,.45);
    padding: 24px 20px 20px;
    color: #1a2e3d;
}

.sync-loading-image {
    width: 100px;
    height: auto;
    object-fit: contain;
    image-rendering: pixelated;
    margin-bottom: 14px;
}

.sync-loading-title {
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.2;
    margin-bottom: 6px;
}

.sync-loading-text {
    font-size: 0.95rem;
    color: #275d8e;
}

.xp-bar-container {
    height: 30px;
    background-color: #dcdcdc;
    border: 2px solid #000;
    padding: 2px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.xp-bar-fill {
    background: repeating-linear-gradient(
        45deg,
        #f4d35e,
        #f4d35e 4px,
        #0f8f8a 4px,
        #0f8f8a 8px
    );
    height: 100%;
    transition: width 0.3s ease;
}

.xp-bar-level {
    width: 32px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    color: #444;
    text-shadow: 1px 1px 0px #fff;
}

.xp-bar-text {
    position: absolute; top:50%; left:50%;
    transform: translate(-50%, -50%);
    font-weight: 700; font-size: 14px; pointer-events:none;
}
.xp-bar-text.on-empty { color:#000; text-shadow: 0 2px 0 #fff, 0 0 5px rgba(255,255,255,.7); }
.xp-bar-text.on-fill  { color:#fff; text-shadow: 0 2px 0 #000, 0 0 5px rgba(0,0,0,.8); }

.xp-bar-label {
    font-family: monospace;
    text-align: center;
    margin-bottom: 4px;
}

.bg-blue {
    background-color: #0f8f8a !important;
}

/* Kaarten / cards */
.fish-card-loading {
    opacity: 0.6;
    pointer-events: none;
}

.fish-card {
    border-radius: 8px;
    border: 1px solid #d4d4d4;
    background: #fdfdfd;
    box-shadow: 0 1px 0 #ffffff80;
    transition: transform .1s ease-out, box-shadow .1s ease-out, border-color .1s ease-out;
    cursor: pointer;
}

.fish-card:hover {
    transform: translateY(-2px);
    border-color: #0f8f8a;
    box-shadow: 0 4px 0 #0f8f8a;
}

/* sprite in cards + modal (zelfde maat, zelfde stijl) */
.fish-card-image,
.fish-modal-image {
    max-width: 48px;
    max-height: 48px;
    image-rendering: pixelated;
}

/* modal sprite frame */
.fish-modal-image-wrapper {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border-radius: 8px;
    border: 2px solid #b9b9b9;
    background: repeating-linear-gradient(
        45deg,
        #f7f7f7,
        #f7f7f7 2px,
        #e4e4e4 2px,
        #e4e4e4 4px
    );
}

/* sterren */
.star-icon,
.star-icon-inline {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

.fish-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.fish-stars-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
}

/* Active Hours – XP-style bar */
.active-hours-container {
    height: 20px;
    background-color: #dcdcdc;
    border: 2px solid #000;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.active-hours-fill {
    background: repeating-linear-gradient(
        45deg,
        #79c8ff,
        #79c8ff 4px,
        #5ab5e7 4px,
        #5ab5e7 8px
    );
    height: 100%;
    transition: width 0.3s ease;
}

.active-hours-scale {
    font-size: 0.7rem;
    margin-top: 4px;
    display: flex;
    justify-content: space-between;
    color: #777;
}

/* Active Days */
.day-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    border-radius: 999px;
    background: #f0f0f0;
    font-size: 12px;
    border: 1px solid #d0d0d0;
}

.day-label {
    min-width: 2.2rem;
    text-align: center;
}

.day-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid #999;
    background: transparent;
}

.day-active .day-dot {
    background: #79c8ff;
    border-color: #79c8ff;
}

.day-inactive {
    opacity: 0.5;
}

/* Modal styling */
#fishModal .modal-content {
    border-radius: 8px;
    border: 1px solid #0f8f8a;
    background: #f3f3f3;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
}

/* definities in modal */
#fishModal dl {
    margin-bottom: 0;
}

#fishModal dt {
    font-weight: 600;
}

#fishModal dd {
    margin-bottom: .25rem;
}

/* titel in modal */
#fishModal h4 {
    font-size: 1.25rem;
    margin-bottom: .25rem;
}

/* iets meer ruimte boven in de body */
#fishModal .modal-body {
    padding-top: 1.5rem;
}

/* witte close button op donkere header */
#fishModal .btn-close {
    filter: invert(1);
}

@media (max-width: 576px) {
    .card-img-top {
        height: 15vw;
    }

    .single.card-img-top {
        width: 100%;
        height: 20vw;
        object-fit: cover;
        border-radius: 15px 15px 0 0;
    }

    .home.card-img-top {
        width: 100%;
        height: 25vw;
        object-fit: cover;
    }

    .match-info div {
        flex-basis: 100%;
        margin-bottom: 5px;
    }

    .navbar-brand img {
        max-height: 28px !important;
    }

}

body.dark-mode {
    background-image: url('../assets/layout/newbg.png') !important;
    background-color: #121212 !important;
    color: #f1f1f1 !important;
}

body.dark-mode span.rank {
    color: #212529 !important;
}

body.dark-mode .navbar,
body.dark-mode footer,
body.dark-mode .white,
body.dark-mode .white-matches,
body.dark-mode .page-item,
body.dark-mode .dropdown-menu,
body.dark-mode .dropdown-item,
body.dark-mode .leaderboard,
body.dark-mode .leaderboard-inside,
body.dark-mode .leaderboard-card,
body.dark-mode .card-unconfirmed
{
    background-color: #1e1e1e !important;
    color: #f1f1f1 !important;
    border-color: #333 !important;
}

body.dark-mode .page-item.active,
body.dark-mode .navbar .nav-link:hover {
    background-color: #0f8f8a !important;
    color: #fff !important;
}

body.dark-mode .btn-outline-dark,
body.dark-mode .btn-outline-danger {
    background-color: #333 !important;
    color: #fff !important;
    border-color: #555 !important;
}

body.dark-mode .btn-outline-dark:hover,
body.dark-mode .btn-outline-danger:hover {
    background-color: #555 !important;
    color: #fff !important;
}

body.dark-mode .xp-bar-container {
    background-color: #333 !important;
    border-color: #555 !important;
}

body.dark-mode .card,
body.dark-mode .card * {
    color: #f1f1f1 !important;
}

body.dark-mode .white,
body.dark-mode .white * {
    color: #f1f1f1 !important;
}

body.dark-mode .white-matches,
body.dark-mode .white-matches * {
    color: #f1f1f1 !important;
}

body.dark-mode .leaderboard,
body.dark-mode .leaderboard * {
    color: #f1f1f1 !important;
}

body.dark-mode table {
    background-color: white !important;
    color: #330 !important;
}

body.dark-mode table {
    background-color: #2c2c2c !important;
    color: #f1f1f1 !important;
}

body.dark-mode table td,
body.dark-mode table th {
    background-color: #2c2c2c !important;
    color: #f1f1f1 !important;
}

body.dark-mode table tr:nth-child(even) td {
    background-color: #3a3a3a !important;
}

body.dark-mode table tr:hover td {
    background-color: #444 !important;
}

body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea {
    background-color: #2c2c2c !important;
    color: #f1f1f1 !important;
    border-color: #555 !important;
}

body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder {
    color: #bbb !important;
}

body.dark-mode .alert,
body.dark-mode .alert * {
    color: #2c2c2c !important;
}

body.dark-mode .bg-light {
    background-color: grey !important;
    color: #f1f1f1 !important;
}

body.dark-mode .page-link {
    color: #f1f1f1 !important;
    background-color: #1e1e1e !important;
}

body.dark-mode .active > .page-link
{
    color: #f1f1f1 !important;
    background-color: #0f8f8a !important;
}

body.dark-mode .fish-card {
    background: #1f1f1f !important;
    border-color: #333 !important;
    box-shadow: 0 1px 0 #00000040 !important;
}

body.dark-mode .fish-card:hover {
    border-color: #0f8f8a !important;
    box-shadow: 0 4px 0 #0f8f8a !important;
}

body.dark-mode .fish-modal-image-wrapper {
    border-color: #3a3a3a !important;
    background: repeating-linear-gradient(
        45deg,
        #242424,
        #242424 2px,
        #1b1b1b 2px,
        #1b1b1b 4px
    ) !important;
}

body.dark-mode .active-hours-container {
    background-color: #2a2a2a !important;
    border-color: #555 !important;
}

body.dark-mode .active-hours-scale {
    color: #bdbdbd !important;
}

body.dark-mode .day-pill {
    background: #262626 !important;
    border-color: #3a3a3a !important;
}

body.dark-mode .day-dot {
    border-color: #888 !important;
}

body.dark-mode .day-inactive {
    opacity: 0.55 !important;
}

body.dark-mode #fishModal .modal-content {
    background: #1e1e1e !important;
    border-color: #0f8f8a !important;
    box-shadow: 0 6px 18px rgba(0,0,0,.55) !important;
}

body.dark-mode #fishModal .modal-header {
    border-bottom-color: #24445c !important;
}

body.dark-mode #fishModal dt {
    color: #f1f1f1 !important;
}

body.dark-mode #fishModal dd {
    color: #d9d9d9 !important;
}
