/* static/styles.css */

:root {
  --mywhite: #e0e9e6;
     --mygrey07: rgba(224, 233, 230, 0.65);
   --mygrey05: rgba(224, 233, 230, 0.5);
   --mygrey015: rgba(224, 233, 230, 0.1);
  --mygrey01: rgba(224, 233, 230, 0.05);
  --mygrey001: rgba(224, 233, 230, 0.02);



  --myred: #D13C4F;
  --mygreen: #00d6aa; //#00ffd5;  //#37a67d;
  --mymidgreen: #1B7A58; //#166347;
  --mydarkgreen: #182220; // #1E2B28;




  --mybrightblue: rgba(126, 223, 242, 0.85); //#7edff2;
  --mydarkblue: rgba(29, 102, 193, 0.9);
  --mypurple: #7629a2;



  --mybgcolor: #111615; // #0F1413; // #171A19; //#00101f;
}



body {
  font-family: sans-serif;
  background-color: var(--mybgcolor);
  color: var(--mywhite);
  overflow-x: hidden;
  padding-top: 60px;

}






html {
  scrollbar-color: var(--mygrey015) transparent; /* Für Firefox */
  scrollbar-width: auto;
  z-index: 9999;
}

/* Für WebKit-Browser (Chrome, Safari, Edge) */
html::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

html::-webkit-scrollbar-thumb {
  background-color: var(--mygrey015);
  border-radius: 6px;
}

html::-webkit-scrollbar-track {
  background: transparent;
}





hh {
font-size: 60px ;
font-weight: bold;
line-height: 1.2;

}

h1 {
font-size: 46px !important;

}

h2 {
font-size: 34px !important;

}

h3 {
font-size: 24px !important;

}

h4 {
    font-size: 16px !important;
    line-height: 1.5;
}

h5 {
font-size: 13px !important;


}




/* Für kleinere Bildschirme (<800px) */
@media (max-width: 1200px) {

    hh {
      font-size: 52px;
    }

    h1 {
font-size: 32px !important;

}

}


@media (max-width: 700px) {

    hh {
      font-size: 40px;
    }

}

















      /*Obere Nav bar*/
.my-navbar {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--mybgcolor);
    transition: background-color 0.3s ease;
    height: 58px;
    border-bottom: 1px solid var(--mygrey015);

}


.navbar-container {
  width: 100%;
  max-width: var(--page-max-width);
  margin-inline: auto;
  padding-inline: var(--page-inline-padding);

  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}


.nav-left {
    display: flex;
    align-items: center;
}



.nav-logo {
    height: 38px;
    width: auto;
    padding-right: clamp(5px, 0.75vw, 12px);
}


.nav-logo:hover {
    transform: scale(1.06); /* Optionale leichte Vergrößerung */

}



.nav-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  height: 58px;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: clamp(5px, 0.75vw, 12px);
  padding-left: clamp(5px, 0.75vw, 12px);
  height: 100%;
  cursor: pointer;
  color: var(--mywhite);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-item span {
  /* Falls gewünscht, hier nochmal explizit */
  padding: 0;
  margin: 0;
  white-space: nowrap; /* verhindert Zeilenumbruch im Text */
}


.nav-item.hovered {
  color: var(--mygreen);
}

.nav-wrapper:not(:has(.hovered)) .nav-item[data-active="true"] {
  color: var(--mygreen);
}

.nav-indicator {
  position: absolute;
  bottom: 0;
  height: 4px;
  background-color: var(--mygreen);
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  transition: all 0.3s ease;
  width: 0;
  left: 0;
  pointer-events: none;
}





.nav-link, .nav-link b, .nav-link i {
    text-decoration: none;
    color: var(--mywhite);
    font-size: 32px;
    font-weight: bold;
}


.nav-centerer {
  display: flex;
  justify-content: center;
  align-items: center;
      margin-right: clamp(5px, 0.75vw, 12px);
}

/* Searchbar in oberer Navbar*/
.search-container {
  position: relative;
  width: 380px;
  display: flex;
  height: 40px;
}

.search-input {
  width: 100%;
  height: 100%;
  border-radius: 100px;
  align-items: center;
  padding: 8px 16px 8px 40px;
  font-size: 16px;

background-color: var(--mygrey01);
  border: 0.5px solid var(--mygrey015) !important;


}

.search-input::placeholder {
   color: var(--mygrey05);
}

