.main-container {
  position: relative;
  background: url("../img/main-new/bg_main_pattern.jpg");
  height: 100%;
  max-height: 49.125rem;
  min-height: 49.125rem;
  /* Grid 레이아웃 */
  display: grid;
  grid-template-columns: 214px 1fr; /* 왼쪽 사이드바 + 메인 */
  overflow: auto;
}

.main-container.is--open {
  overflow: hidden;
}

/* 사이드바 */
.sidebar {
  background-color: rgba(255, 255, 255, 0.6);
  padding: 22px 16px 18px;
  border-radius: 0 40px 0 0;
  backdrop-filter: blur(10px);
}

.sidebar .logo {
  width: 99px;
  margin: auto;
}

.sidebar__inner {
  margin-top: 50px;
}

.sidebar__section + .sidebar__section {
  position: relative;
  padding-top: 20px;
  margin-top: 10px;
}

.sidebar__section + .sidebar__section::before {
  content: "";
  position: absolute;
  top: 0;
  left: -16px;
  width: calc(100% + 32px);
  height: 1px;
  display: block;
  background-color: rgba(255, 255, 255, 0.3);
}

.sidebar__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 16px;
  line-height: 12px;
  color: #222222;
}

.sidebar .profile__box {
  text-align: center;
    cursor: pointer;
}

.sidebar .profile {
  position: relative;
  width: 72px;
  margin: auto;
}

.sidebar .profile-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
}

.sidebar .profile-badge {
  position: absolute;
  right: -15px;
  bottom: -6px;
  width: 36px;
  height: 36px;
}

.sidebar .profile__box .badge {
  margin-top: 16px;
}

.profile__box .badge {
  padding: 2px 6px;
  font-weight: 700;
  font-size: 12px;
  line-height: 17px;
  color: #ff6371;
  border: 1px solid #ff6371;
  border-radius: 9999px;
}

.userText-w .profile__box .badge {
  margin-bottom: 2px;
}

.sidebar .profile__box .nickname {
  margin-top: 4px;
  font-family: "NanumSquareRound";
  font-weight: 800;
  font-style: ExtraBold;
  font-size: 20px;
  line-height: 140%;
  color: #222222;
}

.sidebar .profile__box .today {
  margin-top: 4px;
  font-family: "NanumSquareRound";
  font-weight: 700;
  font-style: Bold;
  font-size: 14px;
  line-height: 140%;
  color: #888888;
}

.sidebar .profile__box .today span {
  color: #222222;
}

.sidebar .stats {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  text-align: center;
}

.sidebar .stats li {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding-bottom: 10px;
}

.sidebar .stats li + li {
  border-left: 1px solid rgba(0,0,0,0.03);
}

.sidebar .stats li:only-child {
  padding-bottom: 0;
}

.sidebar .stats li:only-child img {
  width: 40px;
  height: 40px;
}

.sidebar .stats li img {
  margin: auto;
  margin-bottom: 10px;
  width: 32px;
  height: 32px;
}

.sidebar .stats li strong {
  font-weight: 700;
  font-size: 12px;
  line-height: 100%;
  text-align: center;
  color: #666666;
  line-height: 1.4;
}

.sidebar .stats li span {
  font-family: "NanumSquareRound";
  font-weight: 700;
  font-style: Bold;
  font-size: 14px;
  line-height: 140%;
  text-align: center;
  color: #222222;
}

.sidebar__section .stats-container .card-wrapper {
  position: relative;
  margin-top: 18px;
  border-radius: 20px;
  background-color: #ff9aa3;
  border: 2px solid #FFAEB5;
  box-sizing: border-box;
}

.sidebar__section .stats-container .card-wrapper::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  position: absolute;
  left: 6px;
  top: 4px;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-image: url("../../_images/btn_light.png");
}

/* 카드 스타일 */
.sidebar__section .card {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  max-height: 38px;
  padding: 14px 12px 8px 18px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
}

