/**
 * /*!
 *   Sphere Main Styles
 *   Core: General Layout Style
 * !
 *
 * @format
 */

/* ------------------------------- */
/* AdminLTE 4 Font Size Standardization */

/* Base font */
html,
body {
    /* font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif; */
    font-family: var(--bs-font-sans-serif);
    font-size: 13px; /*  93.2%; 14px base font (16px × 87.5% = 14px) */
    scroll-behavior: smooth;
    color: #444444; /*var(--bs-body-color);*/
}

:root {
    --bs-body-color: #444444;
    --bs-font-sans-serif: "Inter", "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    /* --bs-box-shadow-inset: none; */
}

.daterangepicker {
    font-family: var(--bs-font-sans-serif);
}

/* .card {
    --bs-card-spacer-y: 1.5rem;
    --bs-card-spacer-x: 1.5rem;
} */

[data-bs-theme="light"] {
    --bs-tertiary-bg-rgb: 236, 240, 245;
    --bs-sidebar-bg-rgb: rgb(249, 250, 252);
    --bs-cheader-bg-rgb: rgb(78, 84, 100);
    --bs-body-color: rgb(68, 68, 68);
    --bg-body-tertiary: rgb(236, 240, 245);
    --bs-emphasis-color: #333;

    /* --bs-border-color: rgb(108, 117, 125); */
    /* --bs-body-bg: var(--bs-white); */
}

[data-bs-theme="dark"] {
    --bs-heading-color: rgb(255, 255, 255);
}

.modal {
    --bs-modal-width: 600px;
}

.card-title {
    font-weight: 600;
}

/* .form-check-input {
    --bs-border-color: rgb(108, 117, 125);
} */

/* .btn-dark {
    --bs-btn-color: #fff;
    --bs-btn-bg: #212529;
    --bs-btn-border-color: #212529;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: rgb(66.3, 69.7, 73.1);
    --bs-btn-hover-border-color: rgb(55.2, 58.8, 62.4);
    --bs-btn-focus-shadow-rgb: 66, 70, 73;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: rgb(77.4, 80.6, 83.8);
    --bs-btn-active-border-color: rgb(55.2, 58.8, 62.4);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #212529;
    --bs-btn-disabled-border-color: #212529;
} */

.skip-links {
    display: none !important;
}

/*
* Component - Sidebar
*/
.app-sidebar .sidebar-brand,
.app-header {
    -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
}

.app-header {
    font-size: 1.25rem;
}

