@charset "UTF-8";
.layout-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 120px auto 0;
  height: calc(100vh - 120px);
}
.layout-container:has(.side-bar) .workspace, .layout-container:has(.side-bar) .manual {
  width: calc(100vw - 230px);
}
@media screen and (max-width: 767px) {
  .layout-container {
    margin: 5.7rem auto 0;
  }
}
.layout-container > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.side-bar {
  flex: 1 0 auto;
  width: 23rem;
  height: 100%;
  overflow-y: auto;
  border-right: 1px solid #8F8F8F;
  padding: 1rem 0;
}
.side-bar::-webkit-scrollbar {
  display: none;
}
.side-bar__item.active .icon {
  transform: rotate(-180deg); /* 화살표 위로 회전 */
}
.side-bar__item.active .side-bar__sub-menu {
  max-height: 300px;
}
.side-bar__link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 2rem;
  height: 4rem;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02rem;
  color: #333333;
}
.side-bar__sub-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.side-bar__sub-link, .side-bar__sub-link-manual {
  display: block;
  height: 3rem;
  padding: 0 1rem 0 4rem;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 3rem;
  letter-spacing: -0.02rem;
  color: #707070;
}
.side-bar__sub-link.active, .side-bar__sub-link-manual.active {
  position: relative;
  background-color: #EFEFEF;
}
.side-bar__sub-link.active::before, .side-bar__sub-link-manual.active::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 100%;
  background-color: #B83333;
  position: absolute;
  left: 0;
}
.side-bar__sub-badge {
  background: #7D45B7;
  color: #FFFFFF;
  margin-left: 1rem;
  border: none;
}
@media screen and (max-width: 767px) {
  .side-bar {
    display: none;
  }
}

.workspace {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: calc(100dvh - 80px - 40px);
  padding: 20px 50px;
  transform-origin: 0 0;
  overflow-y: auto;
}
@media screen and (max-width: 767px) {
  .workspace {
    padding: 0;
    margin: 3rem;
    touch-action: none;
    min-width: 767px;
    width: 100%;
  }
}
.workspace__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.workspace__title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
}
.workspace__title-heading {
  text-wrap-mode: nowrap;
  font-size: 2.2rem;
  line-height: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #333333;
}
@media screen and (max-width: 767px) {
  .workspace__title-heading {
    font-size: 1.8rem;
  }
}
.workspace__title-description {
  font-size: 1.4rem;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #8F8F8F;
}
.workspace__title-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.workspace__utils {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 10px;
}
.workspace__help, .workspace__date {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
}
.workspace__actions {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: auto auto;
  margin-top: 10px;
  row-gap: 10px;
}
.workspace__actions > div {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}
.workspace__actions-left {
  grid-column: 1/2;
  justify-self: start;
}
.workspace__actions-bottom {
  grid-column: 2/3;
  grid-row: 2/3;
  justify-self: end;
}

.manual {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: calc(100dvh - 80px - 40px);
  padding: 10rem;
  transform-origin: 0 0;
  overflow-y: auto;
}
.manual__intro {
  margin-bottom: 4rem;
}
.manual__header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 2rem;
}
.manual__header .manual__title {
  font-size: 3.2rem;
  font-weight: 500;
  margin-right: 1rem;
}
.manual__header .manual__badge {
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 2px;
  padding: 0.2rem 0.7rem;
}
.manual__header .manual__badge--subscription {
  background-color: #7D45B7;
  color: #FFFFFF;
}
.manual__summary {
  font-size: 1.6rem;
  line-height: 2.4rem;
  font-weight: 500;
  color: #8F8F8F;
}
.manual__actions {
  margin-bottom: 6rem;
}
.manual__actions .btn {
  height: 4.6rem;
  padding: 1.2rem 3rem;
  font-weight: 600;
}
.manual__price {
  width: 60rem;
  border: 1px solid #D6D6D6;
  border-radius: 0.4rem;
  padding: 3.2rem;
  margin-bottom: 6rem;
}
.manual__price-info {
  margin-bottom: 2rem;
}
.manual__price-actions {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.manual__price-actions .btn {
  flex: 1;
  height: 4.6rem;
  padding: 1.2rem;
  font-weight: 600;
}
.manual__price-note {
  font-size: 1.3rem;
  font-weight: 500;
  color: #8F8F8F;
  line-height: 1.6;
}
.manual__details-tabs {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
}
.manual__details-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  border: 1px solid #8F8F8F;
  background: #8F8F8F;
  color: #FFFFFF;
  font-size: 1.4rem;
  font-weight: 600;
  padding: 0.4rem 1.2rem;
  border-radius: 2px 2px 0 0;
  cursor: pointer;
}
.manual__details-tab--active {
  background: #B83333;
}
.manual__details-tab:not(.manual__details-tab--active):hover {
  background-color: rgb(165.4, 165.4, 165.4);
}
.manual__details-content {
  width: 100%;
  border: 1px solid #8F8F8F;
}
.manual__details-panel {
  display: none;
}
.manual__details-panel--active {
  display: block;
}

.price-info__summary {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 0.4rem;
}
.price-info__label {
  font-size: 2.2rem;
  color: #333333;
}
.price-info__badge {
  display: inline-block;
  background: #707070;
  color: #FFFFFF;
  font-size: 1.2rem;
  border-radius: 2px;
  padding: 0.2rem 0.6rem;
  margin-left: 8px;
}
.price-info__discount {
  display: grid;
  grid-template-columns: 14rem auto;
  justify-items: start;
  column-gap: 0.6rem;
  align-items: end;
}
.price-info__amounts {
  display: grid;
  grid-template-rows: auto auto;
  row-gap: 4px;
}
.price-info__original {
  display: inline-block;
  font-size: 1.4rem;
  color: #999999;
  text-decoration: line-through;
}
.price-info__discounted {
  font-size: 2.8rem;
  font-weight: 700;
  color: #333333;
}
.price-info__rate {
  font-size: 2.8rem;
  font-weight: 700;
  color: #B83333;
}
