* {
    font-family: 'Lato', sans-serif;
}

:root {
    --hamburger-icon: url(/wp-content/uploads/2025/03/Frame-2.png);
    --marquee-bg: #fefefe29;
    --footer-bg: #1E1D2A;
    --expand-bg: rgba(41, 40, 53, 1);
    --card-bg: rgba(37, 39, 54, 1);
}

[data-theme="light"] {
    --hamburger-icon: url(/wp-content/uploads/2025/03/Frame-3.png);
    --marquee-bg: #DDE1E5;
    --footer-bg: #EFEFEF;
    --expand-bg: white;
    --card-bg: rgba(255, 255, 255);

}

@media (min-width: 1000px) {
    .nav-links>* {
        margin: unset !important;
    }
}

/* img {
    display: unset !important;
} */

/* Top Bar Styles */



/* dummycss remove */
/* Default font size (medium) */
body {
    font-size: 16px;
    /* Medium font size */
}

/* Large font size */
body.font-size-large {
    font-size: 20px;
}

/* Small font size */
body.font-size-small {
    font-size: 12px;
}

/* Maximum font size */
body.font-size-max {
    font-size: 24px;
}

/* Dark mode styles */
body.dark-mode {
    background-color: #121212;
    color: #ffffff;
}

/* Specific adjustments for header and footer */
header,
footer {
    font-size: inherit;
    /* Inherit font size from body */
}

.footer {
    position: relative;
}

/* Top Bar */
.top-bar-outer {
    background-color: var(--topbar-bg);
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    margin: 0 auto;
    left: 0;
}

.dark-mode-toggle {
    /* border-radius: 30px !important; */
    padding: 0 !important;
    /* padding-left: 5px !important; */
    background: unset !important;
    /* border: 1px solid var(--dark-mode-button) !important; */
    color: var(--dark-mode-button) !important;
    border: none !important;

}

.top-bar {
    height: 45px;
    color: #C3E5E5;
    display: flex;
    justify-content: end;
    align-items: center;
    padding: 5px 20px;

}

.message {
    padding: 5px 10px 0;
    /* padding: 5px 84px; */
    flex-grow: 0;
    background: transparent;
    margin: 0 auto;
    flex-grow: 1;
    position: relative;
    margin-right: 10px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: -webkit-fill-available;
}

.message button {
    padding: 4px 12px;
    border: none;
    background: rgba(231, 69, 93, 1);
    font-weight: 600;
    font-size: 12px;
    color: var(--text-white-darkmode);
    border-radius: 38px;
    cursor: pointer;
}

.message button a {
    color: var(--text-white-darkmode);
    text-decoration: none;
    padding: 5px 10px;
}

.message .timer-container {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: Outfit !important;
}

.message .label {
    margin: 0;
    font-size: 8px;
    font-weight: 600;
    color: var(--text-white-darkmode);
}

.message .value {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #E76408;
}


.message h6 {
    margin: 0;
    display: none;
    font-family: Outfit !important;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--text-white-darkmode);
}

.message .invest-now {
    color: #E76408;
    text-decoration: none;
    font-weight: bold;
}

.message .invest-now:hover {
    text-decoration: underline;
}

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

.font-control.font-minus {
    font-size: 12px !important;
}

.font-control.font-plus {
    font-size: 15px !important;
}

.font-control {
    border: 0 !important;
}

.font-control,
.dark-mode-toggle {
    background: #97959180;
    color: var(--text-white-darkmode);
    padding: 0 !important;
    width: 30px;
    height: 32px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    box-shadow: unset !important
}

.font-control:hover,
.dark-mode-toggle:hover {
    background-color: #C3E5E5;
    color: #2E2B3A;
}

body {
    overflow-x: hidden;
}

/* Header Styles */


.float-icon {
    position: fixed;
    right: 0;
    top: 190px;
    z-index: 5;
    box-shadow: 0px 3.2px 3.2px 0px #00000040;
    background: #E6F3F6;
    margin: 14px 0;
    border-radius: 6px 0 0 6px;
    transform: translateX(150px);
}

#v-pills-tabContent {
    max-height: 80vh;
    overflow-x: hidden;
    overflow-y: auto;
    /* Show scrollbar only when needed */
    scrollbar-width: thin;
    /* Firefox */
    scrollbar-color: #b0b0b0 #f0f0f0;
    /* Firefox: thumb and track color */
}

