
.panel {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all var(--dur) ease
}

@media (max-width:1024px) {
  .panel {
    flex-direction: column
  }
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(19, 24, 32, 0.06);
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, 0.02)
}

.panel .left {
  flex: 1;
}

.panel .right {
  flex: 1;
  min-width: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start
}

.splitRow {
  display: flex;
  gap: 28px
}

.divider {
  width: 1px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.02));
  margin: 0 6px;
  border-radius: 6px
}

.monthRow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 10px;
}

.monthControls {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
  width: 100%;
}

.monthBtn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--gray);
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.monthBtn::before {
  content: "";
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
  filter: invert(1);
  /* 흰색 아이콘 반전해서 표시 */
}

/* 이전 달 버튼 */
#prevMonth::before {
  background-image: url(../images/icon/icon-prev.png);
}

/* 다음 달 버튼 */
#nextMonth::before {
  background-image: url(../images/icon/icon-next.png);
}

.monthTitle {
  font-weight: 800;
  font-size: 18px
}


.weekHead {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 10px
}

.weekHead div {
  padding: 6px 0
}

.grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px
}

.cell {
  min-height: 84px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fbfdff;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: all .5s;
  cursor: pointer;
  aspect-ratio: 1 / 1;
}

.cell.inactive {
  background: transparent;
  border: 0;
  color: #d7dee4;
  cursor: default;
  box-shadow: none
}

.cell .numRow {
  display: flex;
  justify-content: space-between;
  align-items: flex-start
}

.dayNum {
  font-weight: 800;
  font-size: 14px
}

.count {
  font-size: 12px;
  color: var(--muted)
}

.cell:hover {
  transform: translateY(-6px);
}

.cell.selected {
  transition: all .1s;
  outline: 3px solid var(--accent);
  border-color: #2fefb0
}

.smallSide {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  white-space: nowrap;
}

.rightHeader {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px
}

.rightHeader #selectedDateLabel {
  color: #6b6f73;
  margin: 10px 0;
}

.rightHeader #selectedDateTop {
  font-weight: 700;
  color: var(--success)
}

.rightHeader p {
  font-size: 13px;
  margin: 10px 0;
  color: var(--muted);
}

.rightHeader span {
  border: solid 1px blue;
}

.rightHeader .title {
  font-weight: 800;
  font-size: 16px
}

.rightHeader .dateGreen {
  color: var(--success);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px
}

.dateGreen i {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.slots {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px
}

.slotBox {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  border: 2px solid var(--border);
  transition: all var(--dur);
  background: linear-gradient(180deg, #fff, #fff);
  cursor: pointer;
}

.slotBox.selected {
  border-color: var(--accent);
  box-shadow: 0 8px 22px rgba(255, 31, 122, 0.06);
  background: linear-gradient(180deg, #fff, #fff);

}

.slotLeft {
  width: 46px;
  display: flex;
  align-items: center;
  justify-content: center
}

/* custom radio */
.radioWrap {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #ddd;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur)
}

.radioWrap.checked {
  border-color: var(--theme)
}

.radioDot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent
}

.radioWrap.checked .radioDot {
  background: var(--theme)
}

.slotContent {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px
}

.slotTop {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between
}

.slotName {
  font-weight: 800
}

.slotTime {
  color: var(--muted);
  font-size: 13px
}

.slotRight {
  width: 170px;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end
}

.slotMem {
  color: var(--muted);
  font-size: 13px
}

.slotPrice {
  font-weight: 700
}

.slotState {
  font-size: 13px
}

.slotState.ok {
  color: var(--success);
  font-weight: 700
}

.slotState.end {
  color: #bdbdbd;
  font-weight: 700
}

.slotBox.disabled {
  opacity: 0.45;
  pointer-events: none;
  filter: grayscale(0.02);
  cursor: pointer;
}

/* big button */
.reserveBtn {
  margin-top: 16px;
  width: 100%;
  padding: 16px;
  border-radius: 26px;
  background: linear-gradient(90deg, var(--accent), var(--theme));
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  border: 0;
  cursor: pointer;
  transition: all var(--dur);
  text-align: center;
  height: 50px;
}

.reserveBtn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: linear-gradient(90deg, #ffd3e6, #ffd7ea)
}

/* footer small buttons */
.footerBtns {
  display: flex;
  gap: 8px;
  margin-top: 14px
}

.ghostBtn {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer
}

@media (max-width:1024px) {
  .left {
    width: 100%;
  }

  .right {
    width: 100%;
  }

  .cell {
    min-height: 64px
  }
}

.info-section {
  padding: 28px 0;
}


.info-title {
  font-weight: 600;
  margin: 6px 0 18px 0;
  color: #222;
  padding-bottom: 20px;
  border-bottom: solid 1px black;
}


.info-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px 0;
}

.card-heading {
  font-size: 16px;
  font-weight: 800;
  margin: 6px 0 14px 0;
}


.divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.02));
  margin: 14px 0;
}


.info-list,
.note-list {
  margin: 0 0 12px 0;
  padding-left: 18px;
}

.info-list li {
  margin: 8px 0;
  line-height: 1.6;
  color: #333;
  font-size: 16px;
  position: relative;
  padding-left: 0;
}

.info-list .emphasize {
  color: #d83434;
  font-weight: 700;
}

.note-list {
  padding-left: 16px;
  counter-reset: note-counter;
}

.note-list li {
  margin: 10px 0;
  line-height: 1.6;
  font-size: 14px;
  color: #333;
  position: relative;
  padding-left: 28px;
}

.note-list li::before {
  counter-increment: note-counter;
  content: counter(note-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
}

.info-card .link {
  color: #1b7bff;
  text-decoration: none;
  font-weight: 700;
}

.info-card .link:hover {
  text-decoration: underline;
}

.subhead {
  font-size: 16px;
  font-weight: 800;
  margin: 8px 0 8px 0;
}


@media (max-width: 1024px) {
  .info-card {
    padding: 16px;
  }

  .info-title {
    font-size: 18px;
  }

  .card-heading {
    font-size: 15px;
  }

  .info-list li,
  .note-list li {
    font-size: 13px;
  }
}

.infoChk {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}

.infoChk .list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.infoChk .list>li {
  display: flex;
}


.infoChk .list>li .tit {
  transform: translateY(2px);
  color: #444;
  min-width: 100px;
  font-size: 16px;
}

.infoChk .list>li p {
  font-weight: 500;
}
