
:root {
    --BLACK: #000000;
    --WHITE: #FFFFFF;
    --GREY: #808080;
    --LIGHT_GREY: #D0D0D0;
    --MINT_GREEN: #06CCB3;
    --DARK_MINT_GREEN: #049E8E;
    --LIGHT_MINT_GREEN: rgba(59, 197, 170, 0.2);
}

input[type="range"]::-webkit-slider-thumb {
    background-color: var(--MINT_GREEN);
    border: 2px solid var(--MINT_GREEN);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
    background-color: var(--MINT_GREEN);
    border: 2px solid var(--MINT_GREEN);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    cursor: pointer;
}

input[type="range"]::-ms-thumb {
    background-color: var(--MINT_GREEN);
    border: 2px solid var(--MINT_GREEN);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    cursor: pointer;
}

/* Optional: Customizing the track */
input[type="range"]::-webkit-slider-runnable-track {
    background: var(--LIGHT_MINT_GREEN);
    height: 6px;
    border-radius: 4px;
}

input[type="range"]::-moz-range-track {
    background: var(--LIGHT_MINT_GREEN);
    height: 6px;
    border-radius: 4px;
}

input[type="range"]::-ms-track {
    background: var(--LIGHT_MINT_GREEN);
    height: 6px;
    border-radius: 4px;
}

html {
    font-size: 62.5%;
}

body {
    margin: 0;
    padding: 0;
    font-family: Albertus;
    height: 100vh;
    overflow: auto;
    display: flex;
    flex-direction: column;
}

main {
    height: 100%;
    overflow: auto;
}

*:focus {
    outline: none !important;
}

img {
    filter: grayscale(100%);
    transition: filter 0.3s ease-in-out;
}
  
img:hover {
filter: grayscale(0%);
}

.content,
.inner-content {
    font-size: 16px;
}

.inner-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    overflow: auto;
}

@font-face {
    font-family: Albertus;
    src: url("../fonts/albr55w.ttf");
}

@font-face {
    font-family: AlbertusMT;
    src: url("../fonts/AlbertusMT.otf");
}

@font-face {
    font-family: VAGRoundedRegular;
    src: url("../fonts/VAGRoundedRegular.ttf");
}

.albertus-font {
    font-family: Albertus;
}

.vag-font {
    font-family: VAGRoundedRegular;
}

h4 {
    padding: 15px;
}

header {
    text-align: center;
}

footer {
    text-align: center;
    padding: 10px 0;
    font-size: 12px;
    background-color: var(--BLACK);
    color: var(--WHITE);
}

footer p {
    margin: 0;
}

h2 {
    font-size: 42px;
}

button {
    height: 4.5rem;
    background-color: #555555;
    border: none;
    outline: none;
    border-radius: 6px;
    cursor: pointer;
    color: var(--WHITE);
    font-size: 1.6rem;
    padding: 5px 10px;
}

input[type="checkbox"] {
    accent-color: var(--MINT_GREEN);
}

input[type="checkbox"]:checked {
    border: 2px solid var(--MINT_GREEN);
    background-color: var(--LIGHT_MINT_GREEN);
    color: var(--BLACK);
}

input[type="date"] {
    width: 160px;
}

.as-of-date {
    width: 170px !important;
    height: 26px;
}

section h2 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

section {
    margin-bottom: 30px;
}

#map {
    filter: grayscale(100%);
}

.tile {
    border: 1px solid var(--BLACK);
    border-right: 0;
    text-align: center;
    padding: 20px;
    min-width: 300px;
    height: 100%;
    overflow: auto;
}

table.data-table {
    border-collapse: collapse !important;
}

tbody tr:hover {
    cursor: pointer;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    border: 1px solid #dddddd;
    padding: 4px;
    text-align: center;
}

th {
    background-color: #f2f2f2;
}

thead input {
    width: 100%;
}

.navigation-tile {
    flex: 1;
    /* Allow tiles to stretch both horizontally and vertically */
    display: flex;
    flex-direction: column;
}