/* Chrome, Edge, Safari */
#v-pills-tabContent::-webkit-scrollbar {
    width: 4px;
    /* Thin scrollbar */
    background: transparent;
    /* No background */
}

#v-pills-tabContent::-webkit-scrollbar-thumb {
    background: #b0b0b0;
    /* Thumb color */
    border-radius: 2px;
    /* Rounded ends */
}

#v-pills-tabContent::-webkit-scrollbar-track {
    background: transparent;
    /* No track color */
}

.fi2 {
    top: 250px;
    right: 53px;
}

.fi3 {
    right: 50px;
    top: 310px;
}

.float-icon:hover {
    transform: translateX(0px);
    background: #FF973B;
    right: 0;
}

.float-icon:hover img {
    filter: brightness(0) invert(1);
}

.float-icon a {
    display: block;
    padding: 10px;
    font-weight: 400;
    font-size: 16px;
    line-height: 19.2px;
    color: var(--text-white-darkmode);
    margin: 0;
    text-decoration: none;
}

.float-icon img {
    padding: 0 10px 0 0;
}

.header {
    color: #ffffff;
    padding: 10px 20px;
    position: fixed;
    /* Make the header fixed */
    top: 45px;
    /* Position below the top bar */
    left: 0;
    /* Align to the left */
    right: 0;
    /* Align to the right */
    z-index: 999;
    /* Ensure it stays above the content */
    /* max-width: 1360px; */
    margin: 0 auto;
    background: var(--header-bg-color);
    backdrop-filter: blur(25px);
    border-radius: 8px;
    /* Optional: adds rounded corners for a more polished look */
    height: 60px;
}

.header.smart-header:not(.header.smart-header.mobile-header) {
    position: relative;
    backdrop-filter: unset;
    border-bottom: 0.5px solid rgba(254, 254, 254, 0.1);
    margin-bottom: 35px;
}

.smart-header-bg {
    background: var(--header-bg-color);
    position: fixed;
    top: 45px;
    left: 0;
    right: 0;
    z-index: 999;
    backdrop-filter: blur(25px);
    border-radius: 8px;
    height: 60px;
}

.header>div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header::before {
    content: '';
    /* Empty content for the pseudo-element */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--header-bg-color);
    backdrop-filter: blur(75px);

    z-index: -1;
    /* Ensure the pseudo-element stays behind the header content */
}

.logo {
    display: flex;
    flex-direction: column;
}

.brand-blue {
    color: #00B1B9;
    font-size: 18px;
    font-weight: bold;
}

.brand-white {
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
}

.for_border_bottom {
    border-bottom: 0.5px solid rgba(254, 254, 254, 0.1);
    display: none;
}

#smart_header {
    margin-top: 60px !important;
}

.smart-header {
    justify-content: space-between;

    .logo {
        margin: auto 0;
    }
}

.smart-header,
.mobile-header,
.footnote-text-for-smartpage {
    display: none;
}

.subtext {
    font-size: 12px;
    color: #87CEEB;
}

.header-for-homepage nav a:hover {
    text-decoration: unset;
}

.nav-links {
    display: flex;
    gap: 5px;
}

.nav-links a,
.smart-header .nav-links a:hover {
    color: var(--text-white-darkmode);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
}

.nav-links a:hover {
    text-decoration: underline;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative
}

.search-icon-header {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

/* Hide the default GCSE button */
.gsc-search-button {
    display: none;
}

/* 
.x {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 0px;
} */

#equityList a,
#debtList a,
#hybridList a {
    text-decoration: none;
    color: var(--text-white-darkmode);
}

#equityList,
#debtList,
#hybridList {
    display: grid;
    gap: 10px 20px;
    grid-template-columns: auto auto;
}

#hybridList {
    grid-template-columns: auto;
}



/* Style the GCSE input field */
.gsc-input-box {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 14px;
    outline: none;
    width: 200px;
    /* Adjust width as needed */
}

/* Optional: Add hover and focus effects */
.gsc-input-box:hover,
.gsc-input-box:focus {
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

.cart {
    position: relative;
    font-size: 16px;
    cursor: pointer;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: #FF4F4F;
    color: #ffffff;
    font-size: 12px;
    border-radius: 50%;
    padding: 2px 6px;
}

#theme-toggle span {
    padding: 0 10px !important
}

