.container {
  max-width: 1450px;
  margin: auto;
  padding-bottom: 50px;
}

/* =========================
     RANGE CARD
  ========================= */

.rangeCard {
  background: white;

  border-radius: 24px;

  padding: 20px 25px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

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

.spotBox {
  background: #f3f4f6;

  padding: 12px 18px;

  border-radius: 12px;

  color: #6b7280;
}

.spotBox span {
  color: #111827;
  font-weight: 700;
}

/* RANGE */

.rangeWrapper {
  position: relative;
  height: 120px;
  margin-top: 20px;
}
.Css-oflfpE{
    display: flex;
    gap: 5px;
    align-items: center;
}
.css-lfofpUUI{
    padding: 5px;
    border: 1px solid #8080806b;
    border-radius: 3px;
    cursor: pointer;
    outline: none;
    color: #393939;
}
.css-oflfpWMHJK{
    display: flex;
    gap: 15px;
    margin-top: 20px;
    padding: 0 8px;
    justify-content: space-between;
}
.css-uiflpoW{
  display: none;
}
.css-oflfpHRTJK{
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.css-ifkflopoo.lower.chng{
  color: red;
}
.css-ifkflopoo.upper.chng{
  color: green;
}
.css-oflfpHJKWW{
    font-weight: 600;
    font-family: 'Roboto';
    font-size: 13px;
}
.css-oflfpHJHK{
    display: flex;
    align-items: center;
    gap: 5px;
}
.css-oflfpHJHK span{
    font-weight: 600;
    font-size: 14px;
    font-family: system-ui;
}
.css-oflfpHJK{
    width: 16px;
    height: 16px;
    cursor: pointer;
}
.css-pflfopEREE{
    position: relative;
}
.css-oflEoERE{
    position: absolute;
    width: 100%;
    left: 0;
    padding: 13px;
    top: 0;
    background: #0000000f;
    display: none;
}
.css-oflfpoERE{
    background: #3F51B5;
    padding: 6px 15px;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}
.hdjdlUI{
    display: flex;
    gap: 20px;
    align-items: center;
}
.css-yfufjklYU{
    display: flex;
    border: 1px solid #3F51B5;
    border-radius: 3px;
}
.css-ufjflpoE{
    background: none;
    color: black;
    border: none;
    padding: 8px 20px;
    font-size: 14px;
    border-radius: 0;
    cursor: pointer;
}
.css-ufjflpoE.active{
    background: #3F51B5;
    color: white;
    border: none;
    cursor: default;
}
.css-oflfpoERE:hover{
    background: black;
}
.css-pflfopEREE.active .css-oflEoERE{
    display: block;
}

.rangeWrapper input[type="range"] {
  position: absolute;

  width: 100%;

  appearance: none;

  background: none;

  pointer-events: none;

  top: 50px;
  z-index: 100;
}

.rangeWrapper input[type="range"]::-webkit-slider-thumb {
  appearance: none;

  width: 26px;
  height: 26px;

  border-radius: 50%;

  background: #4f46e5;

  border: 5px solid rgb(255, 255, 255);

  pointer-events: auto;

  cursor: pointer;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  margin-top: -9px;
}

.sliderTrack {
  position: absolute;

  top: 50px;
  left: 0;
  right: 0;

  height: 8px;

  border-radius: 20px;

  background: #11182736;
}

.sliderRange {
  position: absolute;

  height: 8px;

  border-radius: 20px;

  background: linear-gradient(90deg, #4f46e5, #6366f1);
}

/* SPOT */

.spotMarker {
  position: absolute;

  top: -65px;

  transform: translateX(-50%);
}

.spotValue {
  font-size: 18px;
  color: #6b7280;
  text-align: center;
  margin-bottom: 6px;
}

.spotLine {
  width: 2px;
  height: 70px;
  margin: auto;
  border-radius: 20px;
  border: 1px dashed #636363;
}

.spotLabel {
  margin-top: 8px;

  text-align: center;

  color: #6b7280;
}

.bottomValues {
  margin-top: 25px;

  display: flex;
  gap: 20px;
}

.valueBox {
  flex: 1;

  background: #f3f3f3;

  border-radius: 18px;

  padding: 15px;
}

.valueBox span {
  display: block;
  color: #6b7280;
  margin-bottom: 8px;
}

.valueBox strong {
  font-size: 22px;
  color: #4f46e5;
}

.css-klifipTY button{
    background: transparent;
    border: none;
    cursor: pointer;
}
.css-klifipTY{
    position: fixed;
    display: flex;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    background: #000000b5;
    z-index: 1000000;
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
}
.css-klWipTY{
    background: white;
    border-radius: 5px;
    max-width: 450px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    transform: scale(0);
}
.css-klifipTY.active{
    opacity: 1;
    pointer-events: auto;
}
.css-klifipTY.active .css-klWipTY{
    transform: scale(1);
}
.css-kQEipTY{
    display: flex;
    width: 100%;
    justify-content: end;
    min-height: 44px;
    align-items: center;
    position: relative;
    border-bottom: 1px solid #d3d3d373;
}
.css-kLKfipTY{
    position: absolute;
    width: 100%;
    left: 0;
    justify-content: center;
    display: flex;
    font-weight: 600;
    font-size: 14px;
    pointer-events: none;
}
.css-kERfipTY{
    padding: 12px;
    font-size: 20px;
}
.css-kliERpTY{
    padding: 25px;
    text-align: center;
}
.css-kliERpTY span{
    font-family: 'Roboto';
}
.css-klifiIOpTY{
    display: flex;
    justify-content: center;
    padding-bottom: 25px;
    gap: 8px;
}
.css-xrtglfopl,.css-cjflfofffkui{
  display: none;
}

.css-kWEfiIOpTY.cancel{
    border: 1px solid grey;
    padding: 12px 25px;
    border-radius: 3px;
    font-size: 15px;
}
.css-klifiIOpTY.continue{
    padding: 12px 25px;
    background: #FF5722;
    color: white;
    border-radius: 3px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.css-kliQOpTY{
    margin-top: 2px;
}

/* =========================
     SORT
  ========================= */

.sortSection {
  margin-top: 28px;

  display: flex;

  justify-content: space-between;

  align-items: flex-end;

  gap: 20px;
}

.leftSort h3 {
  font-size: 18px;
  font-family: "Roboto";
  margin-bottom: 10px;
}

.sortTabs {
  display: flex;
}

.tab {
  min-width: 120px;

  height: 34px;

  border: 1px solid #3f51b5b0;

  background: white;

  font-size: 14px;

  cursor: pointer;

  font-family: "Roboto";
  color: #494949;
}

.tab.active {
  background: #3F51B5;
  color: white;
}

.strikeBox {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}

.strikeBox select {
  width: 50px;
  height: 30px;
  border: 1px solid #11182757;
  text-align: center;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}
.topRow h2 {
  font-size: 18px;
}
/* =========================
     TABLE
  ========================= */

.tableWrapper {
  margin-top: 24px;

  overflow: auto;

  background: white;

  border-radius: 24px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

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

th {
  background: #f8fafc;

  padding: 20px 16px;

  border: 1px solid #dbe2ea;

  font-size: 13px;

  font-family: "Roboto";
}

td {
  padding: 18px 14px;

  border: 1px solid #dbe2ea;

  text-align: center;

  font-size: 14px;

  font-family: "Roboto";
}

.green {
  color: #129b03;
}

.red {
  color: #ef4444;
}

/* =========================
     MOBILE CARDS
  ========================= */

.mobileCards {
  display: none;
}

.mobileCard {
  background: white;

  border-radius: 20px;

  padding: 18px;

  margin-top: 16px;

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.mobileTop {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-bottom: 16px;
}

.mobileStrike {
  font-size: 22px;
  font-weight: 700;
}

.mobileGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mobileItem {
  background: #f8fafc;

  border-radius: 12px;

  padding: 12px;
}

.mobileItem span {
  display: block;

  font-size: 12px;

  color: #6b7280;

  margin-bottom: 5px;
}

.mobileItem strong {
  font-size: 16px;
}

/* =========================
   VALUE TAGS
========================= */

.valueTag {
  position: absolute;

  top: 5px;

  transform: translateX(-50%);

  display: flex;
  flex-direction: column;
  align-items: center;

  z-index: 20;

  pointer-events: none;
}

.valueTag span {
  background: #4f46e5;

  color: white;

  min-width: 60px;

  text-align: center;

  padding: 5px 10px;

  font-size: 14px;

  font-weight: 500;

  line-height: 1;

  border-radius: 0;
  border-radius: 3px;
}

.arrow {
  width: 0;
  height: 0;

  border-left: 8px solid transparent;
  border-right: 8px solid transparent;

  border-top: 10px solid #4f46e5;
}

/* =========================
     RANGE THUMB
  ========================= */

.rangeWrapper input[type="range"] {
  z-index: 15;
}

.rangeWrapper input[type="range"]::-webkit-slider-thumb {
  appearance: none;

  width: 22px;
  height: 22px;

  border-radius: 50%;

  background: #4f46e5;

  border: 3px solid white;

  pointer-events: auto;

  cursor: pointer;

  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.rangeWrapper input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;

  border-radius: 50%;

  background: #4f46e5;

  border: 3px solid white;

  pointer-events: auto;

  cursor: pointer;
}
.css-yfufjklop{
  display: none;
}
.css-oflfkopER{
  display: grid;
    gap: 5px;
}
.css-oflfkopER p{
  font-size: 14px;
  opacity: 0.8;
  font-family: system-ui;
}

/* =========================
     MOBILE
  ========================= */

@media (max-width: 768px) {
  .valueTag {
    top: 0;
  }

  .valueTag span {
    min-width: 70px;

    font-size: 13px;

    padding: 6px 10px;
  }

  .arrow {
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;

    border-top: 8px solid #4f46e5;
  }
  .css-yfufjklYU{
    max-width: 127px;
  }
  .valueTag.active{
    pointer-events: auto;
    display: flex;
  }
  
  
}

/* =========================
     MOBILE
  ========================= */

@media (max-width: 900px) {
  .Css-oflfpE{
    width: 100%;
  }
  .css-lfofpUUI{
    width: 100%;
    padding: 8px 5px;
    border: 1px solid #80808047;
  }
  .hdjdlUI,.leftSort h3{
    display: none;
  }
  .css-uiflpoW{
    padding: 4px 8px;
    border-radius: 3px;
    display: block;
    outline: none;
  }
  .css-cjflfofffkui{
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .css-cjdofffkui{
    border: none;
    background: no-repeat;
    font-size: 16px;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #3F51B5;
    outline: none;
  }
  .css-lopfyuj{
    text-decoration: underline;
    font-size: 15px;
    font-weight: 600;
  }
  .tableWrapper {
    display: none;
  }
  .css-yfufjklop{
    display: flex;
    width: calc(100% - 0px);
    border: 1px solid #2196f33d;
    position: relative;
    /* box-shadow: 0px -5px 7px 0px rgb(33 150 243 / 16%); */
    padding: 20px 12px;
    border-radius: 10px;
    overflow: hidden;
    border-bottom: 2px solid #03A9F4;
  }
  .css-erkglgopE{
    display: grid;
    gap: 10px;
  }
  .css-erkegopE,.css-yrthhgopE{
    display: flex;
    gap: 8px;
    font-size: 13px;
    align-items: center;
  }
  .css-ifkflopuid{
    font-size: 20px;
    margin-right: 5px;
  }
  .css-ifkflopuid.up{
    color: green;
  }
  .css-ifkflopuid.down{
    color: red;
  }
  .css-ifkflopoo{
    border: 1px solid #8080805c !important;
    padding: 8px 10px;
    outline: none;
    border-radius: 5px;
    font-size: 15px;
    max-width: 60%;
    color: black;
    height: auto;
  }
  .css-yrelgopE,.css-yrkglgopE{
    display: flex;
    justify-content: center;
  }
  .css-erkgfopE{
    display: grid;
    gap: 8px;
    margin-left: -15px;
  }
  .css-ifkflopoo.chng{
    max-width: 28px;
    border: none !important;
    padding: 0;
  }
  .css-rgofployu{
    font-weight: 800;
    font-size: 15px;
  }
  .css-feployu{
    display: flex;
    align-items: center;
    gap:0px;
    margin-left: 8px;
  }
  .css-fofployu{
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 5px;
  }
  .css-yrelgopE span,.css-yrkglgopE span{
    height: 18px;
  }
  .css-yrkglgopE span{
    border-right: 2px dashed;
    border-top: 1px solid;
    /* width: 15px;
    color: #4CAF50; */
  }
  .css-yrelgopE span{
    border-left: 2px dashed;
    border-bottom: 1px solid;
    /* width: 15px;
    color: #FF5722; */
  }
  .css-yrkerggopE{
    display: grid;
    justify-content: center;
    text-align: center;
    gap: 3px;
  }
  .css-yrkrmopE{
    font-size: 13px;
    animation: live_bagde 1s infinite;
    color: #3F51B5;
  }
  .mobileCards {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    scrollbar-width: none;
  }
  .mobileCard{
    min-width: calc(100% - 65px);
    box-shadow: 0 8px 24px rgb(3 169 244 / 8%);
    border: 1px solid #03a9f442;
    border-radius: 12px;
    margin-top: 8px;
  }

  .css-xrtglfopl{
    position: fixed;
    z-index: 1000000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: end;
    background: #00000099;
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
  }
  .css-xjkflfopl{
    min-height: 350px;
    background: white;
    width: 100%;
    border-top-right-radius: 12px;
    border-top-left-radius: 12px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    transform: translateY(100%);
  }
  .css-xrtglfopl.active{
    opacity: 1;
    pointer-events: auto;
  }
  .css-xrtglfopl.active .css-xjkflfopl{
    transform: translateY(0%);
  }
  .css-fgopflfopl{
    display: flex;
    justify-content: end;
    min-height: 44px;
    align-items: center;
    position: relative;
    border-bottom: 1px solid #8080803d;
  }
  .sortSection {
    flex-direction: column;
    align-items: stretch;
  }
  .css-xowfopl{
    position: absolute;
    width: 100%;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    pointer-events: none;
  }
  .css-xopflfopl{
    background: none;
    border: none;
    padding: 12px 15px;
    font-size: 18px;
  }
  .sortTabs {
    overflow: auto;
  }
  .css-ikdldopER{
    padding: 15px;
    display: grid;
    gap: 25px;
  }
  .css-ujflfop{
    display: grid;
    gap: 5px;
  }
  .css-ggkglp{
    font-size: 14px;
  }
  .strikeBox {
    justify-content: end;
    display: none;
  }
  @keyframes live_bagde {
    0% {
      transform: scale(0.75);
    }
    100% {
      transform: scale(1);
    }
  }
}

@media (max-width: 768px) {
  .css-fifkflfpoEE{
    margin: 8px;
  }

  .rangeCard {
    padding: 18px;
    border-radius: 10px;
  }

  .topRow {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  h1{
    margin: 15px 0;
    font-size: 21px;
  }

  .rangeWrapper {
    height: 100px;
  }

  .sliderTrack,
  .sliderRange {
    top: 42px;
    height: 6px;
  }

  .rangeWrapper input[type="range"] {
    top: 42px;
  }

  .rangeWrapper input[type="range"]::-webkit-slider-thumb {
    width: 22px;
    height: 22px;
    border-width: 4px;
  }

  .spotMarker {
    top: -34px;
  }

  .spotValue {
    font-size: 12px;
  }

  .spotLine {
    height: 60px;
    width: 3px;
  }

  .spotLabel {
    font-size: 13px;
  }

  .bottomValues {
    flex-direction: column;
  }

  .valueBox strong {
    font-size: 26px;
  }

  .mobileGrid {
    grid-template-columns: 1fr;
  }

  .tab {
    min-width: calc(100% / 3);
    font-size: 13px;
    padding: 0 10px;
    height: 40px;
  }
  .rangeWrapper{
    display: none;
  }
}

/* tab view */
@media ((min-width: 750px) and (max-width: 1000px) and (min-height:1020px)){
  .css-erkglgopE{
    display: flex;
    gap: 25px;
    justify-content: space-between;
  }
  .css-ifkflopoo{
    max-width: 55%;
  }
  .css-lfofpUUI{
    max-width: 30%;
  }
  .css-yfufjklop{
    box-shadow: none;
  }
  .mobileCard{
    min-width: calc(50% - 60px);
  }
  .sortTabs{
    max-width: 50%;
  }
  .container{
    margin: 10px;
  }
  .topRow{
    display: grid;
    gap: 14px;
  }
  .rangeWrapper{
    display: none;
  }
  h1{
    margin: 20px 20px;
  }
  .mobileGrid{
    grid-template-columns: unset;
  }
}

@media ((min-width: 1000px) and (max-width: 1080px) and (min-height:1020px)){
  .css-fifkflfpoEE{
    margin: 15px;
  }
}