.search-input:focus {
 outline: none;
  border: 1px solid var(--mywhite);
  color: var(--mywhite);
}




.search-suggestions {
  display: none;
  position: absolute;
  margin-top: 42px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  background: rgba(30, 43, 40, 0.98);
  border: none;
  border-radius: 14px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.6);
  z-index: 5;
  padding: 10px;
}



.search-suggestion-item {
  padding: 10px;
  font-size: 16px;
  cursor: pointer;
  border-bottom: 1px solid var(--mygrey015);
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-suggestion-item:last-child {
  border-bottom: none; /* Kein Rand beim letzten Vorschlag */
}

.search-suggestion-item:hover {
  font-weight: bold;
  border-radius: 6px;
  background: var(--mygrey01);
}


.suggestion-logo-wrapper {
  width: 34px;
  height: 34px;
  margin-right: 4px;

  overflow: hidden;
  background-color: transparent; /* Optional: schöner Hintergrund */
  display: flex;
  justify-content: center;
  align-items: center;
}



.suggestion-logo {
  width: 32px;      /* oder die Größe, die du willst */
  height: 32px;     /* gleiche Höhe & Breite = Kreis */
  border-radius: 10px;  /* macht es rund */
  object-fit: contain; /* Logo bleibt korrekt skaliert */
  background: var(--mygrey01);   /* optional, falls Logos transparent sind */
  padding: 0px;        /* optionaler Rand, damit es "sauber" aussieht */
}




.suggestion-text-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 2px;
}

.suggestion-toprow {
  display: flex;
  gap: 12px;
  align-items: center;
}

.suggestion-name {
  font-size: 16px;
  color: var(--mygreen);
  font-weight: bold;
  line-height: 1.2;


}



.suggestion-ticker {
  font-size: 16px;
  color: var(--mygreen);
  line-height: 1.2;
}

.suggestion-sector {
  font-size: 12px;
  color: var(--mygrey05);
  margin-top: 4px;
  line-height: 1.2;
}



.nav-right {
    display: flex;
    align-items: center;
}


/* Burger-Icon */
.burger-icon {

  flex-direction: column; /* vertikale Richtung */
  justify-content: space-between;
  height: 40px;; /* oder eine feste Höhe, z. B. 300px */

    display: none;
    margin-left: 16px;
}

.line {
    width: 32px;
    height: 4px;
    background-color: var(--mywhite);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.burger-icon:hover .line {
    background-color: #fff; /* Farbe aller Linien ändern */
}



/*registrier button*/
.nav-buttonreg {
    text-decoration: none;
    color: #000;
    padding: 5px 16px;
    border-radius: 8px;
    background-color: var(--mygreen);
    transition: background-color 0.3s, color 0.3s;
    margin-left: 8px;
    display: flex;
    align-items: center;
    height: 40px;
    font-size: 16px;
    font-weight: bold;
}


.nav-buttonreg:hover {
    background-color: var(--mymidgreen);
    color: var(--mygrey05);

}


/*login button*/
.nav-buttonlog {
    text-decoration: none;
    color: var(--mygreen);
    padding: 5px 16px;
    border: 1px solid var(--mygreen);
    border-radius: 8px;
    background-color: transparent;
    transition: background-color 0.3s, color 0.3s;
    height: 40px;
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: bold;

}

.nav-buttonlog:hover {
    border: 1px solid var(--mymidgreen);
    color: #166347;
}

.my-navbarlog a:hover {
    color: var(--mymidgreen);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}



/* Für kleinere Bildschirme (<800px) */
@media (max-width: 1200px) {



.search-container {
    display: none;
    }

    }



/* Für kleinere Bildschirme (<800px) */
@media (max-width: 740px) {
    .nav-item {

    display: none;
}
.nav-indicator {
 display: none;
 }



/* Burger-Icon */
.burger-icon {

    display: flex;

}
    }






.main-content {
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--page-inline-padding);
  max-width: var(--page-max-width);

}


.glass-wrapper {
  width: 100%;
  max-width: var(--page-max-width);
  margin-inline: auto;
  padding: 0 var(--page-inline-padding) 0 var(--page-inline-padding);
  position: relative;

  margin-top: 60px;


}





:root {
  --page-inline-padding: 0.75rem;
  --page-max-width: 100%;
}

/* Große Handys (ab 480px) */
@media (min-width: 480px) {
  :root {
--page-max-width: 95%;
    --page-inline-padding: 1rem;
  }
}

