@import url(//spoqa.github.io/spoqa-han-sans/css/SpoqaHanSansNeo.css);
@font-face {font-family: 'Pretendard-Regular';src: url('./fonts/Pretendard-Regular.woff') format('woff'); } 

@font-face {font-family: 'Pretendard-Medium';src: url('./fonts/Pretendard-Medium.woff') format('woff'); } 

@font-face {font-family: 'Pretendard-SemiBold';src: url('./fonts/Pretendard-SemiBold.woff') format('woff'); } 

@font-face {font-family: 'Pretendard-Bold';src: url('./fonts/Pretendard-Bold.woff') format('woff'); } 

@font-face {font-family: 'Pretendard-ExtraBold';src: url('./fonts/Pretendard-ExtraBold.woff') format('woff'); } 

@font-face {font-family: 'GangwonEduPower';src: url('./fonts/GangwonEduPower.woff') format('woff'); } 

@import url(//spoqa.github.io/spoqa-han-sans/css/SpoqaHanSansNeo.css);

* { 
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Spoqa Han Sans Neo';
  letter-spacing: -1px; 
} 

html { 
  height: 100vh; 
  height: calc(var(--vh, 1vh) * 100); 
} 

body { 
  height: 100%; 
} 

ul,
li {
  list-style: none; 
} 

a { 
  text-decoration: none; 
} 

#popup02{
  display: none;
} 
#popup02::-webkit-scrollbar{
  display: none;
} 

#popup02 {
  width: 375px;
  height: auto;
  position: absolute;
  top: calc(50% - 145px);
  left: calc(50% - 215.5px);
  background-color: #fff;
  z-index: 10;
  border-radius: 20px !important;
  /* overflow-y: scroll; */
}

#popup02 .close {
  display: flex;
  justify-content: flex-end;
  padding: 0; 
  position: absolute; 
  right: -56px; 
}
#popup02  .close .closeImg {
  width: 32px;
  height: 32px;
  /* padding: 5px; */
  cursor: pointer; 
}

@media (max-width: 768px){
  #popup02 {
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 0 !important; 
    /* overflow-y: scroll; */
  }
}

.hidearea{
  overflow: hidden;
}
.simple-content-box .topNavigation {
  padding: 11px 0;
  margin: 16px 0;
  position: relative;
}
.backBtn{
  display: none;
  position: absolute;
  top: 11px;
  left: 16px;
  width: 22px;
  height: 24px;
  cursor: pointer;
}
.arrow-left{
  width: 22px;
  height: 22px;
}
.pageName {
  font-family: 'Spoqa Han Sans Neo';
  font-weight: 700;
  font-size: 16px;
  line-height: 26px;
  text-align: center;
  color: #444;
}
.closeBtn{
  display: none;
  position: absolute;
  top: 11px;
  right: 16px;
  width: 30px;
  height: 30px;
  cursor: pointer;
}
@media (max-width: 768px){
  .closeBtn{
    display: block;
  }
}
/* step1 간편견적 */

/* .simple-step1 {
} */

.bigTitle {
  font-family: 'Spoqa Han Sans Neo';
  font-weight: 700;
  font-size: 24px;
  line-height: 36px;
  color: #444;
  margin-bottom: 32px;
  padding: 0 16px;
}
.serviceTypeArea {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
}
.type1, .type2 {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 24px;
}
.type1 {
  border-bottom: 1px solid #ddd;
  margin-bottom: 24px;
}
.serviceTypeImg {
  width: 114px;
  height: 68px;
  margin-bottom: 12px;
}
.serviceTypeTitle {
  font-family: 'Spoqa Han Sans Neo';
  font-weight: 700;
  font-size: 18px;
  line-height: 26px;
  color: #444;
  margin-bottom: 6px;
  text-align: center;
}
.serviceTypeDescription {
  font-family: 'Spoqa Han Sans Neo';
  font-size: 14px;
  line-height: 22px;
  color: #666;
  text-align: center;
}
.bottomNotiArea {
  background-color: #F7F8FB;
  padding: 20px 16px 24px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}
.bottomNotiTextArea{
  display: flex;
  margin-bottom: 20px;
}
.bottomNotiStar {
  font-family: 'Spoqa Han Sans Neo';
  font-size: 12px;
  line-height: 20px;
  color: #888;
  margin-right: 4px;
}
.bottomNotiText {
  font-family: 'Spoqa Han Sans Neo';
  font-size: 12px;
  line-height: 20px;
  color: #888;
}
.startButton {
  width: 100%;
  background-color: #4c7eff;
  border-radius: 12px;
  border: none;
  padding: 15px 0;
  cursor: pointer;
}
.startText {
  font-weight: 700;
  font-size: 16px;
  line-height: 26px;
  color: #fff;
  text-align: center;
}

