
.navbar-header {
    /* --bs-navbar-color: crimson; */
    background-color: SaddleBrown;
}

.group-nav-menu {
    position: sticky;
    top:55px; 
    z-index: 1020; 
    width: 100%;
    box-sizing: border-box;
}

 .league-weeks {
    position: sticky; 
    z-index: 1010;
}

.container-content {    
    margin-top: 50px;
    /* margin-bottom: 60px; */
}

#chat-container::-webkit-scrollbar {
    width: 8px; 
}

#chat-container::-webkit-scrollbar-track {
    background: transparent; 
}

#chat-container::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px; 
}

#chat-container::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.4); 
}

#chat-container {
    scrollbar-width: thin; 
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}
.no-scroll {
    overflow: hidden; 
}

#chat-container {
    overflow-y: auto; 
    height: 500px;
}

.container-content {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.group-nav-menu {
    flex-shrink: 0;
}

#chat-container {
    flex-grow: 1;
    overflow-y: auto;
    margin-bottom: 60px;
    margin-top: 50px;
}

.navbar.fixed-bottom {
    flex-shrink: 0; 
}

.offcanvas-sidebar-menu {
    --bs-offcanvas-width: min(80vw, 400px) !important;
}

.offcanvas-sidebar-menu .list-group-item a {
    color: #ccc;
}

.offcanvas-sidebar-menu .list-group-item a.submenu-item {
    color: white;
    font-size: 90%;
}

.fake-modal-body {
    margin-top: 64px;
}

.fs-90pc {
    font-size: 90%;
}

.fs-95pc {
    font-size: 95%;
}

.fs-85pc {
    font-size: 85%;
}

.chat-select-emoji {
  font-size: 1.4rem;
  padding: 0 0.25rem;
}

.last-chat-message-padding-menu-active {
  padding-bottom: 70px;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 166, 0, 0.5);
    pointer-events: none;
    z-index: 0; 
  }

#matches-count,
#event-count {
    width: 12px;
    height: 12px; 
    font-size: 8px; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    position: absolute; 
    transform: translate(90%, -200%);
}

/* The text is not cetered correctly yet */
#league-event-count {
    width: 12px;
    height: 12px; 
    font-size: 8px; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    position: absolute; 
    transform: translate(200%, -250%); 
}

.custom-btn-match-replace {
    position: relative;
    background-color: gold!important;
    color: black!important;
    transition-delay: 0.3s;
    overflow: hidden;
    font-size: 1rem;
  }
  
  .custom-btn-match-replace:hover {
    color: rgba(221, 99, 149, 0)!important;
    transition-delay: 0s;   
  }
  
  .custom-btn-match-replace:hover::before {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.15s;
  }
  
  .custom-btn-match-replace:before {
    width: 100%;
    position: absolute;
    left: 0;
    opacity: 0;
    content: attr(data-hover);
    color: black;
    text-align: center;
    transform: translateX(-60%);
    transition: all 0.4s;
    z-index: 1;
  }

.reaction {
    display: inline-block;
    position: relative;
}

.reaction .badge {
    position: absolute;
    bottom: -4px;
    right: -5px;
    color: white;
    border-radius: 50%;
    padding: 2px 5px;
    font-size: 0.5rem;
    line-height: 1;
}

.user-image {
    width: 40px;
    height: 40px;
    object-fit: cover !important;
    aspect-ratio: 1/1 !important;
    border-radius: 50% !important;
}

@media (max-width: 576px) {
    .user-image {
        width:30px;
        height: 30px;
        aspect-ratio: 1/1 !important;
        object-fit: cover !important;
        border-radius: 50% !important;
    }
}


.modal.fade {
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
  }

#nestedModal .modal-content {
    border-radius: 10px;
}
.custom-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); 
    z-index: 1040; 
}