/* Tablets & kleine Laptops (ab 768px) */
@media (min-width: 768px) {
  :root {
    --page-inline-padding: 0.75rem;
    --page-max-width: 95%;
  }
}

/* Mittelgroße Laptops (ab 1024px) */
@media (min-width: 1024px) {
  :root {
    --page-inline-padding: 2.5rem;
    --page-max-width: 1260px;
  }
}

/* Große Laptops (ab 1366px) */
@media (min-width: 1366px) {
  :root {
    --page-inline-padding: 4rem;
    --page-max-width: 1295px;
  }
}

/* Full-HD+ & 4K (ab 1680px) */
@media (min-width: 1680px) {
  :root {
    --page-inline-padding: 3.5rem;
    --page-max-width: 1410px;
  }
}

/* Ultrawide (ab 1920px) */
@media (min-width: 1920px) {
  :root {
    --page-inline-padding: 4rem;
    --page-max-width: 1525px;
  }
}








.line-border {
    text-align: left;

    width: 100%;
    height: 100%;

    border-radius: clamp(10px, 0.7vw, 14px);


  background: var(--mybgcolor);
  border: 1px solid rgba(224, 233, 230, 0.08) !important;


  box-shadow:
    0 20px 50px rgba(0,0,0,0.3),
    0 5px 16px rgba(0,0,0,0.15),
    inset 0 0 26px rgba(0,214,170,0.02);

    margin-top: calc(4vw + 20px);
    padding: 2.6vw;
    }




.chart-display {
    height: auto;
    width: 100%;
    position: relative;
    margin-bottom: 12px;


    }

.chart-display-return span:nth-child(2),
.chart-display-return span:nth-child(3) {
  margin-left: 5px;
}


.chart-display-name, .drop-down-heading {
    line-height: 1; font-weight: bold; font-size: 24px;


    }

 .drop-down-heading {
    margin-bottom: 16px;
 }


.chart-display-data-container {
    display: flex;
    width: fit-content;
    margin-top: clamp(10px, 0.8vw, 14px);



    }

.chart-display-data {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-left: 16px;
    font-size: 16px;



    }


.chart-display-date {
    line-height: 0.85;
    margin: 0px;
    margin-left: 0px;
    color: var(--mygrey07);

    }

.chart-display-return {
    line-height: 0.82; margin: 0px;
    font-weight: bold;
    color: var(--mygrey05)

    }

.chart-display-price {
    line-height: 0.82;
    margin-bottom: 0px;
    font-size: 46px;
    font-weight: bold
}



/* Tabel in Lineborder*/

.table-row {
     display: flex;
     justify-content: space-between;
     padding: 8px 4px;
     border-bottom: 1px solid var(--mygrey015);
}

.table-row:last-child {
     border-bottom: none;
}

.table-row:first-child {
     padding: 4px 4px 8px 4px;
}

.key {
     color: var(--mygrey05);
}

.value {
     color: var(--mywhite);
     font-weight: bold;
     text-align: right;

}

.link a {
     color: var(--mygreen);
     text-decoration: none;
}

.link a:hover {
     color: var(--mymidgreen);
     text-decoration: underline;
}

.website a:hover {
     text-decoration: underline;
     color: var(--mymidgreen);
}

.make-up{
     width: 104px;
     height: 17px;
     background-color: var(--mybgcolor);

     z-index: 10;
     position: absolute;
     margin-left: 4px;
     bottom: 0px;




}

.explore-insights {
    width: 100%;
    display: flex;
    justify-content: space-between;
    line-height: 1.2;
    margin-bottom: -8px;

}

@media (max-width: 760px) {
     .make-up{
         display: none;
         }

     .explore-insights {
        margin-top: 12px;
        }
}

.shark-score-details {
    width: 100%;
    display: none;
    margin-top: 30px;
    margin-left: 0px;
    width: 100%;
}


.plus-button, .plus-button-right {
    color: var(--mywhite);
    cursor: pointer;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    font-size: 24px;
    margin: 0px;
    margin-left: 0px;



}

.plus-button-right {
    margin-left: auto;
}

.plus-button:hover, .plus-button-right:hover {
    color: var(--mygrey05);
    border: none;
}

.explore {
    font-size: 16px !important;
    margin-bottom: 0;
    margin-left: 5px;
    font-weight: bold;
    margin-top: -2px;
}