/* step2 서비스 예정 일시 */
.simple-step2{
  display: none;
  position: relative;
}
.paddingContainer{
  padding: 0 16px;
}
.notiArea {
  display: flex;
  align-items: flex-start;
  background-color: #f3f5fa;
  padding: 14px;
  border-radius: 16px;
  margin-bottom: 22px;
}
.notiIcon {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  margin-top: 2px;
}
.notiText {
  font-size: 12px;
  line-height: 20px;
  color: #888;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.currentMonthArea {
  display: flex;
  align-items: center;
}
.currentMonthArea img {
  cursor: pointer;
}

.currentMonthText {
  font-weight: 700;
  font-size: 22px;
  line-height: 32px;
  color: #222;
  padding: 0 10px;
}
.handlessArea{
  display: flex;
}
.handlessDot{
  display: block;
  width: 4px;
  height: 4px;
  background-color: #FF9900;
  border-radius: 2px;
  margin-right: 4px;
}
.handlessText{
  font-size: 12px;
  color: #888;
}
.calendar {
  width: 100%;
}
.calendar .weeks {
  border-bottom: 1px solid #e6e6e6;
  padding-bottom: 10px;
  margin-bottom: 4px;
}
.calendar .days {
  margin-bottom: 32px;
}
.calendar ul {
  display: flex;
  list-style: none;
  flex-wrap: wrap;
  text-align: center;
}
.calendar ul li {
  position: relative;
  width: calc(100% / 7);
}
.calendar .weeks li{
  font-weight: 500;
  font-size: 14px;
  line-height: 22px;
  color: #666;
  /* line-height: 52px; */
}
.calendar .days li {
  cursor: pointer;
  font-size: 16px;
  line-height: 52px;
  color: #666;
  z-index: 1;
  border: 1px solid transparent;
}
.calendar .days li:nth-child(1), 
.calendar .days li:nth-child(8), 
.calendar .days li:nth-child(15), 
.calendar .days li:nth-child(22), 
.calendar .days li:nth-child(29),
.calendar .days li:nth-child(36){
  color: #E80E00;
}
.calendar .days li:nth-child(7), 
.calendar .days li:nth-child(14), 
.calendar .days li:nth-child(21), 
.calendar .days li:nth-child(28),
.calendar .days li:nth-child(35){
  color: #4C7EFF;
}
.days li.inactive {
  color: transparent !important;
}
.days li.disable {
  color: #ccc !important;
}
.days li.before {
  color: #ccc !important;
}
.days li.today {
  font-weight: 700;
}
.calendar .days li::before{
  position: absolute;
  content: '';
  width: 46px;
  height: 46px;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}
.calendar .days li.select::before {
  background-color: #f2f7ff;
  border: 1px solid #4c7eff;
}
.popupDividingLine {
  width: 100%;
  height: 8px;
  background-color: #f7f8fb;
  border-top: 1px solid #f1f2f4;
  margin-bottom: 24px;
}
.serviceTimeArea {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.serviceTimeTitle{
  font-weight: 700;
  font-size: 18px;
  line-height: 28px;
  color: #444;
}
.negotiableArea{
  display: flex;
  align-items: center;
}
.negotiableArea #negotiableCheck {
  display: none;
}
.negotiableArea label{
  display: block;
  width: 18px;
  height: 18px;
  margin-right: 4px;
  cursor: pointer;
}
#negotiableCheck+label{ 
  width: 18px;
  height: 18px;
  background-repeat: no-repeat;
  background-image: url('./images/negotiable-default.png');
  background-position: 50%;
  background-size: cover;
}
/* on */
#negotiableCheck:checked+label{
  width: 18px;
  height: 18px;
  background-repeat: no-repeat;
  background-image: url('./images/negotiable-checked.png');
}
.negotiableText{
  font-size: 14px;
  line-height: 20px;
  color: #666;
}
.serviceTimeSelectArea{
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #ccc;
  padding: 16px;
  border-radius: 10px;
  margin-bottom: 32px;
  cursor: pointer;
}
.timeSelectText{
  font-size: 14px;
  color: #888;
}
.nextButton {
  width: 100%;
  background-color: #4c7eff;
  border-radius: 12px;
  border: none;
  padding: 15px 0;
  cursor: pointer;
  margin-bottom: 24px;
}
.nextText {
  font-weight: 700;
  font-size: 16px;
  line-height: 26px;
  color: #fff;
  text-align: center;
}