.machine-tile {
    flex: 3;
    padding: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.nav-link.active {
    font-weight: bold;
}

.navbar {
    background-color: var(--BLACK);
    padding: 5px 16px;
}

.navbar .nav-link {
    line-height: 1;
}

.sub-navbar {
    border-top: 1px solid rgba(255, 255, 255, .5);
}

.sub-navbar .navbar-nav {
    list-style: none;
    background-color: var(--BLACK);
    display: flex;
    align-items: center;
    flex-direction: row;
}

.nav-item {
    margin-right: 0.5rem;
    font-size: 20px;
}

.nav-tabs .nav-link {
    color: var(--MINT_GREEN);
}

.dropdown-menu {
    margin-top: 0px;
    border-radius: 8px;
    text-align: center;
    background-color: #222;
}

.dropdown-item {
    font-size: 20px;
    background-color: #222;
    color: rgba(255, 255, 255, 0.5);
}

.dropdown-item.active {
    font-weight: bold;
    background-color: #222;
    color: #fff
}

.dropdown-item:hover {
    background-color: #222;
    color: rgba(255, 255, 255, 0.75)
}

/* Profile dropdown specific styles - user email section only */
[aria-labelledby="profileDropdown"] {
    text-align: left;
}

[aria-labelledby="profileDropdown"] .dropdown-user-info {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    text-align: left;
}

[aria-labelledby="profileDropdown"] .dropdown-user-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    line-height: 1.3;
}

[aria-labelledby="profileDropdown"] .dropdown-user-email {
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

[aria-labelledby="profileDropdown"] .dropdown-item {
    text-align: left;
}


.tooltip-inner {
    font-size: 16px;
    font-family: Albertus;
}

.logo {
    display: inline-block;
    height: 45px;
    width: 45px;
}

.logo img {
    height: 100%;
    width: 100%;
}

.popup-container {
    position: fixed;
    width: 100%;
    top: 50%;
    left: calc(50% - 187px);
    max-width: 400px;
    transform: translateY(-50%);
    display: none;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    font-size: 1.6rem;
    z-index: 999;
    transition: all .3s ease-in-out;
    background: transparent;
    background-color: rgba(255, 255, 255, 0.95);
}

@supports((-webkit-backdrop-filter: none) or (backdrop-filter: none)) {
    .popup-container {
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        background-color: rgba(255, 255, 255, 0.1);
    }
}

.popup-container.active-popup {
    display: block;
}

.popup-container .close-popup {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    width: 4.5rem;
    height: 4.5rem;
    background: #555555;
    font-size: 2.4rem;
    color: var(--WHITE);
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom-left-radius: 20px;
    border-top-right-radius: 20px;
}

.form-box {
    padding: 2.5rem;
}

.form-box h2 {
    font-size: 2.4rem;
    text-align: center;
    color: #555555;
}

.form-box form,
.form-box #additional-questions {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-box form .message {
    font-size: 14px;
    text-align: center;
}

.form-box form .input-box {
    position: relative;
    width: 100%;
    border-bottom: 2px solid #555555;
    padding: 1rem;
    margin-bottom: 10px;
}

.form-box form .input-box span {
    position: absolute;
    right: 8px;
    font-size: 2rem;
    color: #555555;
}

.form-box form .input-box input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 0 30px 0 0px;
    font-size: 1.5rem;
    color: #555555;
    font-weight: 500;
}

.form-box form .input-box input:focus~label,
.form-box form .input-box input:valid~label,
.form-box form .input-box input:invalid~label,
.form-box form .input-box input[readonly]~label {
    top: -5px;
    font-size: 1.2rem;
}

.form-box form .input-box label {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    color: #555555;
    pointer-events: none;
    font-weight: 500;
    transition: 0.2s;
}

.form-box form .select-box label {
    top: -5px;
    font-size: 1.2rem;
}

.form-box form select {
    width: 100%;
    color: #555555;
}

.form-box form .remember-forgot {
    font-size: 1.4rem;
}

.form-box .forgot-password-link {
    float: right;
}

.form-box form .remember-forgot label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #555555;
    user-select: none;
}

.form-box select {
    background: transparent;
    border: none;
}

.form-box form .remember-forgot label input {
    accent-color: #555555;
}

.form-box form .remember-forgot a {
    color: #555555;
}