#theme-toggle img {
    padding: 0px;
    width: 31px;
}

.sign-in-btn {
    background-color: #E76408;
    color: #ffffff;
    border: none;
    padding: 6px 15px;
    font-size: 16px;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
}

.sign-in-btn:hover {
    background-color: #FF8C00;
}

.menu-icon {
    background: none;
    border: none;
    font-size: 20px;
    color: #ffffff;
    cursor: pointer;
}

/* Subheader */
/* Style for the subheader */
/* Style for the subheader */
.subheader-outer {}

.subheader {
    display: none;
    /* Initially hidden */
    background: #1E1D2A;
    backdrop-filter: blur(10px);
    padding: 20px 20px;
    position: fixed;
    top: 108px;
    left: 0;
    right: 0;
    z-index: 1000;
    max-width: 1360px;
    margin: 0 auto;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.5);
    justify-content: space-between;
}

.header-background .subheader {
    background: transparent;
    backdrop-filter: unset;
    padding: 20px 20px;
    position: unset;
    box-shadow: unset;

}

.header-background .subheader.max-width {
    padding: 20px 20px !important;
}

.header-background:has(.subheader) {
    background: var(--background-darkmode);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 105px;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.5);
}

.subheader li a p {
    font-weight: 400;
    font-size: 14px;
    color: var(--text-white-darkmode);
    margin-bottom: 0;

}

.subheader li a span {
    color: rgba(103, 116, 137, 1);
    ;

    font-size: 12px;
}

.subheader {
    border-top: 0.5px solid rgba(254, 254, 254, 0.1);
}



.subheader li a {
    text-decoration: none;
    display: flex;
    margin-bottom: 10px;
}

.subheader .visit-site-button {
    color: var(--button-fill-darkmode) !important;
    border: 1px solid var(--button-fill-darkmode);
    border-radius: 15px;
    padding: 5px 10px;
}

/* .subheader>div:not(.subheader.ourSchemesLink>div,.subheader.forMegamenu>div) {
    display: flex;
    justify-content: space-between;
    width: -webkit-fill-available;
    max-width: 1320px;
    padding: 0 20px;
} */

.subheader.active {
    display: flex;
    /* Only show when active */
}

/* .subheader.active:not(.subheader.active.ourSchemesLink,.subheader.forMegamenu.active) {
    flex-flow: column;
} */

/* .subheader.active>.subheader-column:not(.subheader.ourSchemesLink.active>.subheader-column,.subheader.forMegamenu.active>.subheader-column) {
    display: grid;
    grid-template-columns: auto auto auto;
    justify-content: space-between;
    padding-left: 0;
    padding-right: 20px;
} */


/* Each column in the subheader */
.subheader-column {
    /* flex: 1; */
    margin: 0 15px;
    color: #FFF;
}

.visit-site-button img {
    margin: 0 !important;
    width: 16px;
    height: 16px;
    margin-left: 5px !important;
}

.subheader-column h3 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 10px;
    color: #CCC;
    text-transform: uppercase;
}

.subheader .subheader-column li a img {
    margin-bottom: 18px;
    margin-right: 15px;
}

/* Adjust layout for 2-column style in each heading section */
.subheader-split {
    display: flex;
    justify-content: space-between;
}

/* Style for unordered lists inside columns */
.subheader-column ul {
    list-style: none;
    padding: 0;
    margin: 8px 8px 3px 0;
}

/* Style for each list item in the subheader */
.subheader-column li {
    font-size: 14px;
    color: #FFF;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.subheader .tab-pane.active {
    display: flex;
}

.subheader .tab-pane p {
    padding: 0 !important;
    text-align: left !important;
}

/* Icon styles for each list item */
.subheader-column li .icon {
    display: inline-block;
    width: 20px;
    /* Set a fixed width for all icons */
    height: 20px;
    /* Set a fixed height for all icons */
    margin-right: 10px;
    background-size: contain;
    /* Ensure the image scales correctly */
    background-repeat: no-repeat;
    background-position: center;
    /* Center the icon inside the container */
}


/* Add specific icons for different types of schemes */
.equity-icon {
    background-image: url('Icon.png');
    /* Replace with your icon's URL */
}