.sidebar-brand {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.app-sidebar {
    border-right: 1px solid var(--bs-border-color);
    background: var(--bs-body-bg);
    font-size: 1.1rem;
}

.app-sidebar .sidebar-brand {
    background: var(--bs-body-bg);
}

/* Stop full sidebar expanding on hover */
/* Lock collapsed width and Prevent hover expansion */
.sidebar-mini.sidebar-collapse .app-sidebar {
    width: 4.6rem;
    min-width: 4.6rem;
    max-width: 4.6rem;
}

.sidebar-mini.sidebar-collapse .app-sidebar:hover {
    width: 4.6rem;
    min-width: 4.6rem;
    max-width: 4.6rem;
}

.sidebar-mini.sidebar-collapse .app-sidebar:hover .sidebar-menu .nav-header {
    display: none;
}

.sidebar-mini.sidebar-collapse .app-sidebar:hover .logo-xl {
    visibility: hidden;
}

.sidebar-mini.sidebar-collapse .app-sidebar:hover .logo-xs {
    display: inline-block;
    visibility: visible;
    animation-name: fadeIn;
    animation-duration: 0.3s;
    animation-fill-mode: both;
}

.sidebar-menu .nav-item > .nav-link {
    padding: 1.2rem 1rem;
}

.sidebar-wrapper {
    padding-top: 0.75rem;
}

.sidebar-wrapper .sidebar-menu > .nav-item.active > .nav-link {
    color: var(--bs-link-color-rgb);
    background-color: #f4f4f5;
}

.sidebar-wrapper .nav-treeview > .nav-item.active > .nav-link {
    background-color: var(--lte-sidebar-submenu-hover-bg);
}

/* .sidebar-wrapper {
    padding: 0px;
}

.sidebar-collapse .sidebar-wrapper .nav-link {
    justify-content: flex-end !important;
}

.sidebar-wrapper .sidebar-menu .nav-item > .nav-link {
    margin: 0;
}
.sidebar-wrapper .sidebar-menu > .nav-item > .nav-link {
    border-radius: 0;
}

.sidebar-mini.sidebar-collapse .sidebar-menu .nav-link {
    width: 100%;
}
.sidebar-mini.sidebar-collapse .sidebar-menu .nav-link p {
    opacity: 0 !important;
    width: 0px !important;
} */

/*
 * Component: Alert
 * -----------------
 */
.content-wrapper .content-main-alert .alert {
    border-radius: 0;
    margin-bottom: 0;
    border: none !important;
}

.content-main-alert .alert-success {
    background-color: #55b948 !important;
}

.content-main-alert .alert-warning {
    background-color: #fab301 !important;
}

.bg-yellow-light {
    background-color: #fff6b1;
}

.content-main-alert .alert-danger {
    background-color: #d83726 !important;
}

.content-main-alert .alert-info {
    background-color: #0073ff !important;
    border-color: #1169d4;
}

.alert-info-light {
    color: #31708f;
    background-color: #d9edf7 !important;
    border-color: #bce8f1;
}

.alert-lg {
    font-size: 20px;
}

.alert .alert-tools {
    display: inline-block;
    margin-left: 20px;
}

/* .sidebar-expand-lg.layout-fixed .app-sidebar {
    border-right: 1px solid var(--bs-border-color);
} */

/*
 * Component: General Layout
 * -------------------------
 */
a {
    color: #0073ff;
    text-decoration: none;
}

a:hover,
a:active,
a:focus {
    outline: none;
    text-decoration: none;
    color: #0066ff;
}

.hover-scale {
    transition: transform 0.2s ease;
}
.hover-scale:hover {
    transform: scale(1.05);
}

/* .alert a {
    text-decoration: none;
} */

.hr-spacer {
    margin-bottom: 40px;
    border: none;
}

.border-dashed {
    border-style: dashed !important;
}

/*.main-header {
    z-index: 2001;
}*/

.main-header .navbar {
    min-height: 60px;
}

.main-header .sidebar-toggle {
    padding: 17px 15px;
    font-size: 18px;
    border-right: 0 !important;
}

.main-header .navbar .nav > li > a > .label {
    right: 15px;
}

.main-header .logo {
    height: 60px;
    line-height: 60px;
    text-align: left;
}

.main-header .logo img {
    max-height: 35px;
    max-width: 130px !important;
}

.main-header .logo .logo-mini img {
    padding-left: 5px;
    max-width: 45px;
    max-height: 45px;
}

.skip-link {
    top: -50px;
}

.fs-xs {
    font-size: 0.75rem; /* 12px */
}

.form-text {
    color: var(--bs-tertiary-color);
}

.form-switch-lg .form-check-input {
    transform: scale(1.4);
    margin-left: -2.2rem; /* adjust alignment */
}

/*
 * Component: NavBar
 * ------------------
 */

/* .nav-pills > li > a.active,
.nav-pills > li > a.active:hover,
.nav-pills > li > a.active:focus {
    border-top: 3px solid #0073ff;
    background-color: #0073ff;
    border-radius: 4px;
}

.nav-pills span.round-tab {
    width: 42px;
    height: 42px;
    line-height: 42px;
    display: inline-block;
    border-radius: 50%;
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    opacity: 0.7;
}

.nav-pills > li > a span.round-tab {
    border: 1px solid #444;
    color: #444;
}

.nav-pills > li > a.active span.round-tab {
    border: 1px solid #fff;
    color: #fff;
} */

/*
 * Component: Row Widget
 * ---------------------
 */

.row-widget {
    margin-bottom: 20px;
}

.row-widget .row-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding: 0 0 30px 0;
}

.row-widget .row-item-disabled {
    color: #bbb;
}

.row-widget .row-item-disabled img.user-avatar {
    opacity: 0.5;
    filter: gray;
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
}

.row-widget .row-item-disabled .radio-inline-rounded .radio-item label:before {
    color: #bbb !important;
    border-color: #bbb;
}

.row-widget .row-item-disabled .radio-inline-rounded .radio-item input[type="radio"]:checked + label:after {
    background: #bbb;
}

/*
 * Component: modal
 * ----------------
 */
.modal {
    --bs-modal-padding: 1.5rem;
    --bs-modal-header-padding: 1.5rem 1.5rem;
}