.form-box form .remember-forgot a:hover {
    text-decoration: underline;
}

.form-box form label {
    font-size: 1.4rem;
}

.form-box form .action-link {
    font-size: 1.4rem;
    text-align: center;
    color: #555555;
}

.form-box form .action-link a {
    color: #555555;
    font-weight: 600;
}

.form-box form .action-link a:hover {
    text-decoration: underline;
}

form .reset-password-form .invite-users-form {
    width: 320px;
}

.invite-users-form input,
.invite-users-form textarea {
    width: 100%;
}

.amount-selection {
    margin-bottom: 10px;
    text-align: center;
}

.amount-btn {
    border: 1px solid var(--GREY);
    border-radius: 5px;
    cursor: pointer;
    background-color: var(--WHITE);
    color: var(--BLACK);
    margin-right: 10px;
    margin-bottom: 10px;
}

.amount-btn.selected {
    background-color: var(--MINT_GREEN);
    color: var(--WHITE);
}

.currency-symbol {
    font-size: 18px;
}

.payment-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
}

.payment-section {
    flex: 1;
}

.input-row {
    display: flex;
    gap: 8px;
}

.or-divider {
    font-weight: bold;
    padding: 0 8px;
    white-space: nowrap;
}

.form-container {
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.inner-content.reset-password .inner-content.invite-users {
    align-items: center;
}

.form-box.reset .form-box.invite {
    position: relative;
    display: block;
    width: 350px;
}

.form-box .checkbox-section {
    padding-left: 10px;
}

.checkbox-section .section-title {
    font-weight: 500;
    margin-bottom: 4px;
    color: #555555;
}

.checkbox-section .checkbox-container label {
    display: inline-block;
    margin: 3px 5px 3px 0;
    padding: 4px 5px;
    background-color: var(--WHITE);
    border: 1px solid #555555;
    border-radius: 5px;
    cursor: pointer;
    font-size: 15px;
}

.checkbox-section .checkbox-container input[type="checkbox"] {
    display: none;
}

.checkbox-section .checkbox-container input[type="checkbox"]:checked+label {
    border: 2px solid var(--MINT_GREEN);
    background-color: var(--LIGHT_MINT_GREEN);
    color: var(--BLACK);
}

.chart.chart-height {
    width: 100%;
    height: 100%;
}

.form-group label {
    color: #2c3e50;
}

.form-control {
    font-size: 13px;
}

.error {
    color: red !important;
}

.success {
    color: green !important;
}

.mint-green {
    color: var(--MINT_GREEN) !important;
}

.error-header,
.success-header {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 20px;
}

.cryptedmail, .cryptedmail:hover {
    color: var(--MINT_GREEN);
    font-family: 'courier new';
}

.cryptedmail:after {
    content: attr(data-name) "@" attr(data-domain) "." attr(data-tld);
}

.breadcrumb-item {
    font-size: 18px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 95px;
    height: 26px;
    margin-bottom: 0;
    margin-top: 3px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--WHITE);
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 32px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: var(--BLACK);
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider:before {
    -webkit-transform: translateX(75px);
    -ms-transform: translateX(75px);
    transform: translateX(68px);
}

.slider:after {
    color: var(--BLACK);
    display: block;
    position: absolute;
    transform: translate(-42%, -50%);
    top: 50%;
    left: 55%;
    font-size: 20px;
}

.pt-slider:after {
    content: 'Virtual';
}

input:checked+.pt-slider:after {
    content: 'Real';
    left: 35%
}

.pm-slider:after {
    content: 'Regular';
}

input:checked+.pm-slider:after {
    content: 'Pro';
    left: 35%
}

.machine-no {
    color: var(--MINT_GREEN);
}

.notes {
    font-size: 12px;
}

code {
    color: var(--BLACK);
}

.warning-message {
    font-weight: bold;
    color: red;
}

.scientific-paper-style-container {
    padding: 40px;
    column-count: 3;
    gap: 30px;
    min-height: 100%;
    line-height: 2.8rem;
}

.star-rating {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.stars {
    display: flex;
    flex-direction: row-reverse;
    font-size: 3rem;
    margin-left: 1rem;
}

.stars input[type="radio"] {
    display: none;
}

.stars label {
    color: var(--LIGHT_GREY);
    cursor: pointer;
    transition: color 0.2s;
    font-size: 2.5rem !important;
}

.stars label:hover,
.stars label:hover ~ label,
.stars input[type="radio"]:checked ~ label {
    color: var(--MINT_GREEN);
}

.reviews-list {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 1rem;
}

.review {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-bottom: 1px solid var(--LIGHT_GREY);
}

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

.reviewer-name {
    font-weight: bold;
}

.review-rating {
    color: var(--MINT_GREEN);
}

.forecasts-btn {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid #dee2e6;
  text-decoration: none;
  color: #555555;
  width: 125px;
}

.forecasts-btn:hover {
  background-color: var(--LIGHT_GREY);
  color: var(--BLACK);
  text-decoration: none;
}

ion-icon {
  cursor: pointer;
  color: var(--MINT_GREEN);
}

ion-icon:hover {
  color: var(--DARK_MINT_GREEN);
}

.start-0 {
  left: 8px;
}

.end-0 {
  right: 8px;
}

.top-0 {
  top: 8px;
}

.bottom-0 {
  bottom: 8px;
}

.forecasts-icon-btn {
  position: absolute;
  font-size: large;
  z-index: 10;
}

.analysts-orchestra {
  padding-left: 10px;
  padding-bottom: 10px;
}

.analyst-tenor {
  margin-left: .75rem !important;
  margin-right: .75rem !important;
}

.forecasts-img:hover {
  filter: grayscale(100%) !important;
}

.image-hover-wrapper {
  position: relative;
  display: inline-block;
}

.image-hover-wrapper .hover-text {
  position: absolute;
  white-space: nowrap;
  bottom: 20px;
  left: 5px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 1px 8px;
  border-radius: 4px;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 10;
}

.image-hover-wrapper:hover .hover-text {
  opacity: 1;
}

.snr-table-container {
    overflow-x: auto;
    white-space: nowrap;
    font-size: smaller;
}

.snr-table-empty-cell {
    height: 20px;
    width: 25px;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.snr-table-row {
    display: flex;
    flex-wrap: nowrap;
    min-width: max-content;
}

.snr-table-cell {
    flex: 0 0 30px;
    text-align: center;
    box-sizing: border-box;
    white-space: nowrap;
}

.forecasts-img-btn:focus {
    box-shadow: 4px 4px 4px #808080 !important;
}

.analyst-details {
    font-size: small;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media only screen and (max-width: 1400px) {
    .scientific-paper-style-container {
        padding: 30px;
        column-count: 2;
    }
}


@media only screen and (max-width: 1199px) {
    .nav-item {
        font-size: 16px;
    }

    [aria-labelledby="profileDropdown"] {
        min-width: 260px;
    }

    [aria-labelledby="profileDropdown"] .dropdown-user-label {
        font-size: 9px;
    }

    [aria-labelledby="profileDropdown"] .dropdown-user-email {
        font-size: 14px;
        white-space: nowrap;
    }

    .dropdown-item {
        font-size: 16px;
    }

    .slider::after {
        font-size: 16px;
    }
}

@media only screen and (max-width: 990px) {
    .dropdown-menu {
        background-color: #222;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 8px;
        margin-top: 10px;
        min-width: 200px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }

    [aria-labelledby="profileDropdown"] {
        min-width: 240px;
        max-width: calc(100vw - 20px);
    }

    [aria-labelledby="profileDropdown"] .dropdown-user-info {
        padding: 12px 18px;
    }

    [aria-labelledby="profileDropdown"] .dropdown-user-label {
        font-size: 9px;
    }

    [aria-labelledby="profileDropdown"] .dropdown-user-email {
        font-size: 13px;
        white-space: nowrap;
    }

    .dropdown-item {
        margin-left: 0;
        font-size: 16px;
        background-color: #222;
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .dropdown-item:last-child {
        border-bottom: none;
    }

    .dropdown-item.active {
        background-color: rgba(255, 255, 255, 0.1);
        color: #fff;
    }

    .dropdown-item:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.75);
    }

    .dropdown-menu-right {
        right: 0;
        left: auto;
    }

    .dropdown-submenu > .dropdown-menu {
        position: static;
        margin-left: 20px;
        margin-top: 5px;
        border-left: 2px solid rgba(255, 255, 255, 0.2);
        border-radius: 0;
        box-shadow: none;
    }

    .stack-on-mobile {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .sub-stack-on-mobile {
        flex-direction: column !important;
        /* align-items: stretch !important;  */
    }
}

@media only screen and (max-width: 767px) {

    .scientific-paper-style-container {
        padding: 20px;
        column-count: 1;
    }

    html {
        font-size: 56%;
    }

    .inner-content {
        padding: 10px;
    }

    .tile {
        min-height: max-content;
    }

    .machine-tile {
        height: auto;
    }

    .dropdown-menu {
        min-width: 180px;
        font-size: 14px;
    }


    [aria-labelledby="profileDropdown"] .dropdown-user-info {
        padding: 12px 15px;
    }

    [aria-labelledby="profileDropdown"] .dropdown-user-label {
        font-size: 9px;
    }

    [aria-labelledby="profileDropdown"] .dropdown-user-email {
        font-size: 13px;
        white-space: nowrap;
    }

    .dropdown-item {
        padding: 10px 16px;
        font-size: 14px;
    }

    .navbar .nav-link img {
        height: 40px;
        width: 40px;
    }
}

@media only screen and (max-width: 480px) {
    html {
        font-size: 49%;
    }

    .dropdown-menu {
        min-width: 160px;
        font-size: 13px;
    }

    [aria-labelledby="profileDropdown"] {
        min-width: 180px;
        max-width: calc(100vw - 20px);
    }

    [aria-labelledby="profileDropdown"] .dropdown-user-info {
        padding: 10px 12px;
    }

    [aria-labelledby="profileDropdown"] .dropdown-user-label {
        font-size: 8px;
    }

    [aria-labelledby="profileDropdown"] .dropdown-user-email {
        font-size: 12px;
        white-space: nowrap;
    }

    .dropdown-item {
        padding: 8px 12px;
        font-size: 13px;
    }

    .navbar .nav-link img {
        height: 35px;
        width: 35px;
    }
}

.slider-label {
    text-align: center;
    font-weight: 500;
    font-size: 1.4rem;
    color: var(--BLACK);
    margin: 0.5rem 0;
}

.slider-label span {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    background-color: var(--LIGHT_MINT_GREEN);
    border-radius: 4px;
    min-width: 3rem;
}

.custom-range {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--LIGHT_MINT_GREEN);
    border-radius: 4px;
    outline: none;
    margin: 1rem 0;
}

.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: var(--MINT_GREEN);
    border: 2px solid var(--MINT_GREEN);
    border-radius: 50%;
    cursor: pointer;
}

.custom-range::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: var(--MINT_GREEN);
    border: 2px solid var(--MINT_GREEN);
    border-radius: 50%;
    cursor: pointer;
}

/* Add these styles for disabled slider state */
.custom-range:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.custom-range:disabled::-webkit-slider-thumb {
    background-color: var(--GREY);
    border-color: var(--GREY);
}

.custom-range:disabled::-moz-range-thumb {
    background-color: var(--GREY);
    border-color: var(--GREY);
}

.slider-label span.disabled {
    background-color: var(--LIGHT_GREY);
    color: var(--GREY);
}

.btn-mint-green {
    background-color: var(--LIGHT_MINT_GREEN) !important;
    border: 2px solid var(--MINT_GREEN) !important;
    color: var(--BLACK) !important;
}

.btn-mint-green:hover {
    background-color: transparent !important;
    color: var(--MINT_GREEN) !important;
}

.info-icon {
    cursor: pointer;
    margin-left: 8px;
    font-size: 20px;
    color: var(--MINT_GREEN);
    vertical-align: middle;
}

.benefits-list {
    list-style: none;
    padding-left: 0;
}

.benefits-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 16px;
}