.debt-icon {
    background-image: url('trending-up.png');
    /* Replace with your icon's URL */
}

.hybrid-icon {
    background-image: url('scale.png');
    /* Replace with your icon's URL */
}

/* Active Navigation */
/* #ourSchemesLink:focus, 
  #ourSchemesLink.active {
    background-color: #E76408;
    height: 15px;
    border-radius: 25px;
    padding: 7px;
    color: white;
  }
   */

/* Menu appear  */
/* Style for the menu button */

/* Menu appear */


/* footer css */

.footer {
    background-color: var(--footer-bg);
    color: #ffffff;
    margin: 0 auto;
    padding-top: 50px;
}

.footer .subheader-column {
    margin: 0 !important;
}

.footer .subheader-column p {
    margin: 0 !important;
}

.footer_expand_content {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 30px auto;


}

footer .container {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

footer h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-white-darkmode);
    margin-bottom: 15px;
}

.social_media_icons {
    margin-left: 50px;
    margin-top: auto;
}

.footnote-outer {
    background: rgba(254, 254, 254, 0.05);
    position: relative;
    border-top: 1px solid var(--border-light-darkmode);
}

.subheader-column li:hover {

    p,
    span,
    a {
        color: #54ABBF !important
    }
}


.footnote {
    display: flex;
    padding: 20px !important;
}

.footer_expand_content {
    display: none;
}

.crmf-header a.active::after {
    transform: rotate(180deg);
    bottom: 10px;
}

.crmf-header a:not(.smart-header a, .kyc_header_link, .mobile-header a)::after {
    content: var(--dropdown-arrow);
    position: absolute;
    right: 3px;
    bottom: 4px;
    top: calc(50% - 5px);
}

.crmf-header a.active:not(.smart-header a.active)::after {
    bottom: 10px;
}

.crmf-header a.active {
    font-weight: 700;
}

.crmf-header a {
    padding: 8px 20px;
    position: relative;
}

.subheader h3 {
    font-weight: 400;
    font-size: 16px;
    color: var(--grey-text-darkmode);

}

#forMegamenu.active::before {
    content: var(--closing-hamburger);


}

#forMegamenu {
    position: relative;
    width: 28px;
}

#forMegamenu::before {
    content: var(--hamburger-icon);
    position: absolute;
    top: -12px;
    left: 0;

}


.forMegamenu {
    padding: 0 !important;

    .nav {
        background: var(--card-bg);

    }

    .nav-link {
        color: var(--text-white-darkmode);
        border-bottom: 1px solid rgba(254, 254, 254, 0.05) !important;
        border-radius: 0 !important;
        padding: 30px;
    }

    .nav-link:hover {
        color: var(--text-white-darkmode) !important;

    }

    .nav-link.active {
        background-color: var(--button-fill-darkmode) !important;
        border-right: 4px solid var(--text-white-darkmode);

    }
}

.subheader .tab-pane p {
    color: var(--text-white-darkmode) !important;
    font-size: 14px !important;
}

#collapse_btn {
    padding: 10px 20px;
    display: none;

    img {
        transform: rotate(180deg);
    }
}

#expand_btn,
#collapse_btn {
    cursor: pointer;
    background: var(--expand-bg);


    border-radius: 20px;
    position: absolute;
    left: 47%;
    top: -15px;
    padding: 0 20px;

    img {
        width: 12px;
        margin-left: 10px;
    }
}

.footnote p {
    margin-bottom: 0;
}

.footnote span,
#collapse_btn span {
    margin-bottom: 20px;
    color: var(--text-white-darkmode);
}

.footnote img {
    width: 32px;
    margin-right: 10px;
    height: 32px
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: #979591;
    text-decoration: none;
    font-size: 14px;

}

footer ul li a:hover {
    color: #54ABBF;
    font-weight: 500;
    font-size: 14px;
    text-decoration: underline;
}

footer p,
footer ul,
footer a {
    font-size: 14px;
    line-height: 1.6;
    color: var(--grey-text-darkmode);
    font-weight: 500;
    font-size: 14px;
}

footer p span,
footer span img {
    margin-right: 15px;
    display: block;

}

footer .need-assistance p {
    line-height: normal;
    margin-bottom: 10px;
}

footer .need-assistance {
    margin-bottom: 30px;
}

footer p:has(span) {
    display: flex;
}