.btn-section, .btn-section-earnings{
    width: 100%;
    height: auto;
    justify-content: right;
    display: flex;
    margin-top: -21px;
    align-items: flex-end;


}


.btn-section-earnings{

    margin-top: -41px;
    margin-bottom: 4px;

}



.time-span-btn-container {
    width: auto;
    display: flex;
    justify-content: space-between;
    margin-left: 16px;


}

.time-span-btn-stock-chart, .time-span-btn, .time-span-btn-crypto, .time-span-btn-commodities, .time-span-btn-interests, .time-span-btn-forex, .time-span-btn-bond, .time-span-btn-macro, .time-span-btn-move, .indices-btn, .time-span-btn-comparison, .time-span-btn-annual-earnings, .time-span-btn-margin, .time-span-btn-eps, .time-span-btn-val, .time-span-btn-debt, .time-span-btn-shares, .time-span-btn-dividend {
    color: var(--mygrey07);
    border-radius: 6px;
    border: none;
    background-color: transparent;


    padding: 5px 0 6px 0;
    width: 42px;
    line-height: 1;
}

.time-span-btn-stock-chart.selected, .time-span-btn.selected, .time-span-btn-crypto.selected, .time-span-btn-forex.selected, .time-span-btn-bond.selected, .time-span-btn-macro.selected, .time-span-btn-interests.selected, .time-span-btn-commodities.selected, .time-span-btn-move.selected, .indices-btn.selected, .time-span-btn-comparison.selected, .time-span-btn-annual-earnings.selected, .time-span-btn-margin.selected, .time-span-btn-eps.selected, .time-span-btn-val.selected, .time-span-btn-debt.selected, .time-span-btn-shares.selected, .time-span-btn-dividend.selected {

     border: 1px solid rgba(224, 233, 230, 0.10) !important;
    background-color: var(--mygrey01);
    border-radius:6px;
    color: var(--mywhite);
    font-weight: bold;

}

.time-span-btn-stock-chart:hover, .time-span-btn:hover, .time-span-btn-crypto:hover, .time-span-btn-forex:hover, .time-span-btn-bond:hover, .time-span-btn-macro:hover, .time-span-btn-interests:hover, .time-span-btn-commodities:hover, .time-span-btn-move:hover, .indices-btn:hover, .time-span-btn-comparison:hover, .indices-btn-comparison:hover, .indices-btn-valuation:hover, .time-span-btn-annual-earnings:hover, .time-span-btn-margin:hover, .time-span-btn-eps:hover, .time-span-btn-val:hover, .time-span-btn-debt:hover, .time-span-btn-shares:hover, .time-span-btn-dividend:hover {
    color: var(--mygrey05) !important;
    }



    .metric-row {
  display: flex;
  align-items: center; /* alles vertikal mittig */
  gap: 8px;            /* gleichmäßiger Abstand */

  font-size: 16px;
  margin-left: 6px;
  margin-bottom: 2px;
}

.metric-row .dot {
  height: 8px;
  width: 8px;
  border-radius: 50%;

  flex-shrink: 0; /* verhindert, dass der Punkt kleiner wird */
  margin-right: 4px;
}

.metric-row .label {
  color: var(--mywhite);
}

.metric-row .value {
font-weight: bold;
  font-size: 16px;
}

.metric-row .delta {
  font-size: 13px;
  font-weight: bold;
  color: var(--mygreen);
}


.responsive-data-container {
    margin-bottom: 0px;
    margin-top: 2px;
    display: none;

}



.index-select {
background: #191F1E !important;
border: none;
 border-bottom:2px solid var(--mygrey015) !important;
             border-radius:8px !important;
             padding:6px 12px !important;
             font-size:16px !important;
             width: clamp(140px, 14vw, 170px);
    cursor: pointer;
    color: var(--mywhite);
    font-weight: bold;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);


}

.index-select:focus {
    border-color: var(--mygreen);
    outline: none;
}

.index-select:hover {
    color: var(--mygrey05) !important;
    font-weight: bold;
}



/* Styling der Dropdown-Optionen */
.index-select option {
    background-color: var(--mygrey015);
    color: var(--mywhite);
    font-weight: bold;
    padding: 8px;
    border-radius: 8px !important;
}



.index-select::-webkit-scrollbar {
    width: 8px;
}

