
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

* {
    font-family: 'Pretendard', sans-serif;
}
body {
    margin: 0;
    font-family: 'Pretendard', sans-serif;
    background-color: #fff;
    color: #000;
}

.container {
    padding: 20px;
}

.header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

#backBtn {
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

h1 {
    font-size: 20px;
    margin: 0;
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 16px 0;
    font-size: 16px;
    border: none;
    background-color: #fff;
    border-bottom: 1px solid #ededee;
    cursor: pointer;
    font-weight: 500;
    line-height: 24px;
    position: relative;
}

.accordion-body {
    display: none;
    padding: 16px 0 32px;
    border-bottom: 1px solid #ccc;
}

.accordion-body p {
    margin: 12px 0;
    line-height: 1.6;
    font-size: 14px;
}
.terms-content {
    line-height: 22px;
    font-size:14px;
    font-weight: 400;
}
.date-selector {
    margin-top: 16px;
}
.icon {
    display: inline-block;
    width:20px;
    height:20px;
  position: absolute;
  right:0;
  top: 50%;
  transform: translateY(-50%);
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4); /* 회색 반투명 */
  z-index: 999; /* 바텀시트보다 낮게 */
  display: none;
}
.date-trigger {
    display: inline-block;
    margin-top:16px;
    padding: 8px 26px 8px 10px;
    border:1px solid #000;
    font-size: 14px;
    font-weight: 500;
    border-radius: 20px;
    position: relative;
}
.date-trigger img {
    position: absolute;
    right:10px;
    top:50%;
    transform: translateY(-50%);
}

.bottom-sheet {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: #fff;
  border-radius: 30px 30px 0 0;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  transition: bottom 0.3s ease-in-out;
  z-index: 1000;
}

.bottom-sheet.active {
  bottom: 0;
}

.sheet-content {
  padding: 32px 0;
  position: relative;
}

.sheet-header {
  font-weight: bold;
  margin-bottom: 12px;
  text-align: center;
}

.date-options {
  list-style: none;
  padding: 0;
  margin: 0;
}

.date-options li {
  height:56px;
  line-height:56px;
  text-align: center;
  cursor: pointer;
  font-size:16px;
  font-weight: 400;
}

.date-options li.active {
    font-weight: 600;
    background-color: #F3F4F5;
}
.line {
    display: block;
    width:40px;
    height:4px;
    border-radius: 2px;
    background-color: #C9CACC;
    position:absolute;
    top:14px;
    left:50%;
    transform: translateX(-50%);
}

.accordion-body2 {
    display: block;
}

table { width: 100%; border-collapse: collapse; margin: 20px 0; }
th, td { width: calc(100% / 3); border: 1px solid black; padding: 8px; }
th { background: #f0f0f0; }
.accordion-item:last-child > .accordion-body {
	border-bottom:0;
}
	