.sidebar__section .card:last-child {
  padding: 8px 12px 14px 18px;
}

.sidebar__section .card .label {
  font-family: "NanumSquareRound";
  font-weight: 700;
  font-size: 14px;
  line-height: 12px;
}

.sidebar__section .card .value {
  font-family: "NanumSquareRound";
  font-weight: 700;
  font-size: 16px;
  line-height: 12px;
  text-align: right;
}

.sidebar__section .card .plus {
  margin-left: 4px;
  width: 16px;
  height: 16px;
  border: none;
  border-radius: 50%;
}

/* 리스트 스타일 */
.sidebar__section .stats-list {
  padding: 18px 12px 10px 12px;
}

.sidebar__section .stats-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 14px;
  line-height: 150%;
  color: #444;
}

.sidebar__section .stats-list li + li {
  margin-top: 16px;
}

.sidebar__section .stats-list li .text::before {
  content: "";
  margin-right: 6px;
  margin-top: -4px;
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: middle;
  background: url("../../_images/main-new/icon_stat_01.svg");
}

.sidebar__section .stats-list li .text.stat-02::before {
  background: url("../../_images/main-new/icon_stat_02.svg");
}

.sidebar__section .report-box {
  cursor: pointer;
  padding: 10px;
  margin-top: 14px;
  max-height: 58px;
  border-radius: 14px;
  background-color: #fff;
  text-align: center;
}

.sidebar__section .report-box span {
  font-family: "NanumSquareRound";
  font-weight: 700;
  font-size: 14px;
  line-height: 150%;
  text-align: center;
  color: #444;
}

.sidebar__section .report-box ul {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "NanumSquareRound";
  font-weight: 400;
  font-size: 12px;
  line-height: 150%;
  color: #888;
}

.sidebar__section .report-box ul li {
  vertical-align: middle;
}

.sidebar__section .report-box ul li + li::before {
  content: "";
  margin: 0 6px;
  display: inline-block;
  width: 1px;
  height: 10px;
  vertical-align: middle;
  background-color: rgba(136, 136, 136, 0.2);
}

