:root {
  --primary-color: #573cfa;
  --sub1-color: #bfc3ff;
  --sub2-color: #ccfc06;
  --font-primary1: "NanumSquareNeoBold";
  --font-primary2: "NanumSquareNeoExtraBold";
  --font-primary3: "NanumSquareNeoHeavy";
  --font-point: "NPSfontRegular";
  --font-point2: "NPSfontBold";
}
/* 토스트팝업 */

.modal-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  z-index: 100;
}
.toast-con {
  position: fixed;
  bottom: 0;
  left: 0;
  background-color: #fff;
  border-radius: 20px 20px 0 0;
  padding: 20px;
  width: 100%;
}
.toast-con .handle {
  width: 45px;
  height: 7px;
  border-radius: 50px;
  background-color: #dbdcde;
  margin: 0 auto 15px;
}

/* 찜-저장, 폴더생성 */

.toast-con button {
  width: 100%;
  margin-top: 30px;
}

.new-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}
.new-head div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.new-head div em {
  background: url(../img/back.png) no-repeat center/cover;
  width: 22px;
  height: 36px;
}
.new-head div p {
  font-size: 16px;
  font-family: var(--font-primary2);
}
.new-head span {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-color);
}
.tst-head {
  position: relative;
}
.tst-head > div {
  text-align: center;
  font-size: 18px;
}
.tst-head > div p {
  font-weight: 700;
}
.tst-head em.cl-btn {
  background: url(../img/clo-btn.png) no-repeat center/cover;
  width: 17px;
  height: 17px;
  position: absolute;
  top: 0;
  right: 0;
}
.mid-tit {
  justify-content: center;
}

/* 알림모달 */

.modal-con {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  overflow: hidden;
}

/* 조회기간 설정 */

.tst-date {
  margin-top: 20px;
}
.date-btn {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.date-btn ul {
  display: flex;
  align-items: center;
  gap: 10px;
}
.date-btn ul li {
  flex: 1;
  text-align: center;
  padding: 11px 0;
  border-radius: 5px;
  border: 1px solid #eee;
  color: #666;
  font-size: 15px;
}
.date-btn ul li.on {
  border-color: var(--primary-color);
  color: var(--primary-color);
  font-weight: 600;
  background-color: #f6f5fe;
}
.cal-date {
  display: flex;
  align-items: center;
  gap: 5px;
}
.cal-date .input {
  display: flex;
  align-items: center;
  position: relative;
}
.cal-date .input span {
  background: url(../img/cal_img.png) no-repeat center/cover;
  width: 16px;
  height: 15px;
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
}

/* input[type="date"] 웹킷 캘린더 아이콘 커스터마이징 - flexbox로 정확한 레이아웃 제어 */
.cal-date .input input[type="date"] {
  flex: 1;
  padding-right: 30px;
}

.cal-date .input input[type="date"]::-webkit-calendar-picker-indicator {
  background: url(../img/cal_img.png) no-repeat center/cover;
  background-size: 16px 15px;
  width: 16px;
  height: 15px;
  cursor: pointer;
  opacity: 1;
  position: absolute;
  right: 8px; /* 오른쪽에서 8px 떨어진 위치 */
}

/* 또는 다른 이미지로 변경 */
/* .cal-date .input input[type="date"]::-webkit-calendar-picker-indicator {
    background: url(../img/cal-next.png) no-repeat center/cover;
    background-size: 16px 15px;
    width: 16px;
    height: 15px;
    cursor: pointer;
    opacity: 1;
} */

/* 또는 아이콘을 숨기고 커스텀 스타일 적용 */
/* .cal-date .input input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
} */

/* 방법 2: 아이콘을 숨기고 텍스트로 대체 */
/* .cal-date .input span {display: none;} */
/* .cal-date .input::after {content: "날짜"; position: absolute; top: 50%; right: 15px; transform: translateY(-50%); font-size: 12px; color: #666;} */

/* 방법 3: 다른 이미지로 변경 (예: cal-next.png 사용) */
/* .cal-date .input span {background: url(../img/cal-next.png) no-repeat center/cover; width: 16px; height: 15px;} */

/* 방법 4: 아이콘을 완전히 숨기기 */
/* .cal-date .input span {display: none;} */

/* 예약관리 */
.chk-cal-date label {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}
.time-set span {
  font-size: 14px;
  color: #888;
  margin-bottom: 10px;
}
.time-set ul {
  gap: 0;
  flex-wrap: wrap;
}
.time-set ul li {
  width: 20%;
  flex: none;
  border-radius: 0;
  font-size: 13px;
}
.time-set ul li.on {
  background-color: #cdc5fe;
  border-color: #eee;
  color: #222;
}
.time-set ul li.none {
  background: #f0f0f0;
  color: #bbb;
  border-color: #fff;
}

/* 토글 */

.opt-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}
.opt-toggle > p {
  font-size: 15px;
}
.toggle {
  width: 67px;
  height: 35px;
  border-radius: 50px;
  background-color: #d9d9d9;
  position: relative;
}
.toggle p,
.toggle span {
  position: absolute;
  font-size: 13px;
  color: #fff;
}
.toggle p {
  top: 50%;
  left: 7px;
  transform: translateY(-50%);
}
.toggle span {
  top: 50%;
  right: 7px;
  transform: translateY(-50%);
}
.toggle em {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 0px 5px rgba(109, 109, 109, 0.4);
  top: 50%;
  left: 3px;
  transform: translateY(-50%);
  position: absolute;
}
.toggle.on {
  background: var(--primary-color);
}
.toggle.on em {
  top: 50%;
  right: 3px;
  left: auto;
}

.de-modal-con {
  width: 80vw;
}
.de-mo-con p {
  text-align: center;
}
.mo-de-btn {
  margin-top: 20px;
}
.mo-de-btn button {
  flex: 1;
}
