@import 'custom/master.css';

.event-icon {
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    height: 50px;
    line-height: 50px;
    width: 50px;
    border-radius: 30px;
    border: 1px dashed rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255,.3);
    text-align: center;
    position: relative;
    z-index: 99;
}

.event-icon.easter {
    border: 0;
    height: 60px;
    width: 60px;
    background: transparent;
}

.event-icon.easter img {
    opacity: 1;
    max-height: 50px;
    max-width: 50px;
}

.event-icon:hover {
    background: #fff;
    border: 1px solid #000;
}

.event-icon:hover img {
    display: inline-block;
}

.event-icon img {
    opacity: 0.3;
    max-width: 40px;
    max-height: 40px;
}

.acorn-icon {
    border: #000;
    background: rgba(0, 0, 0, 0.3);
    width: 70px;
    display: block;
    text-align: center;
    position: relative;
    z-index: 99;
    border-radius: 5px;
}

.acorn-right {
    display: flex;
    justify-content: center;
}

.acorn-icon:hover small {
    color: #fff;
}

.acorn-icon:hover img {
    display: inline-block;
    opacity: 1;
}

.acorn-icon img {
    opacity: 0.3;
    max-width: 60px;
    max-height: 60px;
}

.spring-icon {
    display: block;
    height: 50px;
    line-height: 50px;
    width: 50px;
    border-radius: 30px;
    border: 1px dashed rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.3);
    text-align: center;
    position: relative;
    z-index: 99;
}

.spring-icon:hover {
    background: #fff;
    border: 1px solid #000;
}

.spring-icon:hover img {
    display: inline-block;
    opacity: 1;
}

.spring-icon img {
    opacity: 0.3;
    max-width: 40px;
    max-height: 40px;
}

.resource-icon {
    height: 24px;
    width: 24px;
}

.menu-items a .number, #mySidenav li .number, .notification-circle, .navbar-mobile .number {
    display: inline-block;
    padding: 0 5px;
    font-size: 11px;
    height: 18px;
    min-width: 18px;
    line-height: 18px;
    border-radius: 18px;
    background: #b00;
    color: #fff;
    text-align: center;
    font-weight: bold;
}

.notification-circle {
    height: 10px;
    line-height: 10px;
    border-radius: 10px;
    min-width: 10px;
    position: absolute;
}

.account-type-menu {
    text-align: center;
}

.account-type-menu i.fa-check {
    color: darkgreen;
}

.pb10 {
    padding-bottom: 10px;
}

.streak-star {
    display: inline-block;
    font-size: 24px; /* Aanpasbare grootte van de ster */
    color: gray; /* Standaardkleur als fallback */
    height: 100px;
    width: 100px;
}

.streak-star.streak-star-profile {
    font-size: 24px;
    height: 50px;
    width: 50px;
}

.streak-star[data-level="1"] {
    color: grey;
}

.streak-star[data-level="2"] {
    color: silver;
}

.streak-star[data-level="3"] {
    color: #ff7300;
}

.streak-star[data-level="4"] {
    color: #FFA500;
}

.streak-star[data-level="5"] {
    color: gold;
}

.profile-username .streak-star {
    font-size: 24px;
    height: 50px;
    width: 50px;
}

.profile-img {
    width: 50px; /* Adjust size as needed */
    height: 50px; /* Adjust size as needed */
    border-radius: 50%;
    object-fit: cover;
}

.profile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.profile-name-container {
    flex: 1;
    margin-left: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: 'Acme';
    font-size: 18px;
    font-weight: 100;
    position: relative;
}

.profile-name {
    max-width: calc(100% - 20px);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    float: left;
}

.caret-icon {
    margin-left: 5px;
    font-size: 12px;
    vertical-align: middle;
    float: right;
}

