.fs-footer-tx {
    direction: ltr;
}

.right-social-icons {
    padding: 15px;
    border-radius: 0 0 0 20px;
    text-align: center;
}

.right-social-icons.desktop {
    padding: 0;
}

.fs-footer-text {
    margin-top: 10px;
}

.fs-footer-tx, 
.fs-footer-tx a {
    font-size: 13px;
    margin: 5px 0;
    color: #707579;
    transition: all 0.3s;
}

.fs-footer-tx a:hover {
    color: #000;
}

.social-icons {
    display: inline-flex;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 5px;
    padding: 0;
}

.social-icons img {
    width: 40px;
    height: auto;
    border-radius: 7px;
}

.social-icons img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(10%) saturate(2783%) hue-rotate(176deg) brightness(79%) contrast(110%);
}

.social-icons img:hover {
    transition: filter 0.3s ease;
    filter: brightness(0) saturate(100%) invert(49%) sepia(60%) saturate(6770%) hue-rotate(204deg) brightness(97%) contrast(95%);
}

/* Style for mobile bottom navigation specific to Vwalt */
.main-wrapper {
    padding-bottom: 95px;
}

.fs-mobile-bottom-nav {
    position: fixed;
    bottom: 24px;
    left: 7%;
    width: 85%;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(30px) saturate(210%);
    -webkit-backdrop-filter: blur(30px) saturate(210%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 9999;
    height: 60px;
    border-radius: 50px;
    border: 1.5px solid rgb(255 255 255);
    box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.07), 
                inset 0 1px 1px 0 rgba(255, 255, 255, 0.3);
    box-sizing: border-box;
    padding: 0 10px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.fs-nav-button {
    flex: 1;
    height: 100%;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: -0.1px;
    line-height: 1;
    color: #566159;
    background: none;
    border: none;
    outline: none;
    text-align: center;
    cursor: pointer;
    transition: color 0.2s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.fs-nav-button .fs-icon-placeholder img {
    display: block;
    width: 24px;
    height: 24px;
    margin-bottom: 5px; 
    filter: brightness(0) saturate(100%) invert(77%) sepia(10%) saturate(349%) hue-rotate(163deg) brightness(86%) contrast(79%);
    transition: filter 0.2s cubic-bezier(0.25, 1, 0.5, 1), transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.fs-nav-button:active .fs-icon-placeholder img {
    transform: scale(0.92);
}

.fs-nav-button:hover {
    color: #1877f2;
}

.fs-nav-button:hover .fs-icon-placeholder img,
.fs-nav-button.active .fs-icon-placeholder img {
    filter: brightness(0) saturate(100%) invert(35%) sepia(86%) saturate(7490%) hue-rotate(203deg) brightness(96%) contrast(96%);
}

.fs-nav-button.active {
    color: #1877f2;
    font-weight: 600;
}


/* Leagues Popup */
.fs-leagues-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80%;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    z-index: 10001;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.fs-leagues-popup.active {
    transform: translateY(0);
}

.fs-leagues-popup.hidden {
    display: none;
}

.fs-leagues-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.fs-leagues-overlay.active {
    opacity: 1;
    visibility: visible;
}

.fs-leagues-popup-header {
    position: sticky;
    top: 0;
    background-color: #fff;
    padding: 15px 10px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fs-leagues-popup-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

.fs-leagues-popup-close {
    position: absolute;
    top: 15px;
    right: 10px;
    border: none;
    background: #dee3e9;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    padding: 0;
    box-sizing: border-box;
}

.fs-leagues-popup-close:hover {
    background-color: #c5d1db;
}

.fs-leagues-popup-close img {
    width: 14px;
    height: 14px;
    transition: stroke 0.3s ease;
}

.fs-leagues-popup-close:hover img {
    filter: brightness(0) saturate(100%) invert(0%) sepia(98%) saturate(7%) hue-rotate(172deg) brightness(102%) contrast(103%);
}

.fs-leagues-search {
    margin: 0;
}

.fs-leagues-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.fs-leagues-search input {
    width: 100%;
    padding: 8px 35px 8px 8px;
    font-size: 13px;
    border: 1px solid #ddd;
    border-radius: 50px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    color: #888;
}

.fs-search-icon {
    position: absolute;
    right: 10px;
    width: 18px;
    height: 18px;
    filter: brightness(0) saturate(100%) invert(58%) sepia(5%) saturate(8%) hue-rotate(343deg) brightness(92%) contrast(79%);
    transition: fill 0.3s ease;
}

.fs-leagues-search input:focus {
    border: 1px solid #fff;
    box-shadow: 0 0 5px rgba(24, 119, 242, 0.5);
    color: #000;
}

.fs-leagues-search:has(input:focus) .fs-search-icon {
    filter: brightness(0) saturate(100%) invert(61%) sepia(82%) saturate(4303%) hue-rotate(193deg) brightness(98%) contrast(98%);
}

.fs-leagues-popup-content {
    padding: 10px 10px;
    height: calc(100% - 120px);
    overflow-y: auto;
}

.fs-leagues-popup-content::-webkit-scrollbar {
    width: 8px;
}

.fs-leagues-popup-content::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.fs-leagues-popup-content::-webkit-scrollbar-track {
    background-color: rgba(0, 0, 0, 0.1);
}

.fs-leagues-list {
    list-style: none;
    padding: 0 0 50px 0;
    margin: 0;
}

.fs-leagues-list > li {
    padding: 5px;
}

.fs-child-categories {
    list-style: none;
    padding: 0 15px;
    margin: 10px 20px 0 0;
    position: relative;
}

.fs-child-categories::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 2px;
    background-color: #ddd;
    border-radius: 50px;
}

.fs-child-categories li {
    margin-bottom: 10px;
}

.fs-leagues-list li a {
    text-decoration: none;
    color: #333;
    font-size: 13px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.fs-leagues-list li a:hover {
    color: #1877f2;
}

.fs-category-logo-mobile {
    width: auto;
    height: 20px;
    margin-left: 10px;
    vertical-align: middle;
}

.fs-leagues-list li.active > a,
.fs-child-categories li.active > a {
    color: #1877f2;
    font-weight: bold;
}


/* Menu Popup */
.fs-menu-popup {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    height: 100%;
    background-color: #fff;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 50px 0 0 50px;
}

.fs-menu-popup.active {
    transform: translateX(0); 
}

/* Overlay */
.fs-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.fs-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Header */
.fs-menu-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    position: relative;
    background-color: #fff;
    border-radius: 20px 0 0 0;
}

.fs-menu-header h2 {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.fs-menu-close-btn {
    position: absolute;
    top: 10px;
    right: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.fs-menu-close-btn img {
    width: 18px;
    height: 18px;
    padding: 3px;
    background: #dee3e9;
    border-radius: 50px;
}

/* Content */
.fs-menu-content {
    margin: 10px 0;
    flex: 1;
    overflow-y: auto;
}

.fs-menu-links {
    list-style: none;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 0 10px;
}

.fs-menu-links.fs-menu-links-first {
    margin-top: 2em;
}

.fs-menu-links.fs-menu-links-two {
    margin-top: 1em;
}

.fs-menu-links li {
    display: flex;
    align-items: center;
    position: relative;
    margin: 10px 0;
    border-radius: 10px;
    transition: background 0.3s ease, color 0.3s ease;
}

/* style hover و active */
.fs-menu-links li:hover,
.fs-menu-links li.active {
    background: #1877f21f;
}

.fs-menu-links li:hover a,
.fs-menu-links li.active a {
    color: #1877f2;
}

.fs-menu-links li:hover .fs-menu-icon-left img,
.fs-menu-links li.active .fs-menu-icon-left img,
.fs-menu-links li:hover .fs-menu-icon-right img,
.fs-menu-links li.active .fs-menu-icon-right img {
    filter: brightness(0) saturate(100%) invert(45%) sepia(90%) saturate(4000%) hue-rotate(200deg) brightness(96%) contrast(96%);
}

.fs-menu-links li a {
    display: flex;
    align-items: center;
    width: 100%;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    padding: 15px;
}

.fs-menu-icon-left {
    margin-left: 10px;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.fs-menu-icon-right {
    margin-right: auto;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

/*Dark menu*/
.social-dark-icons {
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
}

.hdtheme {
    display: flex;
    align-items: center;
    justify-content: center;
}

.themeToggleButton {
    border: none;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
    background: #c4c9d0;
    border-radius: 8px;
}

#themeIcon {
    display: block;
    width: 25px;
    height: 25px;
    transition: opacity 0.3s ease;
}


@media (max-width: 1024px) {
    #back-to-top {
       bottom: 60px;
       right: 5px;
    }
  
   .sidebar-right {
       display: none;
    }
    
    .fs-menu-links {
       margin: 0;
       padding: 0;
       border: none;
    }
    
    .fs-menu-content {
        margin: 10px;
    }
     
    .fs-menu-links li {
        background: #eef0f3;
    }
    
    .right-social-icons {
        background: #fff;
    }    
}

@media (min-width: 1025px) {
    .fs-mobile-bottom-nav {
        display: none;
    }
}

@media (display-mode: standalone) {
    #pwa-install-menu-item {
        display: none !important;
    }
}