.custom-accordion .accordion-button:focus {
    background-color: #FFFFFF; /* Example: green background when focused */
    box-shadow: none !important;
    font-weight: 900; /* Extra bold font-weight */


}

.custom-accordion .accordion-button {

    font-weight: 600 !important; /* Extra bold font-weight */
    color: black; /* Maintain black font color on focus */
    background-color: #FFFFFF; /* Replace with the color you want */
    border-bottom: none !important; /* Removes the bottom border */
    border-left: none !important;   /* Removes the left border */
    border-right: none !important;  /* Removes the right border */
    /* Optionally, customize the top border as needed */
    border-top: none !important;/* 1px solid #cccccc; /* Example: a light gray top bord

}

.custom-accordion .accordion-button:not(.collapsed) {
    font-weight: 900; /* Extra bold font-weight for active (expanded) state */
}

.slider-label {
    white-space: nowrap;
    overflow: visible;
   /* text-overflow: ellipsis;  /* Optional, for adding an ellipsis (...) at the end of overflowing text */
}
    
.custom-slider-marks {
    font-size: 8px; /* Change this value as needed */
}


.my-slider .rc-slider-handle {
    /* width: 7px !important; /* Makes the handle very thin, like a line */
    height:15px !important; /* Adjusts the height to make it visible as a line */
    border-radius: %50 !important; /* Removes any rounded corners */
    background-color: grey !important; /* Set handle color to grey */
    border-color: grey !important; Set handle color to grey */

}

.range-slider-mark-text {
    font-size: 10px !important;  /* Adjust as needed */
}

.my-slider .rc-slider-dot {
    border-width: 2px; /* Make the dots thicker */
    margin-top: -5px; /* Adjust margin to align with the increased height */
}

/* assets/style.css */
._dash-loading {
  margin: auto;
  color: transparent;
  width: 0;
  height: 0;
  text-align: center;
}

._dash-loading::after {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 2rem;
  color: black;
  vertical-align: text-bottom;
  border: 0.25em solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  -webkit-animation: spinner-border 0.75s linear infinite;
  animation: spinner-border 0.75s linear infinite;
  margin-top: 2rem;
}

.no-hover-effect:hover {
    cursor: default !important;
    color: inherit !important;  /* Preserves the text color */
    background-color: inherit !important;  /* Preserves the background color */
}

.transparent-offcanvas {
    background-color: rgba(240, 240, 240, 0.8); /* Semi-transparent white background */
    #backdrop-filter: blur(10px); /* Optional: adds a blur effect */
    border: none; /* Optional: removes border */
    box-shadow: none; /* Optional: removes shadow */
}

.transparent-offcanvas .offcanvas-title {
    color: #000; /* Ensures title text is visible */
}

.transparent-offcanvas .offcanvas-body {
    color: #000; /* Ensures body text is visible */
}

.q-navbar {
    min-height: 58px;
    background: #101820 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 1px 8px rgba(15, 23, 42, 0.16);
}

.q-navbar-container {
    min-height: 58px;
    padding-left: 22px;
    padding-right: 22px;
}

.q-navbar-brand {
    display: flex;
    align-items: center;
    margin-right: 24px;
    padding: 0;
}

.q-navbar-brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.q-navbar-logo {
    height: 30px;
    width: auto;
    display: block;
}

.q-navbar-main {
    gap: 4px;
}

.q-navbar-link,
.q-navbar-dropdown > .nav-link {
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
    padding: 18px 12px !important;
    border-bottom: 2px solid transparent;
}

.q-navbar-link:hover,
.q-navbar-dropdown > .nav-link:hover,
.q-navbar-link.active,
.q-navbar-dropdown.show > .nav-link {
    color: #ffffff !important;
    border-bottom-color: #38bdf8;
    background: rgba(255, 255, 255, 0.04);
}

.q-env-badge {
    background: #b91c1c;
    color: #ffffff;
    border: 0;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    margin: 0 16px 0 0;
    padding: 7px 9px;
}

.q-navbar-account {
    display: flex;
    align-items: center;
    gap: 10px;
}

.q-navbar-user-email {
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.q-navbar-account-menu > .nav-link {
    color: rgba(255, 255, 255, 0.86) !important;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 11px !important;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
}

.q-navbar-account-menu > .nav-link:hover,
.q-navbar-account-menu.show > .nav-link {
    color: #ffffff !important;
    border-color: rgba(56, 189, 248, 0.55);
    background: rgba(56, 189, 248, 0.12);
}

.q-navbar-account-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.q-navbar-user-icon {
    font-size: 15px;
}

.q-fund-select {
    min-width: 320px;
    max-width: 100%;
}

.q-fund-select .Select-value-label,
.q-fund-select .Select-placeholder {
    max-width: calc(100% - 28px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.q-fund-select .Select-menu-outer {
    min-width: 420px;
}

.q-risk-return-header {
    min-height: 88px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 16px;
    padding: 0 0 10px;
}

.q-risk-return-title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: 0;
}

.q-risk-return-controls {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    padding-top: 4px;
    white-space: nowrap;
}

.q-risk-return-content {
    height: 450px;
    width: 100%;
}

.q-compact-radio {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    white-space: nowrap;
}

.q-compact-radio .form-check,
.q-compact-radio .form-check-inline {
    margin-bottom: 0;
    margin-right: 0;
}

.q-grid-panel {
    width: 100%;
    min-width: 0;
}

.q-grid-panel-header {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 0 8px;
}

.q-grid-panel-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0;
}

@media (max-width: 1400px) {
    .q-risk-return-title {
        font-size: 25px;
    }

    .q-risk-return-header {
        min-height: 92px;
        gap: 12px;
    }

    .q-risk-return-controls {
        gap: 10px;
    }
}

.rc-slider-tooltip {
    font-size: 20px; /* Yazı boyutunu artır */
    padding: 8px; /* İçeriği genişlet */
    border-radius: 8px; /* Köşeleri yuvarlat */
}

/* Prevent horizontal page scroll */
html, body {
    max-width: 100vw;
    overflow-x: hidden !important;
}

#_dash-app-content, #react-entry-point, .dash-application, .app, .app-container {
    overflow-x: hidden !important;
}