.navbar-top-eq {
    background: #F7E7B0;
    background: -moz-linear-gradient(top, #F7E7B0 0%, #E4C683 100%);
    background: -webkit-linear-gradient(top, #F7E7B0 0%,#E4C683 100%);
    background: linear-gradient(to bottom, #F7E7B0 0%,#E4C683 100%);
    padding: 10px;
    color: #66472B;
    box-shadow: 0px 0px 5px #D5A76F;
    height: 71px;
}

.navbar-top-eq .dropdown-menu li.has-text {
    padding: 3px 20px;
    color: #333;
}

.navbar-top-eq .navbar-top-logo {
    text-align: center;
}

.navbar-top-eq .navbar-top-logo img {
    max-height: 50px;
}

.navbar-top-eq .dropdown-menu {
    min-width: 100px;
    width: 100%;
}

.navbar-top-eq a {
    color: #66472B !important;
}

.navbar-top-eq li a {
    color: #66472B !important;
}

.navbar-top-eq a:hover {
    text-decoration: none;
}

.notification-badge {
    background-color: #b00;
    color: white;
    padding: 5px 10px;
    border-radius: 50%;
    font-size: 12px;
    position: absolute;
    top: 0;
    right: 0;
}

.eq-coin {
    width: 30px;
}

.navbar-top-eq .icon {
    height: 30px;
    width: 30px;
}

.navbar-top-eq .progress {
    position: relative;
    height: 20px; /* Adjust height as needed */
    margin-bottom: initial;
}

.navbar-top-eq .progress-bar {
    height: 100%;
    line-height: 20px; /* Should match the height of the progress bar */
    background-color: #5cb85c; /* Adjust the color as needed */
    position: relative;
    z-index: 1;
}

.navbar-top-eq .progress-text {
    position: absolute;
    width: 100%;
    text-align: center;
    line-height: 20px;
    font-size: 11px;
    z-index: 2;
    color: black; /* Adjust text color as needed */
}

.navbar-top-eq .progress-level {
    width: 100%;
    text-align: center;
}

.middle-items-bar {
    height: 50px;
}

.middle-items {
    display: flex;
    align-items: center;
    height: 100%;
}

.navbar-top-eq .toggle-bigger-menu {
    display: none;
    text-align: center;
    width: 100%;
    font-size: 10px;
    line-height: 14px;
}

@media screen and (max-width: 767px) {
    .navbar-top-eq {
        padding: 5px;
    }
    .navbar-top-eq > .container {
        padding: 0;
    }

    .navbar-top-eq .dropdown-menu {
        min-width: 200px;
    }

    .navbar-top-eq .profile-img {
        width: 30px;
        height: 30px;
    }

    .navbar-top-eq .profile-name-container {
        margin-left: 5px;
    }

    .profile-name-container {
        font-size: 14px;
    }

    .navbar-top-eq .toggle-bigger-menu {
        display: block;
        cursor: pointer
    }

    .navbar-top-eq .progress {
        height: 30px;
        border-radius: 20px;
    }

    .navbar-top-eq .progress-text {
        line-height: 20px;
        font-size: 11px;
    }

    .navbar-top-eq-app .col-xs-6 {
        padding-left: 5px;
        padding-right: 5px;
    }
}
.progress { height: 16px !important; border-radius: 20px; }
.progress .progress-text { line-height: 16px; font-size: 10px; }

.navbar-top-eq-app {
    position: fixed;
    top: 0;
    width: 100%;
    color: #66472B;
    z-index: 5;
    padding: 5px;
    -webkit-backface-visibility: hidden;
}

.sidebar-offcanvas hr, .navbar-mobile hr {
    border-top: 1px solid #d5bd88;
    margin-top: 10px;
    margin-bottom: 10px;
}

.dropdown-menu.dropdown-menu-right {
    right: 0;
    left: auto;
}

#mySidenav hr {
    margin-top: 5px;
    margin-bottom: 5px;
    border-top: 1px solid #d5bd88;
    margin-right: 20px;
}

.button-container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 10px;
    margin-top: 20px;
}

.btn-large {
    width: 100%;
    margin-bottom: 10px;
    padding: 15px;
}

@media (max-width: 600px) {
    .button-container {
        flex-direction: column;
        align-items: center;
    }

    .btn-mobile-friendly {
        width: 100%;
        margin-bottom: 10px;
        padding: 15px;
    }

    .btn-mobile-sm {
        width: 100%;
        padding: 6px 12px;
    }
}

.pb-1 {
    padding-bottom: 5px;
}

.pb-2 {
    padding-bottom: 10px;
}

.pb-3 {
    padding-bottom: 20px;
}

.pb-4 {
    padding-bottom: 30px;
}

.mb-1 {
    margin-bottom: 5px;
}

.mb-2 {
    margin-bottom: 10px;
}

a.admin{
    font-weight: bold;
    color: #b00 !important;
}
a.mod{
    font-weight: bold;
    color: #8a009e !important;
}
a.fod{
    font-weight: bold;
    color: #0d8601 !important;
}

.resources{
    display: flex;
    gap: 4px;
}

.resources a{
    display: flex;
    align-items: center;
    padding: 4px 8px 4px 4px;
    border-radius: 20px;
    gap: 5px;
    background: rgba( 255, 255,255, 0.6);
    text-decoration: none;
    font-size: 12px;
    line-height: 12px;
    font-weight: bold;
}

.resources a:hover{
    background: #fff;
}

.resources a img{
    width: 20px !important;
    height: 20px !important;
}
.prices{
    gap: 10px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.window .prices{
    grid-template-columns: repeat(3, 1fr);
}

.price{
    flex: 1;
    position: relative;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    padding: 20px;
    align-items: center;
    background: rgba( 255,255,255,0.3);
}

.price.hover:hover{
    cursor: pointer;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.5);
}

@media( max-width: 992px ){
    .prices{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

.prices .price img{
    max-height: 64px;
    height: auto !important;
    width: auto !important;
}

.price strong{
    font-size: 13px;
}

.price.highlight {
    outline: 3px solid #000;
    background: rgba( 255,255,255,0.5);
    transition: outline 0.1s;
}

.price.won {
    outline: 3px solid #0b0;
    background: rgba(37, 180, 0, 0.5);
    transition: outline 0.1s;
}

.price strong span{
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    padding: 0 8px;
    height: 30px;
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 12px;
    line-height: 12px;
    color: #fff;
    background: #b00;
    border-radius: 20px;
}
/* === GameUpdate badges === */
.u-badge{
    display:inline-flex; align-items:center; gap:6px;
    padding:4px 10px; border-radius:999px; font-size:12px;
    font-weight:700; color:#fff;
}
.u-badge-imp   { background:#0ea5e9; } /* Verbeteringen */
.u-badge-event { background:#7c3aed; }
.u-badge-balans{ background:#f59e0b; }
.u-badge-bugfix{ background:#10b981; }
.u-badge-shop  { background:#ec4899; }
.u-badge-promo { background:#8b5cf6; }
.u-badge-nieuw { background:#2563eb; }

/* =========================================
   Z-INDEX LAYERS (globaal, voor alle blades)
   ========================================= */
:root{
    --z-navbar:        2500; /* top bars */
    --z-dropdown:      2600; /* dropdowns & megamenus */
    --z-sidenav:       3000; /* slide-in side menu */
    --z-popover:       2700; /* bootstrap popovers */
    --z-tooltip:       2800; /* tooltips */
    --z-autocomplete:  2900; /* jQuery UI / select2 / etc. */
    --z-toast:         3500; /* toastr/notificaties */
    --z-modal-backdrop:3990;
    --z-modal:         4000; /* modals altijd helemaal boven */
}

/* Top navigatiebalken (oude & nieuwe blade) */
.navbar,
.navbar-default,
.navbar.navbar-fixed-top,
.navbar-app-bottom,
.navbar_bottom,
.navbar-top-eq,
.navbar-top-eq-app {
    z-index: var(--z-navbar) !important;
}

/* Dropdowns van de navbar */
.dropdown-menu {
    z-index: var(--z-dropdown) !important;
}

/* Slide-in zijmenu (mySidenav) */
#mySidenav,
.sidenav {
    z-index: var(--z-sidenav) !important;
}

/* Popovers / tooltips */
.popover { z-index: var(--z-popover) !important; }
.tooltip { z-index: var(--z-tooltip) !important; }

/* Autocomplete / dialogs (jQuery UI, etc.) */
.ui-autocomplete,
.ui-dialog,
.ui-front {
    z-index: var(--z-autocomplete) !important;
}

/* Toastr / notificaties */
#toast-container,
#toast-container > div {
    z-index: var(--z-toast) !important;
}

/* Modals (boven alles) */
.modal-backdrop { z-index: var(--z-modal-backdrop) !important; }
.modal          { z-index: var(--z-modal) !important; }

/* Zorg dat content nooit een hoger stacking-context maakt dan nodig */
.panel,
.table-responsive,
.app_content,
.container {
    position: relative;
    z-index: auto;
}