footer h2 {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-white-darkmode);
}

footer .download-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

footer .download-buttons img {
    width: 150px;
    height: auto;
    cursor: pointer;
}

.footer-logo {
    margin-bottom: 30px;
    max-width: 260px;
    padding-bottom: 45px;
    display: block;
}

@media (max-width: 992px) {
    footer .container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {

    .ncd-breadcrumb,
    .ncd-breadcrumb p {
        margin-bottom: 0;
    }

    .marq-container {
        margin-bottom: -90px;
    }

    footer {
        padding: 0 !important;

        .container {

            display: block;
            padding: 20px;

            .column:nth-child(1),
            .column:nth-child(2) {
                width: 100% !important;
                margin-bottom: 20px;

            }

            .column:nth-child(3),
            .column:nth-child(4) {
                width: 50% !important;
                display: table-cell;
                margin-bottom: 20px;
            }
        }

        .footer-logo {
            padding-bottom: 0;
        }

        .footnote {
            display: block;
        }

        #expand_btn,
        #collapse_btn {
            left: 35%;
        }

        .footer_expand_content {
            margin-top: 0;
            padding: 0 20px 20px;
            grid-template-columns: repeat(2, 1fr);
        }
    }
}

@media (max-width: 576px) {
    footer .container {
        grid-template-columns: 1fr;
    }
}




/* wajcs */




/* Marquee */
.marq-container {
    overflow: hidden;
    color: #fff;
    /* Keep the container fixed */
    margin-top: 115px;
    /* Position the container 44% from the top of the screen */
    width: 100%;
    /* Full screen width */
    background-color: var(--marquee-bg);
    /* Static background color */
    /* Padding for visual effect */
}

.marq {
    padding: 5px 0;

    color: var(--text-white-darkmode);
    white-space: nowrap;
    /* Prevents text from wrapping */
    font-size: 16px;
    /* Adjust font size */
    animation: marquee 25s linear infinite;
    /* Controls the scrolling animation */
    text-align: center;
    /* Centers the text */
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
        /* Start the text off-screen to the right */
    }

    100% {
        transform: translateX(-100%);
        /* Move the text completely off-screen to the left */
    }
}



/* searchmodal */
/* Style for the Search Modal */
.search-modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Black background with transparency */
    padding-top: 100px;
    overflow: auto;
    /* Enable scroll if the page has overflow */
}

/* Modal Content */
.search-modal-content {
    background-color: white;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Close button (X) */
.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Search Input */
.search-input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Search Button */
.search-btn {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.search-btn:hover {
    background-color: #45a049;
}

/* SEARCH MODAL  */
/* Container for the search box */
.custom-search-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    justify-content: space-between;
    /* Ensures better alignment of items */
}

/* Search box input */
.custom-search-box {
    color: #FFF;
    width: 100%;
    padding: 10px 16px;
    /* Increased padding for better spacing */
    border: 1px solid #e0e5ec;
    /* Softer, lighter border */
    border-radius: 50px;
    /* Rounded edges for a more modern look */
    margin-right: 10px;
    position: relative;
    background-color: rgb(31 41 55) !important;
    /* Light background for a clean look */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    /* Soft shadow for depth */
    font-size: 16px;
    transition: all 0.3s ease;
    /* Smooth transitions */

    background-image: url('/wp-content/uploads/2025/02/Frame-4.png');
    background-size: 20px 20px;
    /* Adjust the size */
    background-position: right 10px center;
    /* Position the icon at the right with some padding */
    background-repeat: no-repeat;
    padding-right: 30px;
    /* Spac
}

.custom-search-box:focus {
    border-color: #007BFF; /* Highlight border color on focus */
    background-color: #ffffff;
    /* Slightly darker background on focus */
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
    /* Light blue shadow on focus */
}

/* Icon inside the search box */
.custom-search-box::after {
    content: "🔍";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%) scale(2);
    pointer-events: none;
    /* Prevent interaction with the icon */
    color: #007BFF;
    /* Blue color for the icon */
}

.close-btn {
    color: #fff;
    background-color: #aaa;
    font-size: 20px;
    font-weight: bold;
    /* padding: 10px; */
    border-radius: 50%;
    text-align: center;
    width: 23px;
    height: 23px;
    line-height: 20px;
    position: absolute;
    top: 10px;
    right: 10px;
}

