html{
    scroll-behavior: smooth !important;
}
.bg-away{
    background-color: #91CC75 !important;
}
.bg-soft-blue{
    background-color: #E4ECFA !important;
}
.text-blue{
    color: #3F78DF !important;
}
.text-away{
    color: #91CC75 !important;
}
.border-away{
    border-color: #91CC75 !important;
}
.icon-1-5x{
    font-size: 1.5em;
}
.icon-2x{
    font-size: 2em;
}
.icon-3x{
    font-size: 3em;
}
.icon-4x{
    font-size: 4em;
}
.icon-5x{
    font-size: 5em;
}
.object-fit{
    object-fit: cover !important;
}

.icon-3x{
    font-size: 1.2rem !important;
}

/*New Gradient*/
.bg-primary {
    background: linear-gradient(135deg, #5B5FFF 0%, #6C63FF 40%, #8B5CF6 100%) !important;
    color: #fff;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: transparent;
    --bs-btn-border-color: transparent;

    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: transparent;
    --bs-btn-hover-border-color: transparent;

    --bs-btn-focus-shadow-rgb: 139, 92, 246;

    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: transparent;
    --bs-btn-active-border-color: transparent;

    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #6C63FF;
    --bs-btn-disabled-border-color: #6C63FF;

    background: linear-gradient(135deg, #5B5FFF 0%, #6C63FF 40%, #8B5CF6 100%);
    border: none;
    transition: all 0.2s ease;
}

.btn-soft-primary {
    --bs-btn-color: #6C63FF;
    --bs-btn-bg: rgba(108, 99, 255, 0.1);
    --bs-btn-border-color: rgba(108, 99, 255, 0.1);

    --bs-btn-hover-color: #6C63FF;
    --bs-btn-hover-bg: rgba(108, 99, 255, 0.15);
    --bs-btn-hover-border-color: rgba(108, 99, 255, 0.15);

    --bs-btn-focus-shadow-rgb: 139, 92, 246;

    --bs-btn-active-color: #6C63FF;
    --bs-btn-active-bg: rgba(108, 99, 255, 0.2);
    --bs-btn-active-border-color: rgba(108, 99, 255, 0.2);

    --bs-btn-disabled-color: #6C63FF;
    --bs-btn-disabled-bg: rgba(108, 99, 255, 0.05);
    --bs-btn-disabled-border-color: rgba(108, 99, 255, 0.05);
}

.btn-primary:hover {
    filter: brightness(1.05);
}

.btn-primary:active {
    filter: brightness(0.95);
}

.btn-primary:focus {
    box-shadow: 0 0 0 0.25rem rgba(139, 92, 246, 0.25);
}

.btn-primary.btn-expand {
    color: #6C63FF;
}

.btn-primary.btn-expand:before {
    background: linear-gradient(135deg, #5B5FFF 0%, #6C63FF 40%, #8B5CF6 100%);
}

.btn-primary.btn-circle.ripple::after,
.btn-primary.btn-circle.ripple::before {
    background: linear-gradient(135deg, #5B5FFF 0%, #6C63FF 40%, #8B5CF6 100%);
}

.invisible-text {
    font-size: 0;       /* visually shrinks it away */
    line-height: 0;     /* avoid extra spacing */
    color: transparent; /* optional, ensures nothing visible */
}

.swal2-container.swal2-center>.swal2-popup{
    background-size: cover !important;
    border-radius: 3% !important;
    font-size: 13px;
}
.swal2-html-container, .swal2-title{
    color: #6C63FF !important;
    font-weight: bolder !important;
}
.scroll-auto{
    overflow: auto !important;
}

/* Global scrollbar size */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

/* Track (background) */
::-webkit-scrollbar-track {
    background: transparent;
}

/* Thumb (the draggable part) */
::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
    transition: background .2s ease;
}

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

* {
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,.35) transparent;
}

/*.page-loader:before{border:10px dashed #6C63FF;}*/


/*Loader 2*/

.page-loader:before {
    content: '';
    border: 6px dotted #6C63FF;
    animation: spin .9s linear infinite;
    display: inline-block;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Container customization */
.select2-container .select2-selection--single {
    width: 100% !important;
    height: 45px !important;
    display: flex !important;
    align-items: center !important;
    font-size: 14px !important;
    padding-left: 12px;
    color: #959CA9 !important; /* Text color */
    border: 1px solid #eee !important; /* Custom border */
    border-radius: 9px !important; /* Rounded corners */
}

/* Center the dropdown arrow */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    top: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 10px; /* Optional: better spacing */
}

/* Option font size and default color */
.select2-results__option {
    font-size: 13px !important;
    color: #333 !important;
}

/* Hover effect on options */
.select2-results__option--highlighted {
    background-color: #6C63FF !important;
    color: #fff !important;
}

/* Ensure the Select2 container inside modals takes full width */
.modal .select2-container, .select2-container {
    width: 100% !important;
}

/* Target Select2 selection and arrow in modal */
.modal .select2-container--default .select2-selection--single, .select2-container--default .select2-selection--single {
    width: 100% !important;
}

.modal .select2-container--default .select2-selection--single .select2-selection__arrow {
    right: 10px !important; /* Optional: adjust positioning */
}


.progress-list .progressbar.line .progressbar-text{
    display: none;
}

.fs-mobile{
    font-size: 18px !important;
}

.table-mobile{
    font-size: .9rem !important;
}

.text-justify{
    text-align: justify;
}

::selection {
    color: #fff;
    background: #6C63FF;
}

.floating-container{
    position: fixed;
    top: 45%;
    display: inline-block;
    z-index: 6;
}

.featured-noti p, .noti-content p{
    margin-bottom: 0;
}
.featured-noti p{
    display: inline-block;
}

/* Ensure the wrapper takes full width */
.datetime-wrapper {
    position: relative;
    width: 100%; /* Ensure the wrapper takes up 100% of its container */
}

/* Style for the input field */
#datetime {
    width: 100%; /* Make the input field 100% wide */
    padding-right: 30px; /* Leave space for the calendar icon */
    padding-left: 10px; /* Optional: padding for better spacing */
    height: 40px; /* Adjust the height if necessary */
    font-size: 14px; /* Adjust font size as needed */
}

/* Position the calendar icon inside the input field */
.datetime-wrapper .calendar-icon {
    position: absolute;
    right: 10px;  /* Adjust positioning of the icon */
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px; /* Adjust the size of the icon */
    pointer-events: none; /* Prevent icon from interfering with input field */
}

/* Style for the input field */
.date-time-input {
    padding-right: 30px; /* Leave space for the icon */
    border: 1px solid #bbb;
}

.table-tip-item {
    border-radius: 10px; /* Adjust the radius as needed */
    overflow: hidden; /* Ensures the content doesn't spill over the rounded corners */
}

.tip-items-container{
    max-height: 1000px;
    overflow-y: auto;
}


/* Restore horizontal row borders between tbody rows */
table.dataTable tbody tr {
    border-bottom: 1px solid #dee2e6 !important;
}

/* Restore bottom border of table */
table.dataTable.no-footer {
    border-bottom: 1px solid #dee2e6 !important;
}

/* Keep header bottom border */
table.dataTable thead th {
    border-bottom: 1px solid #dee2e6 !important;
}

/* Optional: Remove DataTables spacing artifacts */
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.scale-text-85 { font-size: 0.85em !important; }


#collapseFAQ mark {
    padding: 0 .15em;
    background: #6C63FF; /* bootstrap warning-subtle vibe */
    color: #fff;
    border-radius: .2rem;
}
/* Circular meter (conic gradient) */
.tipster-meter{
    --val: 0;                 /* 0–100 */
    --track: #e9ecef;
    --size: 84px;
    --thickness: 10px;
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    background: conic-gradient(var(--meter-color, #198754) calc(var(--val)*1%), var(--track) 0);
    display: grid;
    place-items: center;
}
.tipster-meter-inner{
    width: calc(var(--size) - var(--thickness) - var(--thickness));
    height: calc(var(--size) - var(--thickness) - var(--thickness));
    border-radius: 50%;
    background: var(--bs-card);
    display: grid;
    place-items: center;
    text-align: center;
}

.accordion-wrapper .card-header button::before,
.collapse-link::before,
.accordion-item.icon button > span {
    content: none !important;
    display: none !important;
}

.accordion-item.icon button { padding-left: 0 !important; }
.accordion-button { padding-left: 0 !important; }
.accordion-item .card-body,
.accordion-item.icon .card-body { padding-left: 1.25rem !important; }

.accordion-item .card-body { padding-left: 5px !important; padding-right: 5px !important; }
.accordion-item.icon .card-body { padding-left: 5px !important; padding-right: 5px !important;}

.marquee { overflow: hidden; position: relative; }
.marquee-track {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: max-content;
    animation: bsMarquee 100s linear infinite;
    will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes bsMarquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.marquee .list-group-item {
    background: #0f0f10;
    border-color: rgba(255,255,255,0.08);
}

.verdict-meter{
    --val: 0;                 /* 0 to 100 */
    --track: #DFDFDF;         /* ash */
    --size: 80px;
    --thickness: 10px;
    --meter-color: var(--bs-green, #45c4a0); /* default: green */

    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    background: conic-gradient(var(--meter-color) calc(var(--val)*1%), var(--track) 0);
    display: grid;
    place-items: center;
}

.verdict-meter-inner{
    width: calc(var(--size) - var(--thickness) - var(--thickness));
    height: calc(var(--size) - var(--thickness) - var(--thickness));
    border-radius: 50%;
    background: var(--bs-card);
    display: grid;
    place-items: center;
    text-align: center;
}

.verdict-meter.bg-green{
    --meter-color: var(--bs-green, #45c4a0);
}

.verdict-meter.bg-blue{
    --meter-color: var(--bs-blue, #3F78DF);
}

.verdict-meter.bg-ash{
    --meter-color: var(--bs-ash, #9499a3);
}

.verdict-meter.bg-yellow{
    --meter-color: var(--bs-yellow, #fab758);
}

.verdict-meter.bg-red{
    --meter-color: var(--bs-red, #e2626b);
}

/* Compact navbar height without breaking the layout */
.navbar.classic.navbar-light.nav-compact {
    padding-top: 0;            /* beats theme padding */
    padding-bottom: 0;
    min-height: 56px;          /* keeps toggler area tappable */
}

/* Brand area: remove extra vertical padding */
.navbar.classic.navbar-light.nav-compact .navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
    line-height: 1;
}

/* Optional: control logo height for balance */
.navbar.classic.navbar-light.nav-compact .navbar-brand img {
    height: 36px;              /* adjust to taste */
    width: auto;
}

/* Nav links: trim vertical padding */
.navbar.classic.navbar-light.nav-compact .navbar-nav .nav-link {
    padding-top: .5rem;
    padding-bottom: .5rem;
}

/* Buttons in the right cluster: align and trim */
.navbar.classic.navbar-light.nav-compact .navbar-other .btn,
.navbar.classic.navbar-light.nav-compact .navbar-other .nav-link {
    padding-top: .35rem;
    padding-bottom: .35rem;
    line-height: 1.2;
}

.pretty-input{
    position:absolute;
    left:-9999px;
    top:-9999px;
}

.pagination-premium .page-link {
    background: #ffffff;
    color: #343f52;
    border: 1px solid #e5e7eb;
    border-radius: 0.6rem;
    margin: 0 2px;
    padding: 6px 12px;
    font-weight: 500;
}

.pagination-premium .page-link:hover {
    background: rgba(94,185,240,0.12);
    color: #343f52;
    border-color: rgba(94,185,240,0.35);
}

.pagination-premium .page-item.active .page-link {
    background: #6C63FF;
    border-color: #6C63FF;
    color: #ffffff;
}

.pagination-premium .page-item.disabled .page-link {
    background: #f1f3f5;
    color: #9499a3;
    border-color: #e5e7eb;
}

[data-bs-theme="dark"] .pagination-premium .page-link,
body.dark .pagination-premium .page-link {
    background: #262b32;
    color: #f8f9fa;
    border: 1px solid #343f52;
}

[data-bs-theme="dark"] .pagination-premium .page-link:hover,
body.dark .pagination-premium .page-link:hover {
    background: rgba(94,185,240,0.15);
    color: #ffffff;
    border-color: rgba(94,185,240,0.35);
}

[data-bs-theme="dark"] .pagination-premium .page-item.active .page-link,
body.dark .pagination-premium .page-item.active .page-link {
    background: #6C63FF;
    border-color: #6C63FF;
    color: #ffffff;
}

[data-bs-theme="dark"] .pagination-premium .page-item.disabled .page-link,
body.dark .pagination-premium .page-item.disabled .page-link {
    background: #343f52;
    color: #9499a3;
    border-color: #343f52;
}

/* Mobile offcanvas header retains spacing for touch */
@media (max-width: 991.98px) {
    .navbar.classic.navbar-light.nav-compact .offcanvas-header {
        padding-top: .75rem;
        padding-bottom: .75rem;
    }
}

/*################################################*/
@media only screen and (max-width: 768px) {
    .insight-table tr td, .insight-table tr th, .card-title, .landing-links, .profile-list-group li, .dtTable th, .dtTable td, .js-countdown h2, .js-countdown h5 {
        font-size: .7rem !important;
    }

    .js-countdown h5 {
        color: black !important;
    }

    .fs-mobile {
        font-size: 11px !important;
    }

    .table-mobile, .select2-selection__rendered {
        font-size: 0.6rem !important;
    }

    .scale-text-85 {
        font-size: 0.62em !important;
    }

    /*Selection Table*/
    .table-stacked-sm thead {
        display: none;
    }

    .table-stacked-sm tbody tr {
        display: block;
        margin-bottom: .75rem;
        border-radius: .75rem;
        box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
        background: #fff;
    }

    .table-stacked-sm tbody td,
    .table-stacked-sm tbody th {
        display: flex;
        width: 100%;
        text-align: left !important;
        justify-content: space-between;
        padding: .5rem .75rem;
        border-top: none !important;
    }

    .table-stacked-sm tbody td::before,
    .table-stacked-sm tbody th::before {
        content: attr(data-label);
        font-weight: 600;
        color: #6c757d; /* Bootstrap secondary */
        margin-right: 1rem;
    }

    .table-stacked-sm .list-group {
        width: 100%;
    }

    .table-stacked-sm .list-group-item {
        padding-left: 0;
        padding-right: 0;
    }

    .table-stacked-sm tbody tr + tr {
        margin-top: .5rem;
    }

    .verdict-meter-mobile { /* ash */
        --size: 70px;
        --thickness: 12px;
        width: var(--size);
        height: var(--size);
    }

    .verdict-meter-stability { /* ash */
        --size: 70px;
        --thickness: 10px;
        width: var(--size);
        height: var(--size);
    }
}

/* Desktop/tablet (show normal table) */
@media (min-width: 768px) {
    .table-stacked-sm thead { display: table-header-group; }
    .table-stacked-sm tbody tr { display: table-row; box-shadow: none; background: transparent; }
    .table-stacked-sm tbody td,
    .table-stacked-sm tbody th { display: table-cell; padding: .5rem; }
    .table-stacked-sm tbody td::before,
    .table-stacked-sm tbody th::before { content: none; }
}

@media (max-width: 991.98px) {
    .bs-metrics-table th,
    .bs-metrics-table td {
        padding: .2rem .35rem !important;
    }
}