@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: "LINE Seed Sans KR";
  src: url("https://db.onlinewebfonts.com/t/b54160268ce2bd762604d89f650daaff") format("truetype");
}

html {
  background: #E9EDF1;
}

body {
  max-width: 480px;
  margin: auto;
  position: relative;
  font-family: "LINE Seed Sans KR", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

header {
  height: 62px;
  display: flex;
  padding: 0px 20px;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  border-bottom: 1px solid #ebebeb;
  background: white;
  position: sticky;
  top: 0;
  z-index: 999;
}
header .header-logo {
  height: 24px;
}
header .header-button {
  display: flex;
  padding: 8px 12px;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  background: #FFCE30;
  border: none;
  font-size: 14px;
  font-weight: bold;
  color: #222;
  cursor: pointer;
}

.content-img {
  width: 100%;
  display: block;
}

.hero-section {
  height: 540px;
  background-image: url("../images/Hero-Section.png");
  display: flex;
  background-size: cover;
  padding: 36px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.text-desc {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex: 1 0 0;
  align-self: stretch;
}
.text-desc h2 {
  color: #FFF;
  text-align: center;
  font-size: 34px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%; /* 47.6px */
  letter-spacing: -0.204px;
}
.text-desc p {
  color: #FFF;
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 25.2px */
  letter-spacing: -0.108px;
}

.btn-group {
  gap: 12px;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.main-btn {
  width: 100%;
  display: flex;
  height: 52px;
  padding: 14px 20px;
  justify-content: center;
  align-items: center;
  gap: 4px;
  align-self: stretch;
  border-radius: 12px;
  background: #FFCE30;
  border: none;
  font-size: 18px;
  font-weight: bold;
  color: #222;
  cursor: pointer;
}

.main-btn:hover, .header-button:hover{
  background: #b89316;
}

.sub-btn {
  display: flex;
  gap: 8px;
}

.place-btn {
  display: flex;
  height: 40px;
  padding: 14px 8px;
  justify-content: center;
  align-items: center;
  gap: 4px;
  flex: 1 0 0;
  border-radius: 8px;
  background: #01D957;
  border: none;
  font-size: 15px;
  font-weight: bold;
  color: #222;
  cursor: pointer;
}

.place-btn:hover{
  background: #00973c;
}

.nc-btn {
  display: flex;
  height: 40px;
  padding: 14px 8px;
  justify-content: center;
  align-items: center;
  gap: 4px;
  flex: 1 0 0;
  border-radius: 8px;
  background: #C8200A;
  border: none;
  font-size: 15px;
  font-weight: bold;
  color: white;
  cursor: pointer;
}

.nc-btn:hover{
  background: #851608;
}

.db-section {
  padding: 60px 20px;
  background: #FFCE2F;
}

#applicationForm{
  padding: 28px 20px;
  background-color: white;
  border-radius: 16px;
}
#applicationForm .form-group{
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
#applicationForm .form-group input[type=text], #consultation-time  {
  display: flex;
  padding: 13px 12px;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  border: 1px solid #EEE;
  background: #FFF;
}
#applicationForm .checkbox-group {
  display: flex;
  align-items: center;
  align-content: center;
  gap: 6px;
  align-self: stretch;
  flex-wrap: wrap;
}
#applicationForm .checkbox-group label {
  display: flex;
  padding: 6px 8px;
  align-items: center;
  gap: 4px;
  border-radius: 6px;
  border: 1px solid #EEE;
  color: #A3A7AE;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 142.857% */
  letter-spacing: -0.6px;
}
#applicationForm .submit-btn {
  display: flex;
  padding: 12px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  align-self: stretch;
  width: 100%;
  border-radius: 12px;
  background: #FFCE30;
  border: 0;
  color: #222;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%; /* 25.2px */
}
#applicationForm .submit-btn:disabled {
  opacity: 0.5;
}
#applicationForm .form-agree {
  margin-bottom: 24px;
}
#applicationForm .form-agree label {
  display: flex;
  align-items: center;
  gap: 8px;
}

input[type=checkbox] {
  accent-color: #FFCE30;
  width: 16px;
  height: 16px;
  border: 2px solid #CCC;
  border-radius: 4px;
  background: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}
input[type=checkbox]:checked {
  background: #FFCE30;
  border: 2px solid #FFCE30;
}
input[type=checkbox]::before {
  transform: translate(-50%, -50%);
}

#applicationForm .checkbox-group label {
  font-size: 14px;
}

#applicationForm .checkbox-group label:has(input[type=checkbox]:checked) {
  border: 1px solid #FC0;
  background: #FFF9E1;
  color: #222;
}

.section-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  text-align: center;
  margin-bottom: 32px;
}
.section-title h3 {
  color: #1C1C20;
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%; /* 42px */
}
.section-title p {
  color: #1C1C20;
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 27px */
}

.data-view-btn {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}
.data-view-btn a img {
  width: 100%;
}

.floating-button {
  background-image: url('/assets/images/kakao.png');
  background-size: cover;
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  z-index: 99;
}

.custom-select {
  background-repeat: no-repeat;
  background-position: right 12px center; /* 화살표 위치를 기본보다 4px 오른쪽으로 이동 */
}

/* 상담 시간 선택 스타일 추가 */
#consultation-time {
  appearance: none; /* 모든 브라우저 기본 select 스타일 제거 */
  -webkit-appearance: none; /* Safari, Chrome */
  -moz-appearance: none; /* Firefox */
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%23999' d='M5 7l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}

@media (min-width: 480px) {
  .floating-button {
    right: max(24px, calc(50% - 216px)); 
  }
}
