#root,
#main {
  position: relative;
}

.ml-auto {
  margin-left: auto;
}

.mw-1520 {
  width: 1520px;
}

.mw-1370 {
  max-width: 1370px;
}

.mw-720 {
  width: 720px;
}

.mw-660 {
  width: 660px;
}

.m-auto {
  margin: 0 auto;
}

.h-100 {
  height: 100%;
}

.width50 {
  width: 50px;
}
.w-100 {
  width: 100%;
}

.pos-rel {
  position: relative;
}

.max-wight-none {
  max-width: none !important;
}

.no-scroll {
  position: fixed !important;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.dim {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8.15485px);
  z-index: 5;
}

.has-lnb-con {
  display: flex;
  display: -ms-flexbox;
}

.has-lnb-con .lnb {
  width: 270px;
  margin-right: 30px;
}

.has-lnb-con .right-content {
  width: 1040px;
}

.lnb-menu {
  background: linear-gradient(
    180deg,
    rgba(253, 253, 255, 0.3) 50%,
    rgba(195, 218, 241, 0.3) 172.54%
  );
  box-shadow: 0px 6px 30px rgba(204, 204, 204, 0.441761),
    inset 0px -3px 8px rgba(255, 255, 255, 0.818482), inset 0px -6px 15px #ffffff;
  backdrop-filter: blur(19.028px);

  border-radius: 14px;

  padding: 25px 0px 25px 30px;

  margin-bottom: 15px;
}

.lnb-menu:last-child {
  margin-bottom: 0;
}

.lnb-menu ul > li:last-child {
  margin-bottom: 0;
}

.lnb-menu ul > li {
  margin-bottom: 30px;
}

.lnb-menu ul > li a {
  font-weight: 600;
  font-size: 24px;
  line-height: 29px;

  color: #2d3556;
}

.lnb-menu ul > li.active {
  background-image: url('../img/arr-right.webp');
  background-repeat: no-repeat;
  background-size: 15px 25px;
  background-position: right 30px center;
}

.lnb-menu ul > li.active a {
  font-weight: bold;
}

#barGraph {
  position: relative;
}

.dash-board-con {
  overflow-x: auto;
  position: relative;
}

.yAxis {
  padding-left: 20px;
  position: absolute;
  width: 30px;
  height: calc(100% - 50px);

  display: flex;
  flex-direction: column;
  -ms-flex-direction: column;

  justify-content: space-between;
}

.yAxis .axis p {
  font-size: 12px;
  color: #2d3556;
}

#bottomDesc {
  font-size: 14px;
  color: #2c3559;
  text-align: center;
  font-weight: 400;
}

.yAxis .axis p {
  line-height: 25px;
}

.line-con {
      height: calc(100% - 39px);
  width: calc(100% - 50px);
  margin-left: auto;

  display: flex;
  flex-direction: column;
  -ms-flex-direction: column;

  justify-content: space-between;
  bottom: 12px;
    position: relative;
}

.line-con .line {
  width: 100%;
  border-top: 1px solid rgba(0, 0, 0, 0.2);

  margin-top: 12px;
  margin-bottom: 12px;
}

.xAxis {
  height: 30px;
  width: calc(100% - 50px);
  margin-left: auto;

  display: flex;
  display: -ms-flexbox;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.xAxis .day {
  text-align: center;
  width: 24px;

  font-size: 14px;
  color: #2c3559;
}

.bar-line {
  width: 24px;
  background: #8d7cf6;
  border-radius: 12px;
  height: 70px;
  position: relative;
  bottom: 1px;

  font-size: 14px;
  color: #2d3556;
  letter-spacing: 0;
}

.bar-line .inner {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 30px;

  background: #5fc9df;
  border-radius: 12px;
}

.graphContent {
  position: absolute;
  top: 0;
  width: calc(100% - 50px);
  height: calc(100% - 62px);
  padding-left: 50px;

  display: flex;

  align-items: flex-end;
  justify-content: space-between;
}

.max-day {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #2d3556;
    font-weight: 600;
    z-index: 11;
    width: 56px;
    height: 28px;
    position: absolute;
    right: -63px;
    top: -8px;
    padding-left: 22px;
}



.max-day:after {
    content: '';
    position: absolute;
    left: 10px;
    background-image: url(../../assets/img/max-groom.webp);
    width: 76px;
    height: 50px;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: -1;
    bottom: -13px;
}

.bar-con {
  background: linear-gradient(
    180deg,
    rgba(253, 253, 255, 0.3) 50%,
    rgba(195, 218, 241, 0.3) 172.54%
  );
  box-shadow: 0px 6px 30px rgba(204, 204, 204, 0.441761),
    inset 0px -3px 8px rgba(255, 255, 255, 0.818482), inset 0px -6px 15px #ffffff;
  backdrop-filter: blur(19.028px);
  /* Note: backdrop-filter has minimal browser support */

  border-radius: 14px;
  padding: 30px;
}
.bottom-legend {
  width: 100%;
  text-align: center;
}

#graphContent2 .bar-line {
  background: #c69af0;
}

/* Multi-language label base rules (for layouts without main.css) */
.bottom-nav .multi-lan {
  display: none;
}

.bottom-nav .multi-lan.active {
  display: inline;
}

/* ========================================
   Mobile Bottom Navigation Bar (CP-008-S01)
   ======================================== */
.bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    background-color: #1f094a;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-sizing: content-box;
  }

  .bottom-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 44px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }

  .bottom-nav__item--active {
    color: #ffffff;
  }

  .bottom-nav__item--active .bottom-nav__icon {
    color: #a78bfa;
  }

  .bottom-nav__icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
  }

  .bottom-nav__label {
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    font-family: 'Bungee', 'TmoneyRoundWindExtraBold', sans-serif;
  }

  .bottom-nav__lang-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font: inherit;
  }

  .bottom-nav__lang-label {
    font-size: 10px;
    letter-spacing: 0.5px;
  }

  html {
    overflow-x: hidden;
  }

  html body {
    padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
  }

  /* Fix: .m-bottom-logo img 가로 오버플로우 방지 (CP-008) */
  .m-bottom-logo img {
    max-width: 100%;
    width: auto;
  }
}

@media (max-width: 992px) {
  .mw-1520 {
    width: auto;
  }

  .mw-1370 {
    width: auto;
  }

  .mw-720 {
    width: auto;
  }

  .mw-660 {
    width: auto;
  }

  .m-mt10 {
    margin-top: -10px;
  }
}