.index-select::-webkit-scrollbar-track {
    background: var(--mygrey015);
    border-radius: 8px;
}

.index-select::-webkit-scrollbar-thumb {
    background: var(--mygrey015);
    border-radius: 8px;
}


.outer-container, .outer-container-shark-score {
  height: calc(90vh - 5vw - 80px); /* min, preferred, max */
  min-height: calc(380px + 10vw);
  display: flex;
  flex-direction: column;



}

#outer-container-forex, #outer-container-commodities {
    container: outer-container / inline-size;
}

.outer-container-shark-score {
    container: outer-container-shark-score / inline-size;
    }


    @media (max-width: 800px) {


.outer-container-shark-score {
  height: calc(80vh - 6vw - 60px) !important; /* min, preferred, max */


}


}


.content-wrapper, .content-wrapper-shark-score {
  flex: 1;
  display: flex;
  flex-direction: row;
  gap: 2.6vw;
  min-height: 0px;

}

.chart-container, .chart-container-shark-score {
  width: 71%;
  display: flex;
  flex-direction: column;
  min-height: 300px;

  min-width: 0;
  position: relative;
container: chart-container / inline-size;

}







.chart-wrapper {
  flex: 1;
  position: relative;

}

canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;


}

.table-container, .table-container-shark-score {
  width: 29%;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 100%;

}

.smallx {

    padding-top: 4px !important;
}

.table-scroll {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--mygrey015) transparent;
}

.table-scroll::-webkit-scrollbar {
  width: 6px;
}

.table-scroll::-webkit-scrollbar-thumb {
  background-color: var(--mygrey015);
  border-radius: 4px;
}

.table-scroll::-webkit-scrollbar-track {
  background: transparent; /* unsichtbarer Track */
}

@media (max-width: 800px) {
  .content-wrapper {
    position: relative;
  }

  .chart-container {
    width: 100% !important;
  }

  .table-container {
    position: absolute;
    top: 0;
    right: 0;
    width: clamp(200px, 70%, 260px) !important;
    padding: 12px;
    padding-right: 12px;
    background-color: var(--mybgcolor);
    z-index: 100;

    overflow-y: auto;
  }





  .outer-container {
      height: calc(56vh + 10vw ); /* min, preferred, max */
      min-height: calc(300px + 10vw);
      display: flex;
      flex-direction: column;
    }

    #tabel-container-annual-earnings, #tabel-container-margin, #tabel-container-eps, #table-container-comparison {
    display: none;
    }

    .responsive-data-container {
        display: block;
    }




    .btn-section, .btn-section-earnings {
    margin-bottom: -12px;
    }





}

@media (max-width: 930px) {
        .btn-section-earnings {

    margin-top: 0px;

    }
}


@media (min-width: 801px) {
  .table-container {
    position: static;
    width: 29%;
    display: flex;
    height: auto;
    max-height: 100%;
    padding: 0; /* optional, je nach Layout */
    overflow-y: auto;
    padding-bottom: 16px;
  }
}

@media (max-width: 700px) {
.chart-dis
        .key {
     font-size: 13px;
     color: var(--mygrey07);
}


  .table-container {

    min-width: 240px;

  }

.value, .key {
     font-size: 13px;

}

.link a {
     font-size: 13px;

}

.table-row {

     padding: 5px 4px;

}

    .time-span-btn-stock-chart, .time-span-btn, .time-span-btn-crypto, .time-span-btn-commodities, .time-span-btn-interests, .time-span-btn-forex, .time-span-btn-bond, .time-span-btn-macro, .time-span-btn-move, .indices-btn, .time-span-btn-comparison, .time-span-btn-annual-earnings {
    color: var(--mygrey07);
    border-radius: 6px;
    border: none;
    background-color: transparent;


    padding: 5px 0 6px 0;
    width: 38px;
    line-height: 1;
    font-size: 13px;
}

.index-select {

     font-size:13px !important;
     width: 120px;

}

#annual-earnings-select-1, #annual-earnings-select-2, #annual-earnings-select-3, #annual-earnings-select-4, #margin-select-1, #margin-select-2, #margin-select-3, #margin-select-4, #index-select-4, #index-select-2, #index-select-3 {
    width: 105px;
}


}





@container chart-container (max-width: 650px) {


    .btn-section{
        margin-top: 10px;
    }

.chart-display {
    height: auto;
    width: 100%;
    position: relative;
    }
}