.modal-dialog .overlay {
    z-index: 50;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 3px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.modal-dialog .overlay > .fa {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -15px;
    margin-top: -15px;
    color: #000;
    font-size: 30px;
}

.modal-dialog .overlay {
    z-index: 50;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 3px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.modal-dialog .overlay > .fa {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -15px;
    margin-top: -15px;
    color: #000;
    font-size: 30px;
}

/*
 * START: Component: Button
 * ----------------- */

.btn {
    --bs-btn-box-shadow: none;
}

.btn-xs {
    --bs-btn-padding-y: 0.1rem;
    --bs-btn-padding-x: 0.25rem;
    --bs-btn-font-size: 0.75rem;
    --bs-btn-border-radius: var(--bs-border-radius-sm);
}

/* button.btn-outline-primary .team-filter-count {
    background: #0073ff;
    padding: 0 2px;
    border-radius: 50%;
    height: 16px;
    width: 16px;
    display: inline-block;
    vertical-align: inherit;
    position: relative;
    color: #fff;
    line-height: 16px;
    font-size: 12px;
    font-weight: 600;
}

button.btn-outline-primary:hover .team-filter-count,
button.btn-primary .team-filter-count {
    background: #fff;
    padding: 0 2px;
    border-radius: 50%;
    height: 16px;
    width: 16px;
    display: inline-block;
    vertical-align: inherit;
    position: relative;
    color: #0073ff;
    line-height: 16px;
    font-size: 12px;
    font-weight: 600;
} */

/*.btn-default {
    background-color: transparent;
    border-color: #0073ff;
    color: #0073ff;
}

.btn-default:hover,
.btn-default:active,
.btn-default.active,
.btn-default:active:hover,
.btn-default:active:focus,
.btn-default.active:focus,
.btn-default:active.focus,
.btn-default.active.focus,
.btn-default.hover {
    background-color: #e4edff;
    border-color: #688eda;
    color: #0073ff;
}

.btn-default:focus,
.btn-default.focus {
    background-color: #e4edff;
    border-color: #688eda;
    color: #0073ff;
}

.btn-default-custom-toggle.active,
.btn-default-custom-toggle.focus,
.btn-default-custom-toggle.active.focus {
    background-color: #0073ff;
    border-color: #0073ff;
    color: #fff;
}

.btn-link-inverse,
.btn-link-inverse:hover {
    color: #fff;
}

.btn-primary {
    background-color: #0073ff;
    border-color: #0073ff;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary.hover {
    background-color: #0066ff !important;
}

.btn-primary:focus,
.btn-primary.focus {
    background-color: #137ce5;
}

.btn-primary-inverse {
    background-color: none;
    border-color: #fff;
    color: #fff;
}

.btn-primary-inverse:hover,
.btn-primary-inverse:active,
.btn-primary-inverse.hover {
    background-color: none !important;
    border-color: #fff;
    color: #fff;
}

.btn-primary-inverse:focus,
.btn-primary-inverse.focus {
    background-color: #567eef;
    color: #fff;
}

.btn-clear {
    background: transparent;
    font-weight: 600;
}

.btn-clear:hover,
.btn-clear:active,
.btn-clear.hover {
    background-color: #0073ff !important;
    color: #fff;
}

.btn-clear:focus,
.btn-clear.focus {
    background-color: #567eef;
    color: #fff;
}

.btn-reverse {
    background-color: #3f4251;
    border-color: #373b47;
    color: #fff;
}

.btn-reverse:hover,
.btn-reverse:active,
.btn-reverse.hover {
    background-color: #fff;
    color: #333;
}

.btn-reverse:focus,
.btn-reverse.focus {
    background-color: #333;
    color: #fff;
    outline: none !important;
}

.btn-reverse:active:focus {
    color: #333;
    background-color: #fff;
}

.btn-white {
    background-color: #fff;
    border-color: #888;
    color: #333;
    outline: none;
}

.btn-white:hover,
.btn-white:active,
.btn-white.hover {
    background-color: #333;
    color: #fff;
}

.btn-white:focus,
.btn-white.focus {
    background-color: #fff;
    color: #333;
    outline: none !important;
}

.btn-white:active:focus {
    color: #fff;
    background-color: #333;
}

.btn-secondary {
    background-color: #ddd;
    border-color: #aaa;
    color: #333;
}

.btn-secondary:hover,
.btn-secondary:active,
.btn-secondary:active:hover,
.btn-secondary:active:focus,
.btn-secondary.active:focus,
.btn-secondary:active.focus,
.btn-secondary.active.focus,
.btn-secondary.hover {
    background-color: #ccc;
    border-color: #aaa;
}

.btn-secondary:focus,
.btn-secondary.focus {
    background-color: #ccc;
    border-color: #aaa;
}

.btn-secondary-inverse {
    background-color: #fff;
    border-color: #d2d2d2;
    color: #555;
}

.btn-secondary-inverse:hover,
.btn-secondary-inverse:active,
.btn-secondary-inverse:active:hover,
.btn-secondary-inverse:active:focus,
.btn-secondary-inverse.active:focus,
.btn-secondary-inverse:active.focus,
.btn-secondary-inverse.active.focus,
.btn-secondary-inverse.hover {
    background-color: #fff;
    border-color: #888;
}

.btn-secondary-inverse:focus,
.btn-secondary-inverse.focus {
    background-color: #fff;
    border-color: #888;
}

.bootstrap-select .dropdown-toggle.btn-secondary-inverse .filter-option {
    color: #555555;
}

.btn-rounded {
    border-radius: 20px;
}

.btn-rounded-full {
    border-radius: 50%;
    padding: 6px 10px;
}

.btn-action {
    width: 22px;
    height: 22px;
    padding: 0;
    font-size: 1rem;
    border-radius: 50%;
}

.btn-action:hover {
    background-color: #007bff !important;
    color: #fff !important;
}
/*
 * END: Component: Button
 * ----------------- */

/* START: App Content Header
------------------------------ */
.app-main .app-content-header {
    padding: 1.3rem 1.5rem;
    color: #fff;
    background-color: var(--bs-cheader-bg-rgb);
}

.app-content {
    padding: 1.5rem;
}

@media (max-width: 767px) {
    .layout-fixed .content-wrapper,
    .layout-fixed .right-side,
    .main-sidebar {
        padding-top: 62px !important;
    }

    .app-content-header {
        margin-top: 0 !important;
    }
}

@media (max-width: 767px) {
    .main-header > .logo {
        background-color: #fff !important;
        border-bottom: 1px solid #eee !important;
        display: none;
    }

    .app-content-header {
        margin-top: 20px;
    }
}

.app-content-header .box-tools,
.app-content-header .header-tools {
    vertical-align: middle;
    margin-top: 1px;
}

.app-content-header .box-tools {
    margin-top: 5px;
}

/* .app-content-header .content-header-title .btn-reverse,
.app-content-header .content-header-title h1 {
    float: left;
    word-break: break-all;
}

.app-content-header .content-header-title .btn-reverse {
    margin-left: 0;
    margin-right: 15px;
} */

.app-content-header h1 {
    margin: 0;
    font-size: 1.5rem;
    vertical-align: middle;
}

.app-content-header > h1 > small {
    padding-top: 4px;
    color: #fff;
}

.app-content-header h4 {
    margin-bottom: 5px;
}

.content-sub-header {
    padding: 15px 15px 0 15px;
}

.app-content-header .content-header-title .breadcrumb-simple {
    display: block;
    font-size: 0.92rem;
    display: block;
    font-weight: 300;
    color: #ccc;
    margin: 0;
    padding: 4px 0 0 0;
}

.app-content-header .content-header-title .breadcrumb-simple > li {
    float: left;
    margin-right: 10px;
    list-style: none;
}

.app-content-header .content-header-title .breadcrumb-simple > li > a {
    color: #fff;
    text-decoration: none;
    display: inline-block;
}

.app-content-header > .header-tools {
    float: right;
}

.app-content-header > .header-tools > li {
    float: left;
    margin-left: 10px;
    list-style: none;
}

@media (max-width: 991px) {
    .navbar-custom-menu .navbar-nav > li > a {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

/* Page Header */

.page-header {
    margin: 10px 0 20px 0;
    font-size: 22px;
}

.page-header > small {
    color: #666;
    display: block;
    margin-top: 5px;
}

/* END: App Content Header
------------------------------ */

/* .card-header > .header-tools {
    margin-bottom: 0;
}

.card-header > .header-tools > li {
    float: left;
    margin-left: 10px;
    list-style: none;
}

.card-header > .header-tools > li {
    margin-left: 30px;
}

.card-header > .header-tools > li:first-child {
    margin-left: 0;
} */

/*
 * Component: Progress Bar
 * -----------------------
 */

.app-content-header .progress {
    margin-bottom: 0;
    /*background-color: #e4e5e6;*/
}

.progress {
    background-color: #e4e5e6;
    margin-top: 5px;
    margin-bottom: 15px;
}

.progress-bar-outer {
    /* width: 300px; */
    height: 10px;
    flex: auto;
    display: flex;
    flex-direction: row;
    overflow: hidden;
}

.progress.sm,
.progress-sm,
.progress.sm .progress-bar,
.progress-sm .progress-bar,
.progress.xs,
.progress-xs,
.progress.xs .progress-bar,
.progress-xs .progress-bar {
    border-radius: 1px;
}

.progress-small {
    height: 0.5rem;
}

.progress-bar-orange {
    background: #ffaa2d;
}

.progress-bar-pumpkin-orange {
    background: #f17c58;
}

.progress-bar-pumpkin-orange-dark {
    background: #bf5700;
}

.progress-bar-blue {
    background: #0073ff;
}

.progress-bar-green {
    background: #00a65a;
}

.progress-bar-darkgreen {
    background: #17744a;
}

.progress-bar-darkpurple {
    background: #6a277b;
}

.progress-bar-purple {
    background: #b85bf2;
}

.progress-bar-lightblue {
    background: #11b1e9;
}

.progress-bar-lightblue-dark {
    background: #0066ff;
}

.progress-bar-coral-orange {
    background: #f0584d;
}

.progress-bar-coral-orange-dark {
    background: #b03a31;
}

.progress-bar-purple-dark {
    background-color: #850ecf;
}

.progress-bar-orange-dark {
    background: #d88406;
}

.progress-bar-blue-dark {
    background: #073272;
}

.progress-bar-green-dark {
    background: #024d2b;
}

.progress-bar-darkgreen-dark {
    background: #03351e;
}

.progress-bar-darkpurple-dark {
    background: #360e41;
}
/* END: Progress Bar
------------------------------ */

/*
 * Cards
 * ----------------------
 */
.card {
    /* margin-bottom: 1.5rem; */
    border: none;
    box-shadow: 0 0 8px 1px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Card overlay loader */
.card-loader {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    /* backdrop-filter: blur(1px); */
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    /* opacity: 0; */
    /* visibility: hidden; */
    pointer-events: none;
    transition: opacity 0.2s ease;
    border-radius: var(--bs-card-border-radius);
}

/*
 * Flat Horizontal Nav Tabs
 * --------------------------
 */
.nav-underline-simple {
    border-bottom: 1px solid #dee2e6; /* Single thin underline for the entire nav */
    font-size: 1.0714rem;
}

.nav-underline-simple .nav-link {
    border: none; /* Remove default Bootstrap borders */
    position: relative;
    padding: 1rem 1.5rem 0.8rem; /* Adjust padding as needed */
    color: #0073ff; /* Adjust link color */
    text-decoration: none;
    font-weight: 600;
}

/* Thicker underline for the active tab */
.nav-underline-simple .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -1px; /* Position it over the main underline */
    left: 0;
    right: 0;
    height: 2px; /* Thicker line for active tab */
    background-color: #0d6efd; /* Bootstrap primary color, change as needed */
}

/* Optional: styling for inactive links and hover effect */
.nav-underline-simple .nav-link:not(.active) {
    color: #aeaeae;
}

.nav-underline-simple .nav-link:not(.active):hover {
    color: #0073ff;
    border-color: transparent;
}

/* .horizontal-sptabs {
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.horizontal-sptabs .nav-link {
    color: rgba(255, 255, 255, 0.7);
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-weight: 500;
    padding: 12px 0;
}

.horizontal-sptabs .nav-link:hover {
    color: #fff;
}

.horizontal-sptabs .nav-link.active {
    color: #fff;
    border-bottom: 3px solid #fff;
    background: none;
} */

/*
 * Typography
 * ----------------------
 */

.bg-aqua-active,
.modal-info .modal-header,
.modal-info .modal-footer {
    background-color: #0073ff !important;
}

.text-danger,
.text-danger:hover {
    color: #f41b3b !important;
}

.text-success,
.text-success:hover {
    color: #28a745 !important;
}

.text-green,
.text-green:hover {
    color: #00a65a !important;
}

.text-currency {
    color: #00a399 !important;
}

.text-normal {
    font-weight: 400;
}

@media (max-width: 767px) {
    .text-xs-center {
        text-align: center;
    }
}

.text-blue {
    color: #0073ff !important;
}

.text-orange1 {
    color: #ffaa2d;
}

.text-pumpkin-orange {
    color: #f17c58;
}

.text-coral-orange {
    color: #f0584d;
}

.text-bule1 {
    color: #0072ff;
}

.text-green1 {
    color: #00a65a;
}

.text-purple1 {
    color: #b85bf2;
}

.text-lightblue1 {
    color: #11b1e9;
}

.text-extra-large {
    font-size: 100px;
    font-weight: 600;
    line-height: 1;
}

.text-extra-big {
    font-size: 72px;
    font-weight: 600;
    line-height: 1;
}

.text-bigger {
    font-size: 30px;
}

.text-big {
    font-size: 24px;
}

.text-small {
    font-size: 12px;
}

.text-smaller {
    font-size: 10px;
}

.text-smallest {
    font-size: 8px;
}

.label-first {
    /* font-size: 14px; */
    font-weight: 600;
    color: #444;
    text-transform: uppercase;
}

.info-box .info-box-number {
    font-weight: 600;
}

.form-label {
    font-weight: 600;
}

/*
 * General: Miscellaneous
 * ----------------------
 */
.label-second {
    font-size: 12px;
    color: #999;
    letter-spacing: 0.4px;
}

.label-third {
    font-size: 14px;
    color: #999;
    letter-spacing: 0.4px;
}

.label-lg {
    font-size: 16px;
}

.label-md {
    font-size: 14px;
}

.label-sm {
    font-size: 12px;
}

.break-word {
    -ms-word-break: break-all;
    word-break: break-all;

    /* Non standard for WebKit */
    word-break: break-word;

    /* -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto; */
}

.break-word-all {
    -ms-word-break: break-all;
    word-break: break-all;
}

/*
 * Component: OffCanvas
 * ----------------------
 */
.offcanvas-wsm {
    width: 300px !important;
}
.offcanvas-wmd {
    width: 400px !important;
}
.offcanvas-wlg {
    width: 500px !important;
}

/*
 * Component: Dropdown
 * ----------------------
 */
.dropdown-menu {
    --bs-dropdown-link-hover-bg: var(--bs-primary);
    --bs-dropdown-link-hover-color: #fff;
}

.dropdown-menu .dropdown-item {
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}

/*
 * Component: Datatables
 * ----------------------
 */

/* Pagination: Make It Look Like a Bootstrap Button Group */
/* Remove all border radius */
.dt-paging .page-link {
    border-radius: 0 !important;
    margin-left: -1px; /* Merge borders */
}

/* First button rounded left */
.dt-paging .page-item:first-child .page-link {
    border-top-left-radius: 0.375rem !important;
    border-bottom-left-radius: 0.375rem !important;
}

/* Last button rounded right */
.dt-paging .page-item:last-child .page-link {
    border-top-right-radius: 0.375rem !important;
    border-bottom-right-radius: 0.375rem !important;
}

/* Remove spacing between pagination buttons */
.dt-paging .pagination {
    gap: 0;
}

/*
 * Component: Bootstrap Selectpicker
 * Patch bootstrap-select for Bootstrap 5
 * --------------------------------------
 */

.bootstrap-select .dropdown-menu {
    z-index: 9999;
}

.bootstrap-select > .dropdown-toggle.btn-outline-primary.bs-placeholder {
    color: #0073ff;
}

/* .bootstrap-select .dropdown-toggle .filter-option {
    color: #0073ff;
} */

.bootstrap-select > .dropdown-toggle.bs-placeholder:hover,
.bootstrap-select > .dropdown-toggle.bs-placeholder:hover .filter-option,
.bootstrap-select > .dropdown-toggle.bs-placeholder:active,
.bootstrap-select > .dropdown-toggle.bs-placeholder:active .filter-option,
.bootstrap-select > .dropdown-toggle.bs-placeholder:focus,
.bootstrap-select > .dropdown-toggle.bs-placeholder:focus .filter-option,
.bootstrap-select > .dropdown-toggle.bs-placeholder:target,
.bootstrap-select > .dropdown-toggle.bs-placeholder:target .filter-option {
    color: #fff;
}

.bootstrap-select > .dropdown-toggle.bs-placeholder.show,
.bootstrap-select > .dropdown-toggle.bs-placeholder.show .filter-option {
    color: #fff;
}

.sidebar-labels .sidebar-label-select-menu .label-color,
.bootstrap-select .dropdown-menu .label-color,
.bootstrap-select .dropdown-menu .label-image {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #424652;
    margin-right: 5px;
    vertical-align: baseline;
    overflow: hidden;
}

.bootstrap-select .dropdown-menu .label-image {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    vertical-align: middle;
}

.bootstrap-select .dropdown-menu .grp-members-count {
    text-align: center;
    color: #ffffff;
    background-color: #ccc;
    border-radius: 4px;
    margin-top: 10px;
    margin-left: 10px;
    font-size: 10px;
    font-weight: bold;
    padding: 1px;
    padding-left: 5px;
    padding-right: 5px;
}

.bootstrap-select .dropdown-menu .label-image img {
    max-width: 100%;
    vertical-align: top;
}

.bootstrap-select .dropdown-toggle .filter-option-inner-inner .label-color,
.bootstrap-select .dropdown-toggle .filter-option-inner-inner .label-image {
    display: none;
}

.bootstrap-select-showlabel .filter-option-inner-inner .label-color {
    display: inline-block !important;
    width: 12px;
    height: 12px;
    background: #424652;
    margin-right: 5px;
    vertical-align: baseline;
    overflow: hidden;
}

.bootstrap-select .dropdown-menu .label-green {
    background: #99ca3d;
}

.bootstrap-select .dropdown-menu .label-blue {
    background: #0099ff;
}

.bootstrap-select .dropdown-menu .label-yellow {
    background: #ffc001;
}

.bootstrap-select .dropdown-menu .label-light-gray {
    background: #bbb;
}

.bootstrap-select.show-tick .dropdown-menu .selected span.check-mark {
    top: 9px;
}

.bootstrap-select .dropdown-menu li a span.text .fa {
    margin-right: 10px;
}

/* .bootstrap-select > select {
    visibility: hidden;
} */

.bootstrap-select .dropdown-menu li.bs-action-item {
    position: sticky;
    left: 0;
    bottom: 0;
    width: 100%;
    background: #fff;
    -webkit-box-shadow: 0px -5px 20px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0px -5px 20px rgba(0, 0, 0, 0.15);
    box-shadow: 0px -5px 20px rgba(0, 0, 0, 0.15);
}

.bootstrap-select .dropdown-menu li.bs-action-item :hover {
    background: #fff;
}

.bootstrap-select .dropdown-menu li.bs-action-item a {
    color: #0073ff;
    padding-top: 15px;
    padding-bottom: 15px;
}

.bootstrap-select.show-tick .dropdown-menu li.bs-action-item a span.check-mark {
    display: none !important;
}

.bootstrap-select .no-results {
    padding: 8px;
    margin: 0 7px;
}

/* Dropdown menu */
.bootstrap-select .dropdown-menu {
    min-width: 100%;
    padding: 0.25rem 0;
    margin: 0.125rem 0 0;
    font-size: 1rem;
    color: #212529;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

/* Multi-select checkbox */
.bootstrap-select .dropdown-menu li a > label.checkbox {
    display: flex;
    align-items: center;
    padding: 0.25rem 1.5rem;
    margin: 0;
    cursor: pointer;
}

/* Checkmark color */
.bootstrap-select .dropdown-menu li.selected a span.check-mark {
    color: #0d6efd;
}

/* Search input */
.bootstrap-select .bs-searchbox input {
    height: 38px;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.375rem;
    border: 1px solid #ced4da;
}

/* Bootstrap 5 compatible header close button */
.bootstrap-select .dropdown-menu .popover-header {
    display: flex;
    justify-content: space-between; /* text left, close button right */
    align-items: center;
    padding: 0.375rem 0.75rem; /* match Bootstrap 5 spacing */
    font-size: 14px;
    background-color: #f7f7f7;
    border-bottom: 1px solid #ebebeb;
    border-radius: 5px 5px 0 0;
}

/* Hide bootstrap-select header close button */
.bootstrap-select .dropdown-menu .popover-header .close {
    display: none;
}

/* Increase vertical spacing for bootstrap-select options */
.bootstrap-select .dropdown-menu li a {
    padding: 0.5rem 1rem; /* top/bottom padding increased (default ~0.25rem) */
    line-height: 1.5; /* optional: increase line height for readability */
}

/* Optional: slightly increase spacing between options */
.bootstrap-select .dropdown-menu li {
    margin-bottom: 0.125rem; /* adds a tiny gap between li elements */
    text-align: left;
}

.bootstrap-select.btn-group .dropdown-menu li a {
    white-space: normal;
}

.bootstrap-select.btn-group .dropdown-menu li a span.text {
    /*width: 83%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;    
    vertical-align: top;
    position: absolute;*/
    display: inline;
}

.bootstrap-select.btn-group .dropdown-menu.inner {
    min-width: 200px;
    max-height: 260px !important;
}

.bootstrap-select.btn-group .dropdown-menu > li > a {
    padding: 3px 23px 3px 15px;
}

.bootstrap-select.btn-group.show-tick .dropdown-menu li.selected a span.check-mark {
    right: 0;
    margin-right: 8px;
}

/* Rank Dropdown */

.bootstrap-select .dropdown-menu li a.opt {
    padding: 0.5rem 1rem;
    /* text-align: center; */
}

.bootstrap-select span.label,
.label-wrap span.label {
    border-radius: 50%;
    display: inline-block;
    width: 12px;
    height: 12px;
    padding: 0 !important;
    border: none;
}

.label-wrap span.label:empty {
    display: inline-block;
}

.bootstrap-select span.label.label-green,
.label-wrap span.label.label-green {
    background-color: #99ca3d !important;
}

.bootstrap-select span.label.label-blue,
.label-wrap span.label.label-blue {
    background-color: #0099ff !important;
}

.bootstrap-select span.label.label-yellow,
.label-wrap span.label.label-yellow {
    background-color: #ffc001 !important;
}

.bootstrap-select span.label.label-gray,
.label-wrap span.label.label-gray {
    background-color: #424652 !important;
}

.bootstrap-select span.label.label-light-gray,
.label-wrap span.label.label-light-gray {
    background-color: #bbb !important;
}

.bootstrap-select span.label.label-orange,
.label-wrap label.label-orange {
    background-color: #f8923e !important;
}

.bootstrap-select span.label.label-red,
.label-wrap span.label.label-red {
    background-color: #e03432 !important;
}

/* Fix hover for btn-outline-primary in bootstrap-select
.bootstrap-select .dropdown-toggle.btn-outline-primary:hover,
.bootstrap-select .dropdown-toggle.btn-outline-primary:focus,
.bootstrap-select .dropdown-toggle.btn-outline-primary:active,
.show > .btn-outline-primary.dropdown-toggle {
    color: #fff !important;
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

/* Keep caret icon white on hover
.bootstrap-select .dropdown-toggle.btn-outline-primary .filter-option,
.bootstrap-select .dropdown-toggle.btn-outline-primary .bs-caret span {
    color: inherit !important;
} */

/*
 * Component: Dropdown with image
 * --------------------------------------
 */
.dropdown-menu.with-image li > a {
    overflow: hidden;
}

.dropdown-menu.with-image .label-image {
    width: 40px;
    height: auto;
    border-radius: 50%;
    float: left;
}

.dropdown-menu.with-image .label-title {
    margin-left: 50px;
    display: block;
}

.dropdown-menu.with-image .label-desc {
    margin-left: 50px;
    display: block;
}

/*
 * Component: Sphere Label dropdown
 * --------------------------------------
 */
.sph-label-select label {
    margin-bottom: 5px;
    display: block;
    font-weight: 600;
}

.sph-label-select .dropdown {
    margin-bottom: 10px;
}

.sph-label-lists {
    list-style: none;
    margin-top: 0px;
    margin-bottom: 0px;
    padding: 0;
}

.sph-label-lists .label-list-item {
    margin-bottom: 5px;
    margin-right: 3px;
    position: relative;
}

.sph-label-lists .label-list-item:last-child {
    margin-right: 10px;
}

.sph-label-lists-inline .label-list-item {
    display: inline-block;
    max-width: 100%;
}

.sph-label-lists .label-list-item a,
.sph-label-lists .label-list-item .label-list-item-link {
    width: 100%;
    display: block;
    padding: 4px 10px;
    border-radius: 1em;
    background: #666;
    color: #fff;
    position: relative;
}

.sph-label-lists .label-list-item .label-list-text {
    display: inline-block;
    max-width: 100%;
    padding-right: 25px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: top;
}

.sph-label-lists .label-list-item a span.action-tools {
    position: absolute;
    top: 0px;
    right: 0px;
    background: #f70505;
    height: 100%;
    padding: 4px 10px;
    cursor: pointer;
    border-radius: 0px 1em 1em 0;
    background: transparent;
}

.sph-label-lists .label-list-item a span.action-tools:hover {
    background: #dd4b39;
}

.sph-label-lists-mixed .label-list-item a {
    width: auto !important;
    display: inline-block !important;
}

.sph-label-lists-mixed .label-list-item select.form-select {
    /* margin-right: 5px;
    margin-left: 5px; */
    border: none;
    display: inline-block;
    width: auto;
}

.min-h185 {
    min-height: 185px;
}

/*
 * Component: INLINE custom RANK radio buttons
 * --------------------------------------
 */

.rank-radio-inline {
    padding: 0;
    margin-bottom: 0;
    display: block;
    overflow: hidden;
}

.rank-radio-inline .form-group {
    margin-bottom: 0;
}

.rank-radio-inline .form-group .help-block {
    display: none;
}

.rank-radio-inline li {
    display: inline-block;
    position: relative;
    /*float: left;*/
    /*height: 45px;*/
}

.rank-radio-inline li input {
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
    opacity: 0;
}

.rank-radio-inline li label {
    display: block;
    position: relative;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    font-weight: 600;
    font-size: 16px;
    line-height: normal;
    margin: 0;
    padding: 3px 15px;
    /*height: 45px;*/
    z-index: 10;
    cursor: pointer;
    transition: all 0.2s linear;
    -webkit-transition: all 0.2s linear;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-align: center;
    background: #fff;
}

.rank-radio-inline li.input-md {
    margin-right: 5px;
    min-width: 15%;
    margin-bottom: 5px;
}

.rank-radio-inline li.input-md label {
    padding: 6px 25px;
}

.rank-radio-inline li:hover label {
    border: 1px solid #999;
    background: #999;
    color: #fff;
}

.rank-radio-inline li.rank-a label {
    border: 1px solid #99ca3d;
    color: #99ca3d;
}

.rank-radio-inline li.rank-a:hover label,
.rank-radio-inline li.rank-a input:checked + label {
    background-color: #99ca3d;
    color: #fff;
}

.rank-radio-inline li.rank-b label {
    border: 1px solid #0099ff;
    color: #0099ff;
}

.rank-radio-inline li.rank-b:hover label,
.rank-radio-inline li.rank-b input:checked + label {
    background-color: #0099ff;
    color: #fff;
}

.rank-radio-inline li.rank-c label {
    border: 1px solid #ffc001;
    color: #ffc001;
}

.rank-radio-inline li.rank-c:hover label,
.rank-radio-inline li.rank-c input:checked + label {
    background-color: #ffc001;
    color: #fff;
}

.rank-radio-inline li.rank-d label,
.rank-radio-inline li.rank-p label {
    border: 1px solid #424652;
    color: #424652;
}

.rank-radio-inline li.rank-d:hover label,
.rank-radio-inline li.rank-d input:checked + label,
.rank-radio-inline li.rank-p:hover label,
.rank-radio-inline li.rank-p input:checked + label {
    background-color: #424652;
    color: #fff;
}

.rank-radio-inline li.rank-x label {
    border: 1px solid #bbb;
    color: #999;
}

.rank-radio-inline li.rank-x:hover label,
.rank-radio-inline li.rank-x input:checked + label {
    background-color: #bbb;
    color: #fff;
}