#actionSheet {
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 9;
  border-radius: 20px;
  transition: 0.5s;

  /* 서서히 나타나는 효과 */
  visibility: hidden;
  opacity: 0;
}


#actionSheet.active {
  /* 서서히 나타나는 효과 */
  visibility: visible;
  opacity: 1;
}

.action-options {
  background-color: #fff;
  border-radius: 24px;
  /* 세로 컨텐츠가 늘어나는 경우 스크롤이 생기도록 설정 */
  overflow: auto;

  max-height: 378px;
  /* 아래에서 위로 나타나는 효과, max-height과 동일하게 작성 */
  position: relative;
  bottom: -378px;

  transition: 0.5s;
}
@media  (max-width: 768px) {
  #actionSheet {
    border-radius: 0;
  }
  .action-options {
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
}
.action-options::-webkit-scrollbar{
  display: none;
} 
#actionSheet.active .action-options {
  /* 아래에서 위로 나타나는 효과, max-height과 동일하게 작성 */
  bottom: 0;
}

.option {
  /* padding: 15px; */
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.option.close {
  text-align: center;
}

.time-picker {
  width: 100%;
  background-color: white;
  padding: 0 16px;
}

.picker-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 22px;
  padding-top: 24px;
}

.picker-header .title {
  font-size: 18px;
  line-height: 28px;
  color: #222;
  font-weight: 700;
  /* margin: 0; */
}
.closeBtnArea{
  position: absolute;
  top: 4px;
  right: 16px;
  padding-top: 24px;
  width: 20px;
  height: 20px;
  
}
.close-btn {
  width: 20px;
  height: 20px;
}

.scroll-area{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ampm-scroll-area{
  position: relative;
}
.scroll-area p{
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
  color: #666;
  text-align: center;
}
.ampm-scroll,
.hour-scroll,
.minute-scroll{
  display: grid;
  place-content: center;
  place-items: center;
  /* row-gap: 30px; */
  margin: 0;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
}
.ampm-scroll-container,
.hour-scroll-container,
.minute-scroll-container {
  /* border: 1px solid red; */
  /* sizing and layout */
  --itemHeight: 60px;
  --itemGap: 10px;
  --containerHeight: calc((var(--itemHeight) * 3) + (var(--itemGap) * 2));
  /* width: '100%';  */
  /* width: 400px; */
  width: 100px;
  height: var(--containerHeight);
  display: flex; 
  flex-direction: column;
  align-items: center;
  row-gap: var(--itemGap);
  /* scrolling */
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  overscroll-behavior-y: none; 
  /* paint */
  --topBit: calc((var(--containerHeight) - var(--itemHeight))/2);
  --footBit: calc((var(--containerHeight) + var(--itemHeight))/2);
  
  /* background-color: transparent; */
    mask-image: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0) 0%,  rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
  }
  .ampm-scroll-container::-webkit-scrollbar,
  .hour-scroll-container::-webkit-scrollbar,
  .minute-scroll-container::-webkit-scrollbar{
    display: none;
  } 
  /* items inside scroll container */
  .ampm-scroll-items,
  .hour-scroll-items,
  .minute-scroll-items{
  /* sizing and layout */
    /* width: 90%; */
    flex: 0 0 var(--itemHeight);
    box-sizing: border-box;
    /* padding-inline: 20px; */
    /* border-radius: inherit; */

  /* paint and font */
    /* background: linear-gradient(to right, rgb(242 194 66), rgb(235 122 51)); */
    /* box-shadow: 0 0 4px rgb(235 122 51); */
    font: 20px/var(--itemHeight) 'Spoqa Han Sans Neo';
    color: #aaa;
    font-weight: 400;
    scroll-snap-align: center;
    pointer-events: none;
  }
  .ampm-scroll-area .center-border{
    height: 60px;
    border-top: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
    /* position: absolute;
    top: 0;
    left: 0; */
    /* background-color: red; */
    /* z-index: ; */
  }
  .ampm-scroll-items:first-of-type,
  .hour-scroll-items:first-of-type,
  .minute-scroll-items:first-of-type{
    margin-block-start: var(--topBit); 
  }
  .ampm-scroll-items:last-of-type,
  .hour-scroll-items:last-of-type,
  .minute-scroll-items:last-of-type{
    margin-block-end: var(--topBit); 
  }  
  .ampm-scroll-container input,
  .hour-scroll-container input,
  .minute-scroll-container input{ 
    appearance: none;
  } 
  /* .ampm-scroll-container span,
  .hour-scroll-container span,
  .minute-scroll-container span{
    float: right; 
  } */
    
  .ampm-scroll-items:has(:checked),
  .hour-scroll-items:has(:checked),
  .minute-scroll-items:has(:checked){
    color: #4C7EFF;
    font-weight: 500;
  }
  .confirm-btn {
    width: 100%;
    padding: 15px;
    background-color: #4C7EFF;
    color: white;
    border: none;
    border-radius: 12px;
    
    margin-bottom: 30px;
    cursor: pointer;
  }
  .confirm-btn span{
    font-size: 16px;
    line-height: 26px;
    color: #fff;
    font-weight: 700;
  }
  