@container chart-container (max-width: 420px)  {


    .chart-display-data {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-left: 10px;
        font-size: 13px;
    }

    .chart-display-price {
        line-height: 0.8;
        margin-bottom: 0px;
        font-size: 34px;
    }

    .chart-display-name {
    line-height: 1; font-weight: bold; font-size: 16px;
    }

    .chart-display {
       height:auto;
    }

    .btn-section{
        margin-top: 14px !important;
    }


}








@container outer-container (max-width: 640px) {


    .btn-section{
        margin-top: 10px;
    }

.chart-display {
    height: auto;
    width: 100%;
    position: relative;
    }
}

@container outer-container (max-width: 420px)  {


    .chart-display-data {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-left: 10px;
        font-size: 13px;
    }

    .chart-display-price {
        line-height: 0.8;
        margin-bottom: 0px;
        font-size: 34px;
    }

    .chart-display-name {
    line-height: 1; font-weight: bold; font-size: 16px;
    }

    .chart-display {
       height:auto;
    }

    .btn-section{
        margin-top: 14px !important;
    }


}


@container chart-container-shark-score (max-width: 420px) {

    .chart-display-data {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-left: 10px;
        font-size: 13px;
    }

    .chart-display-price {
        line-height: 0.8;
        margin-bottom: 0px;
        font-size: 34px;
    }

    .chart-display-name {
    line-height: 1; font-weight: bold; font-size: 16px;
    }

.chart-display-shark-score {
       height:60px !important;
    }


}

    .comparison-display {
        justify-content: space-between; display: flex; margin-bottom: 12px;
    }

    .comparison-display-outer-container {
    display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-start;
    }

    .comparison-display-inner-container {
    display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-start;
    }

    .comparison-display-outer-btn-container{
    align-items: flex-end; display: flex;

    }


@media (max-width: 700px) {


    .comparison-display-inner-container {
     gap: 6px;
    }

}




    .source {
    margin: clamp(16px, 2vw, 28px) 0 0 0; color: var(--mygrey05)
    }







.hero-scroll-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    overflow-x: auto;      /* <<< Scrollbar hier aktivieren */
    -webkit-overflow-scrolling: touch;
    padding-inline: var(--page-inline-padding);
    max-width: var(--page-max-width);
    margin-inline: auto;


}

.hero-sec-btn-container {
    display: flex;
    justify-content: space-between; /* scrollt am besten, wenn nicht „space-between“ */
    gap: 16px;
    padding: 4px 0 7px 0px;
    min-width: 680px;
    flex-shrink: 0;              /* <<< verhindert, dass es sich zusammenzieht */
    white-space: nowrap;
    backdrop-filter: blur(1.5px);
}



.hero-sec-btn {
    width: 4.5px;
    height: 19px;
    background-color: var(--mygreen);
    margin-right: 5px;
    border-radius: 1.5px;
    }

.feature-button {
   align-items: center;
   display: flex;
   cursor: pointer;
   line-height: 1.6;
}

.feature-button:hover {
   transition: transform 0.2s ease;
   margin-top: 0px;
   color: #ffffff;
   transform: scale(1.05);
 }




.loader-wrapper {
width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
}

 .loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;

  height: auto;
}

.bars-loader {
  display: flex;
  gap: 10px;
  height: 64px;
  align-items: flex-end;

}

.bar-loader {
  width: 10px;
  height: 12px;
  background: var(--mybrightblue);
  border-radius: 2px;
  animation: bounce-loader 1.4s infinite ease-in-out;
}

.bar-loader:nth-child(2) { animation-delay: 0.2s; }
.bar-loader:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce-loader {
  0%, 100% { height: 16px; }
  50% { height: 64px; }
}