/* 메인 */
.main {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.main-header {
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-header .nav__item {
  position: relative;
  padding: 7px 12px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  font-family: "NanumSquareRound";
  font-weight: 700;
  font-size: 16px;
  line-height: 140%;
  vertical-align: middle;
  color: #444;
}

.main-header .nav__item + .nav__item {
  margin-left: 10px;
}

.main-header .nav__item::before {
  content: "";
  width: 24px;
  height: 24px;
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
}

.main-header .nav__item.wrong-note::before {
  background: url("../../_images/main-new/icon_wrong_note.svg") no-repeat;
}

.main-header .nav__item.map::before {
  background: url("../../_images/main-new/icon_map.svg") no-repeat;
}

.main-header .menu {
  display: flex;
  align-items: center;
  gap: 12px;
}

.main-header .menu__item {
  padding-left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

.container {
  flex: 1;
  overflow: auto;
}

.container__inner {
  display: grid;
  grid-template-columns: 570px 260px 1fr;
  gap: 16px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
  grid-template-rows: 440px 188px;
}

.dashboard {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-around;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: -2px 0px 16px 0px rgba(0, 0, 0, 0.02);
  overflow: hidden;
}

.dashboard__left {
  padding: 24px;
  background-color: #FFFAFB;
  
}

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

.dashboard__top .progress-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "IBM Plex Sans KR", sans-serif;
  font-size: 14px;
  color: #333;
}

.dashboard__top .progress-title {
  flex-shrink: 0;
  font-family: "NanumSquareRound";
  font-weight: 800;
  font-size: 16px;
  line-height: 140%;
  text-align: center;
  color: #444444;
}

.dashboard__top .progress-bar {
  position: relative;
  flex: 1;
  height: 12px;
  width: 120px;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 99px;
  overflow: hidden;
}

.dashboard__top .progress-fill {
  height: 100%;
  background: repeating-linear-gradient(
    135deg,
    #ff6b6b,
    #ff6b6b 3px,
    #ff8787 3px,
    #ff8787 6px
  );

  border-radius: 6px 0 0 6px;
  transition: width 0.3s ease;
}

.dashboard__top .progress-value {
  flex-shrink: 0;
  font-family: "NanumSquareRound";
  font-weight: 700;
  font-size: 20px;
  line-height: 140%;
  text-align: center;
  color: #444444;
}

.dashboard__top .move-btn {
  width: 24px;
  height: 24px;
}

.dashboard__right {
  padding: 24px 20px;
  box-shadow: -2px 0px 16px 0px rgba(0, 0, 0, 0.02);
}

.dashboard-cards {
  display: flex;
  gap: 14px;
}

.dashboard-card {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 182px;
  height: 342px;
  border-radius: 20px;
  background: url("../img/main-new/bg_card_default.png") no-repeat center / contain;
}

.dashboard-card.active {
  width: 406px;
}

.dashboard-card.active .grade-badge {
  color: #fff;
  border-color: #fff;
}

.dashboard-card.today.active {
  position: relative;
  background: url("../img/main-new/bg_card_today.png") no-repeat center / contain;
}

.dashboard-card.prev.active {
  background: url("../img/main-new/bg_card_prev.png") no-repeat center / contain;
}

.dashboard-card.next.active {
  background: url("../img/main-new/bg_card_next.png") no-repeat center / contain;
}

.dashboard-card .card__top {
  padding: 10px 14px;
}

.dashboard-card .card__top .card__label {
  margin-right: 22px;
  font-family: "NanumSquareRound";
  font-weight: 800;
  font-size: 16px;
  line-height: 140%;
  text-align: center;
  color: #fff;
  vertical-align: middle;
}

.card__btn {
  padding: 20px;
}

.dashboard .card__btn a {
  border: none;
}

.dashboard .card__btn a img {
  display: none;
}

.dashboard-card.active .card__btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 208px;
  height: 48px;
  border-radius: 28px;
  background-color: #5a371e;
  color: #fff;
  border: 2px solid #785c48;
  font-family: "NanumSquareRound";
  font-weight: 800;
  font-size: 18px;
  line-height: 160%;
}

.dashboard-card.active .card__btn a::before {
  content: "";
  display: block;
  width: 11px;
  height: 12px;
  position: absolute;
  left: 8px;
  top: 6px;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-image: url('../../landscape/img/main-new/img_btn_primary.svg');
}

.dashboard .card__btn.icon-btn {
  overflow: hidden;
}

.dashboard .card__btn.icon-btn a {
  border-radius: 50%;
}

.dashboard .card__btn.icon-btn a {
  display: block;
  float: right;
  width: 48px;
  height: 48px;
}

.dashboard .card__btn.icon-btn a span {
  display: none;
}

.dashboard .card__btn.icon-btn a img {
  display: block;
}

.grade-badge {
  width: 66px;
  height: 26px;
  font-weight: 800;
  font-size: 14px;
  color: #5a371e;
  border: 1px solid#5A371E;
  border-radius: 30px;
  text-align: center;
  line-height: 27px;
}

.grade-badge.white {
  color: #fff;
  border: 1px solid#fff;
}

.dashboard-card .card__content {
  padding: 18px;
}

.dashboard-card .card__content span {
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  color: #444444;
}

.dashboard-card .card__content strong {
  margin-top: 14px;
  font-weight: 800;
  font-size: 20px;
  color: #222222;
}

.dashboard-card.active .card__content span,
.dashboard-card.active .card__content strong {
  color: #fff;
}

.dashboard .video-list {
  margin-top: 16px;
}

.dashboard .video-list li {
  width: 220px;
}

.dashboard .video-list li + li {
  margin-top: 16px;
}

.dashboard .video-list li .video-title {
  width: 100%;
  margin-top: 10px;
  font-family: "NanumSquareRound";
  font-weight: 800;
  font-size: 14px;
  line-height: 140%;
  color: #444444;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dashboard .video-list .video-thumbnail {
  position: relative;
  width: 100%;
  height: 132px;
  border-radius: 14px;
  overflow: hidden;
}

.dashboard .video-list .video-thumbnail .grade-badge {
  position: relative;
  margin: 10px;
  z-index: 2;
  background-color: #fff;
}

.dashboard .video-list .video-thumbnail::before {
  content: "";
	position: absolute;
	background-color: rgba(0, 0, 0, 0.1);
	width: 100%;
  height: 100%;
  z-index: 1;
}

.dashboard .video-list .video-thumbnail__item {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.dashboard .video-list .video-thumbnail  .video-thumbnail__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  z-index: 1;
}

.section {
  padding: 20px;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 2px 0px 16px 0px rgba(0, 0, 0, 0.02);
}

.section-title {
  font-family: "NanumSquareRound";
  font-weight: 800;
  font-size: 22px;
  line-height: 1.5;
  color: #222222;
}

.section-title span {
  font-family: "NanumSquareRound";
  font-weight: 700;
  font-size: 16px;
  line-height: 140%;
  vertical-align: middle;
  color: #444444;
}

.section-title span::before {
  content: "";
  margin: 0 10px;
  display: inline-block;
  vertical-align: middle;
  width: 1px;
  height: 16px;
  background-color: rgba(0, 0, 0, 0.1);
}

.section .study-group {
  margin-top: 15px;
  display: flex;
  gap: 12px;
}

.section .study-group__item {
  padding: 10px;
  width: 100%;
  border-radius: 999px;
  background-color: #fff9e3;
  border: 1px solid #ffeaad;
  font-family: "NanumSquareRound";
  font-weight: 800;
  font-size: 16px;
  line-height: 140%;
  text-align: center;
  color: #444;
}

.section .study-group__item::before {
  content: "";
  margin: 0 auto 5px;
  display: block;
  margin: auto;
  width: 46px;
  height: 46px;
}

.section .study-group__item.calculate::before {
  background: url("../../_images/main-new/icon_calculate.png") no-repeat center / contain;
}

.section .study-group__item.advance::before {
  background: url("../../_images/main-new/icon_advance.png") no-repeat center / contain;
}

.section .study-group__item.unit::before {
  background: url("../../_images/main-new/icon_unit.png") no-repeat center / contain;
}

.banner-section {
	position: relative;
}

.banner-section img {
	width: 100%;
  max-width: 100%;
}

.banner-section__item {
  border-radius: 20px;
  overflow: hidden;
}

.banner-section__nav {
	position: absolute;
	bottom: 16px;
	right: 16px;
  height: 22px;
	background-color: rgba(0, 0, 0, 0.2);
	border-radius: 99px;
	max-width: 55px;
	width: 100%;
	text-align: center;
}

.banner-section__page {
	font-size: 12px;
	font-weight: 700;
	color: #fff;
	line-height: 22px;
}

.notification {
  position: relative;
}

.notification__bubble {
  position: relative;
  padding: 0 10px;
  padding-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 224px;
  height: 80px;
  background: url("../../_images/main-new/img_notification_bubble.png")
    no-repeat;
  background-size: contain;
}

.notification__bubble.tutorial {
  display: none;
  z-index: 999;
}

.notification__txt {
  font-family: "NanumSquareRound";
  font-weight: 800;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: #333333;
}

.notification__txt span {
  color: #ff6371;
}

.notification__img {
  position: absolute;
  left: 0;
  bottom: 0;
}

.notification__bubble button {
  border: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.move-btn {
  width: 20px;
  height: 20px;
}

.move-btn img {
  width: 100%;
}

.curriculum-modal .moduleBtn-cont {
  margin-top: 30px;
}

.curriculum-modal .moduleBtn-cont .quizBtnType01 {
  width: 260px;
}

.no-hand {
  cursor: default;
}