/* step3 & step4 출/도착지 정보 */
.simple-step3, .simple-step4{
  display: none;
}
.daparture-addressArea, .arrival-addressArea{
  border-bottom: 2px solid #666;
  margin: 0 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
}
.daparture-addressArea input,
.arrival-addressArea input{
  width: 100%;
  margin-right: 8px;
  font-size: 16px;
  line-height: 26px;
  color: #444;
  border: none;
}
.daparture-addressArea input::placeholder,
.arrival-addressArea input::placeholder{
  color: #888;
}

.addressTypeArea{
  padding-left: 16px;
}
.addressTitle{
  font-size: 16px;
  line-height: 26px;
  font-weight: 700;
  color: #444;
}
.departure-space-scroll-container{
  overflow-x: hidden;
  margin-top: 8px;
}
#departure-spaceArea {
  display: flex;
  column-gap: 8px;
  margin-bottom: 24px;
}
#departure-spaceArea [type="radio"] {
  vertical-align: middle;
  appearance: none;
  display: none;
}
#departure-spaceArea .space-text{
  width: auto;
  border: 1px solid #ccc;
  display: block;
  padding: 12px 25px;
  border-radius: 10px;
  font-weight: 400;
  font-size: 14px;
  color: #666;
  white-space: nowrap;
}
#departure-spaceArea .space10{
  margin-right: 16px;
}
#departure-spaceArea [type="radio"]:checked + span {
  border: 1px solid #4C7EFF;
  color: #4c7eff;
  font-weight: 500;
}

.departure-floor-scroll-container,
.arrival-floor-scroll-container{
  overflow-x: hidden;
  margin-top: 8px;
}
#departure-floorArea, #arrival-floorArea {
  display: flex;
  column-gap: 8px;
  margin-bottom: 24px;
}
#departure-floorArea [type="radio"], 
#arrival-floorArea [type="radio"] {
  vertical-align: middle;
  appearance: none;
  display: none;
}
#departure-floorArea .floor-text,
#arrival-floorArea .floor-text{
  width: auto;
  border: 1px solid #ccc;
  display: block;
  padding: 12px 25px;
  border-radius: 10px;
  font-weight: 400;
  font-size: 14px;
  color: #666;
  white-space: nowrap;
}
#departure-floorArea .departure-floor25,
#arrival-floorArea .arrival-floor25{
  margin-right: 16px;
}
#departure-floorArea [type="radio"]:checked + span,
#arrival-floorArea [type="radio"]:checked + span {
  border: 1px solid #4C7EFF;
  color: #4c7eff;
  font-weight: 500;
}

/* 사다리차 */
.tooltipTitleArea {
  display: flex;
  align-items: center;
}
.tooltipIcon {
  width: 20px;
  height: 20px;
  margin-left: 6px;
}
.radio-background{
  border: 1px solid #e6e6e6;
  background-color: #f6f6f6;
  border-radius: 10px;
  display: flex;
  align-items: center;
  margin-top: 8px;
  margin-bottom: 12px;
}
.radio-background [type="radio"] {
  vertical-align: middle;
  appearance: none;
  display: none;
}
.radio-background label{
  /* border:1px solid red; */
  width: 100%;
  display: flex;
  justify-content: center;
}
.radio-background .departure-border,
.radio-background .arrival-border{
  border-right: 1px solid #e6e6e6;
}
.radio-background span{
  width: 100%;
  height: 100%;
  border: 1px solid #f6f6f6;
  display: inline-block;
  padding: 12px 25px;
  border-radius: 10px;
  font-size: 14px;
  color: #888;
  white-space: nowrap;
  text-align: center;
}
.radio-background [type="radio"]:checked + span {
  border: 1px solid #4C7EFF;
  color: #4c7eff;
  font-weight: 500;
  background-color: #fff;
}
.departure-cautionArea,
.arrival-cautionArea{
  background-color: #FFF2EB; 
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 8px;
  visibility: hidden;
}
.cautionIcon {
  width: 16px;
  height: 16px;
  margin-right: 6px;
}
.cautionText {
  font-size: 12px;
  line-height: 20px;
  color: #fc451d;
}