.benefits-list li ion-icon {
    color: var(--MINT_GREEN);
    margin-right: 10px;
    font-size: 20px;
}

.modal-content {
    border-radius: 15px;
}

.modal-header {
    border-bottom: none;
    padding: 20px 30px;
}

.modal-body {
    padding: 20px 30px 30px;
}

.text-modal-body {
    padding: 20px 60px 30px;
}

.benefits-image {
    border-radius: 10px;
    overflow: hidden;
}
@media (min-width:1340px){
    .flex-xxl-nowrap {
        flex-wrap: nowrap !important;
    }
}

.navbar-nav > .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
}
  
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    display: none;
    position: absolute;
    top: 0;
    left: calc(100% - 5px);
    margin-top: -1px;
}
  
.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.dropdown-menu-right .dropdown-submenu > .dropdown-menu {
    left: auto;
    right: calc(100% - 5px);
}
  
/* ──────────────────────────────────────────────────
   FILTER CONTROLS (in-nav) — streamlined
────────────────────────────────────────────────── */

/* 1) Layout: flex-center each item */
.filter-search,
.filter-commission,
.filter-base-types,
.filter-reference {
  display: flex;
  align-items: center;
}

/* 2) Search field + icon */
.filter-search .form-control,
.filter-search .input-group-text {
  background: transparent;
  border: 1px solid var(--LIGHT_GREY);
  color: var(--WHITE);
  height: 2.5rem;       /* match navbar height */
  font-size: 1.5rem;
  padding: 0 .75rem;
}
.filter-search .form-control::placeholder {
  color: var(--LIGHT_GREY);
}
/* hover/focus highlight */
.filter-search .form-control:focus,
.filter-search .input-group-text:hover {
  border-color: var(--MINT_GREEN);
  color: var(--WHITE);
}