.custom-modal-body::-webkit-scrollbar {
    width: 8px;
    /* Set width of the scrollbar */
}

.custom-modal-body::-webkit-scrollbar-thumb {
    background-color: #54abbf;
    /* Set the color of the scrollbar thumb */
    border-radius: 10px;
    /* Optional: Rounds the thumb edges */
}

.custom-modal-body::-webkit-scrollbar-track {
    background-color: #f1f1f1;
    /* Set the background color of the track */
    border-radius: 10px;
    /* Optional: Rounds the track edges */
}

/* Search button */
.custom-search-icon {
    padding: 12px 20px;
    background: #007BFF;
    color: white;
    border: none;
    border-radius: 50px;
    /* More rounded for modern appearance */
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 16px;
}

.custom-search-icon:hover {
    background: #0056b3;
    /* Darker blue on hover */
}

/* Modal Styles */
.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    /* Darker background for modal */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

:root {
    --tw-border-opacity: 1;
    /* Ensure this is defined */
}

.custom-modal-content {
    position: absolute;
    top: calc(50% - 262px);
    left: calc(50% - 360px);
    background-color: rgb(31 41 55);
    padding: 20px;
    border-radius: 20px;
    width: 700px;
    /* Increased width */
    height: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    /* Soft shadow for depth */
    transition: width 0.3s ease;
    overflow: hidden;

}

.custom-modal-header {
    margin-top: 25px;
    font-size: 20px;
    /* Larger header for better readability */
    font-weight: 400;
    /* Bold weight for header */
    margin-bottom: 20px;
}

.custom-modal-body {
    display: flex;
    flex-direction: column;
    /* Slightly reduced gap for compactness */
    max-height: 423px;
    overflow-y: auto;
}

.custom-modal-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.custom-close-btn {
    padding: 10px 20px;
    background: #087990;
    /* Red button for attention */
    color: white;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.custom-close-btn:hover {
    background: #e03e3e;
    /* Darker red for hover */
}

/* Items inside modal */
.custom-items-row {
    display: flex;
    gap: 10px;
    /* Increased gap for better item separation */
    flex-wrap: wrap;
    /* Allow items to wrap for responsiveness */
    justify-content: flex-start;
    overflow-x: auto;
}

.custom-item {
    color: #fff;
}

.custom-item {
    margin: 4px;
    background-color: rgb(31 41 55);
    /* Soft background color */
    padding: 15px;
    border: 1px solid rgb(75 85 99);
    border-radius: 25px;
    text-align: left;
    font-size: 13px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
    display: inline-block;
    /* Allow the width to adjust based on content */
    width: auto;
    /* Let the width adjust based on the text */
    max-width: 100%;
    /* Prevent it from stretching beyond its container */
}


.custom-item:hover {
    background-color: rgb(55 65 81);
    /* Light hover background */
    transform: translateY(-3px);
    /* Slight lift effect */
}

/* Section title */
.custom-section-title {
    font-size: 16px;
    font-weight: 700;
    padding-top: 3px;
    /* Stronger title emphasis */
    margin-bottom: 15px;
    color: #e9eff3;
    /* Darker text for better contrast */
}

.top-bar .message+a {
    color: #f79009;
    margin-right: 20px;
    margin-left: auto !important;
    font-size: 14px
}

.message h6 img {
    width: 60px;
    margin-bottom: 4px;
}



/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .custom-modal-content {
        width: 90%;

    }
}