.text-loader {
  font-size: 13px;
  letter-spacing: 1px;
}





















    /* Offcanvas */

  .offcanvas-custom {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--mybgcolor);
    transition: left 0.4s ease, opacity 0.3s ease;
    z-index: 15000;
    display: flex;
    flex-direction: column;
    opacity: 0;
  }

  .offcanvas-custom.active {
    left: 0;
    opacity: 1;
  }

  /* Header nur Close */
  .offcanvas-header-custom {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 60px;
    padding-right: 20px;
  }

  .close-btn-custom {
    font-size: 2.4rem;
    cursor: pointer;
    color: var(--mygrey07);
    line-height: 1;
    transition: color 0.3s;
  }

  .close-btn-custom:hover {
    color: var(--mygreen);
  }



  /* Menü */
  .menu-custom {
    display: flex;
    flex-direction: column;
    padding: 1rem;

    overflow-y: auto;
  }

  .menu-custom a {
    text-decoration: none;
    color: var(--mywhite);
    font-size: 16px;
    padding: 0.1rem 0.4rem;

    transition: all 0.3s;
  }

  .menu-custom a:hover {
    color: var(--mygreen);
    transform: translateX(6px);
  }

  .menu-section-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--mygrey07);
    margin: 1rem 0 0.2rem;
    padding-left: 0.4rem;
  }

  .offcanvas-search-outer-container {
    padding: 32px 20px; border-top: 1px solid var(--mygrey015); border-bottom: 1px solid var(--mygrey015);

    }


           .offcanvas-search-container {
  position: relative;
  width: 100%;
  display: flex;
  height: 40px;

}

.offcanvas-search-input {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  align-items: center;
  padding: 8px 16px 8px 40px;
  font-size: 16px;
  color: var(--mywhite) ;
background-color: var(--mygrey01);
  border: 0.5px solid var(--mygrey015) !important;


}

.offcanvas-search-input::placeholder {
   color: var(--mygrey05);
}

.offcanvas-search-input:focus {
 outline: none;
  border: 1px solid var(--mywhite) !important;
  color: var(--mywhite) !important;
}


.offcanvas-search-input:focus::placeholder {

  color: var(--mywhite) !important;
}

.offcanvas-search-input:focus ~ .search-icon {
  background-color: var(--mywhite) !important;
}


.offcanvas-search-suggestions {
  display: none;
  position: absolute;
  margin-top: 48px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  background-color: #191F1E;
  border: none;
  border-radius: 10px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.6);
  z-index: 5;
  padding: 10px;
}

           .offcanvas-search-suggestion-item {
  padding: 10px;
  font-size: 16px;
  cursor: pointer;
  border-bottom: 1px solid var(--mygrey015);
  display: flex;
  align-items: center;
  gap: 10px;
}

.offcanvas-search-suggestion-item:last-child {
  border-bottom: none; /* Kein Rand beim letzten Vorschlag */
}

.offcanvas-search-suggestion-item:hover {
  font-weight: bold;
  border-radius: 10px;
  background: var(--mygrey015);
}








.arrow-icon {
    width: auto;
    height: 10px;
    margin-left: 12px;
    transition: all 0.3s ease;

    }

    .btn-sec:hover .arrow-icon {
    filter: hue-rotate(-9deg) brightness(69%) saturate(64%);
    }


.prim-sec-btn-container {
  display: flex; margin-top: 20px;
  gap: 12px;
  }


.btn-prim, .btn-sec {
    width: 180px;
    height: 54px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;

}

.btn-prim {

     background-color: var(--mygreen);
     color: #000;

}

.btn-sec {

        color: var(--mygreen);
        border: 1px solid var(--mygreen);

        }


.btn-prim:hover {

     background-color: var(--mymidgreen);
     color: var(--mygrey07) !important;
     box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
}




.btn-sec:hover {
        color: var(--mymidgreen);
        border: 1px solid var(--mymidgreen);
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
        }







 .earnings-date {
    color: var(--mygrey07);
    padding: 6px 8px;
    line-height: 1;
    margin-bottom: 4px;
  }

  .earnings-box {
    width: 100%;
    min-height: 70px;
    background-color: var(--mygrey01);
    border-radius: 12px;
    padding: 8px 12px;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
    margin-top: 14px; /* nur wenn mehrere Boxen untereinander stehen */
  }

  .earnings-box h5 {
    margin-bottom: 2px;
    color: var(--mygrey07);
    font-weight: normal;
  }

  .earnings-box h2 {
    font-weight: bold;
    margin-bottom: 6px;
  }

  .earnings-box .growth {
   // color: var(--mygreen);
    margin-bottom: 0;
    font-weight: bold;
  }

  .earnings-box .growth span {
    margin-right: 8px;
  }





@media (max-width: 800px) {
  .content-wrapper-shark-score {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }


.chart-container-shark-score {
  width: 100% !important;
  display: flex;
  flex-direction: column;
  min-height: 100px !important;
  height: 100% !important;
  min-width: 0;
  position: relative;

}





}