.clear-icon {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--WHITE);
    font-size: 18px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
}

.clear-icon:hover {
    opacity: 1;
}


/* Ensure the container is purely inline-flex and lets Flexbox do the centering */
.filter-commission {
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap;
    margin-left: 0.5rem;
    /* remove any explicit height/line-height */
    height: auto;
    line-height: normal;
  }
  
  /* Kill any default margins on the inner form-check wrapper */
  .filter-commission .form-check {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
  }
  
  /* Tighten up the label and let it inherit Flexbox centering */
  .filter-commission label {
    margin: 0 .5rem 0 0;
    font-size: 1.5rem;
    color: var(--WHITE);
    line-height: normal;
  }
  
  /* And finally make sure the checkbox itself is vertically centered */
  .filter-commission .form-check-input {
    margin: 0;
    vertical-align: middle;  
    position: relative;
    top: 1px;
  }
  
  
/* 4) Chips (Base type & Reference) */
.header-chips .chips-container {
  display: flex;
  gap: 0;
  overflow-x: auto;
}
.header-chips .chips-container .chip {
  border: 1px solid var(--GREY);
  background: transparent;
  color: var(--WHITE);
  white-space: nowrap;
}
.header-chips .chips-container .chip.selected {
  border: 2px solid var(--MINT_GREEN);
  background-color: var(--LIGHT_MINT_GREEN);
  color: var(--DARK_MINT_GREEN);
}
.header-chips .chips-container .chip:hover {
  border-color: var(--LIGHT_GREY);
  color: var(--LIGHT_GREY);
}

/* 5) Responsive wrap under 992px */
@media (max-width: 991px) {
  .filter-search,
  .filter-commission,
  .filter-base-types,
  .filter-reference {
    flex-wrap: wrap;
    margin-bottom: .5rem;
  }
  .filter-search .form-control {
    min-width: 140px;
  }
}
.navbar-dropdown {
    border:1px solid var(--WHITE);
}
@media (max-width: 991px) {
    .navbar-dropdown {
        background-color: var(--BLACK);
    }
}

.backtest-progress-container {
  display: none;
  margin: 10px 0;
}

.backtest-progress-bar {
  width: 100%;
  height: 8px;
  background-color: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.backtest-progress-fill {
  height: 100%;
  background-color: #06CCB3;
  border-radius: 4px;
  transition: width 0.3s ease;
  width: 0%;
}

.backtest-progress-text {
  font-size: 12px;
  color: #666;
  margin-top: 5px;
  text-align: center;
}

.register-ref {
  position: absolute;
  left: -10000px;
}