@media (max-width: 768px) {
    .custom-modal-content {
        width: 95%;
        /* Use almost full width */
        left: 50%;
        /* Center horizontally */
        top: 50%;
        /* Center vertically */
        transform: translate(-50%, -50%);
        /* Fine-tune centering */
        padding: 15px;
        /* Reduce padding for smaller screens */
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        /* Adjust shadow on mobile */
    }



    .custom-search-box {
        padding: 8px;
        /* Reduce padding for smaller screens */
    }

    .custom-search-icon {
        padding: 8px;
        /* Reduce padding for icon as well */
    }

    .custom-items-row {
        justify-content: flex-start;
        /* Align items to the left on smaller screens */
    }

    .custom-item {
        min-width: 90px;
        /* Reduce minimum width of items on smaller screens */
    }

    .has_subheader {
        position: relative;
    }

    .mobile-header .mobile-subheader .has_subheader::after {
        content: var(--dropdown-arrow);
        position: absolute;
        right: 10px !important;
        top: 10px !important;


    }

    .desktop-header,
    .controls,
    .mobile-header.smart-header {
        display: none;
    }

    .top-bar {
        padding: 0 !important;
    }

    .message {
        margin: 4px;
    }

    .message h6:first-child {
        text-align: center;
    }

    .message h6 {
        font-size: 8px;
        padding-right: 4px;
    }

    .message .label {
        font-size: 6px;
    }

    .message .value {
        font-size: 12px;
    }

    .message h6 img {
        width: 25px;
    }

    .message .timer-container {
        gap: 3px;
        padding-right: 4px;
    }

    .message button img {
        display: none;
    }

    .message button {
        font-size: 8px;
        padding: 4px 6px;
    }

    .top-bar .message+a {
        margin-right: 5px;
        margin-left: auto;
        font-size: 8px;
    }

    .message .timer-container {
        display: grid;
        grid-template-rows: auto auto;
        grid-auto-flow: column;
    }

    .message .label:not(:last-child)::after,
    p.value#days:after,
    p.value#hours:after,
    p.value#minutes:after {
        content: ":";
    }

    p.value:not(#days):not(#hours):not(#minutes):not(#seconds) {
        display: none;
    }

    .message button a {
        text-wrap-mode: nowrap;
        padding: 5px 4px;
    }

    .mobile-header,
    .mobile-left-header,
    .mobile-right-header {
        display: flex;
    }

    .header {
        top: 0;
    }

    .mobile-header {
        top: 45px;
    }

    .mobile-subheader .dark-mode-toggle {
        position: relative;
    }

    .mobile-subheader .dark-mode-toggle::after {
        content: url(/wp-content/uploads/2025/02/regular.svg);
        position: absolute;
        top: 5px;
        right: 0px;
    }

    .mobile-subheader {
        display: block !important;

        position: absolute;
        overflow-y: auto;
        top: 0;
        left: -100%;
        /* Hide off-screen */
        width: 70%;
        /* Adjust width as needed */
        height: 100vh;
        background: #252736;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
        transition: left 0.3s ease-in-out;
        z-index: 10000;



        .nav-links a,
        .nav-links {
            display: block;
        }

        .crmf-header a.active {
            border-radius: 8px;
        }

        .inner_subheader {
            display: none;
            padding-left: 10px;
        }

        .nav-links {
            padding: 20px;
        }

        .nav-links a {
            padding: 12px 12px;
        }

        .crmf-header a#theme-toggle.dark-mode-toggle {
            border: 0 !important;
            color: var(--text-white-darkmode) !important;
            padding: 12px !important;
        }

        .controls {
            padding-left: 10px;
            padding-top: 10px;
        }

        .font-control {
            border-radius: 4px;
            border: 0;
            background-color: #97959180;
            color: var(--text-white-darkmode);
        }
    }

    .inner_logo {
        border-bottom: 0.5px solid rgba(254, 254, 254, 0.1);
        padding: 20px;
    }

    .inner_logo img {
        width: 180px;
    }

    .mobile-subheader.active {
        left: 0;
        /* Slide in */
    }

    .mobile-header {
        justify-content: space-between;

        .logo {
            margin-top: 15px;

        }
    }
}

.custom-item-snippet {
    color: #fff;
}

.custom-item a {
    text-decoration: none;
    color: rgb(209 213 219)
}

.white-text {
    color: white;
}


.custom-items a {
    text-decoration: none !important;
    /* Ensures the style is applied */
    color: #0dcaf0 !important;
    /* Optional: Makes the link color the same as the parent */
}

.custom-items {
    /* Your other styling goes here */
    position: relative;
    /* Ensures the element can hold pseudo-content */
}

.custom-items:not(:last-child)::after {
    content: "";
    /* The separator text */
    display: block;
    margin-top: 10px;
    /* Space between item and separator */
    color: #333;
    /* Separator color */
    font-size: 14px;
    /* Adjust font size as needed */
    text-align: center;
    /* Centers the separator text */
    width: 100%;
    /* Full width */
    border-top: 1px solid #ccc;
    /* Creates a line separator */
    margin: 10px 0;
    /* Adds space around the separator */
}


/* PAGINATION FOR TER.php */