@charset "UTF-8";

/* ==========================================================================
   Apply Page (item_apply) Styles (Figma 1:596 & 1:776 1:1 Scale)
   ========================================================================== */

.apply-container {
  width: 84rem;
  max-width: 100%;
  margin: 0 auto;
  padding: 8.0rem 6.0rem 4.0rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.apply-title {
  font-family: var(--font-gmarket);
  font-weight: 700;
  font-size: 4.4rem;
  color: var(--color-white);
  text-align: center;
  margin-bottom: 4.0rem;
  letter-spacing: -0.02em;
}

#applyForm {
  width: 72.0rem;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Form Group */
.form-group-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 3.0rem;
  margin-bottom: 6.0rem;
}

.input-box {
  width: 100%;
}

.input-box input {
  width: 100%;
  height: 9.0rem;
  background: var(--color-white);
  border: 0.1rem solid rgba(161, 161, 161, 0.5);
  border-radius: 1.4rem;
  padding: 0 3.0rem;
  font-family: var(--font-pretendard);
  font-size: 3.3rem;
  font-weight: 300;
  color: #101010;
  outline: none;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-box input::placeholder {
  color: #888888;
  font-weight: 200;
}

.input-box input:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 0.4rem rgba(0, 132, 255, 0.25);
}

.input-sub-notice {
  font-family: var(--font-pretendard);
  font-size: 2.6rem;
  font-weight: 200;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 1.5rem;
  text-align: center;
  line-height: 1.4;
  letter-spacing: -0.03em;
}

/* Course Selection */
.course-section {
  width: 100%;
  text-align: center;
  margin-bottom: 6.0rem;
}

.section-sub-title {
  font-family: var(--font-gmarket);
  font-weight: 700;
  font-size: 4.4rem;
  color: var(--color-white);
  margin-bottom: 3.0rem;
  letter-spacing: -0.02em;
}

.course-buttons {
  display: flex;
  justify-content: center;
  gap: 5.9rem;
}

.course-btn {
  width: 28.3rem;
  height: 8.8rem;
  background: var(--color-white);
  border: 0.2rem solid #A1A1A1;
  border-radius: 2.0rem;
  color: rgba(120, 120, 120, 0.7);
  font-family: var(--font-gmarket);
  font-weight: 500;
  font-size: 3.0rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.course-btn.active {
  background: var(--color-blue);
  border-color: var(--color-blue);
  color: var(--color-white);
  font-weight: 700;
  box-shadow: 0 0.6rem 2.0rem rgba(0, 132, 255, 0.4);
}

/* Agreement Section */
.agreement-section {
  width: 100%;
  margin-bottom: 6.0rem;
}

.agreement-box {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  padding-top: 2.0rem;
}

.agree-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.agree-check-wrap {
  display: flex;
  align-items: center;
  gap: 2.0rem;
  flex: 1;
}

.custom-checkbox {
  width: 4.2rem;
  height: 4.2rem;
  border: 0.1rem solid var(--color-gray-line);
  border-radius: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  background: transparent;
}

.custom-checkbox.check-all-box {
  border-width: 0.2rem;
  border-color: var(--color-white);
}

.custom-checkbox.checked {
  background: var(--color-blue);
  border-color: var(--color-blue);
}

.custom-checkbox svg {
  width: 2.4rem;
  height: 2.4rem;
  fill: none;
  stroke: var(--color-white);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: none;
}

.custom-checkbox.checked svg {
  display: block;
}

.agree-all-row {
  padding-bottom: 3.0rem;
  border-bottom: 0.1rem solid var(--color-gray-line);
}

.agree-all-row .agree-text {
  font-family: var(--font-pretendard);
  font-weight: 500;
  font-size: 3.3rem;
  color: var(--color-white);
}

.agree-text {
  font-family: var(--font-pretendard);
  font-weight: 200;
  font-size: 2.8rem;
  line-height: 3.7rem;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.agree-text .tag-req,
.agree-text .tag-opt {
  font-weight: 400;
}

.btn-view-terms {
  padding: 1.0rem;
  color: var(--color-white);
  font-size: 2.4rem;
  display: flex;
  align-items: center;
}

/* Submit Action Button */
.submit-btn {
  width: 72.0rem;
  max-width: 100%;
  height: 9.8rem;
  background: linear-gradient(0deg, #0084FF 0%, #3EA2FF 100%);
  border-radius: 2.0rem;
  color: var(--color-white);
  font-family: var(--font-gmarket);
  font-weight: 700;
  font-size: 3.5rem;
  line-height: 3.7rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0.8rem 2.4rem rgba(0, 132, 255, 0.4);
  transition: transform 0.2s ease, filter 0.2s ease;
  margin-bottom: 4.0rem;
}

.submit-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-0.2rem);
}

/* ==========================================================================
   Completion Modal (Figma 1:776 1:1 Scale)
   ========================================================================== */
.complete-modal-card {
  width: 76.0rem;
  max-width: 100%;
  background: #101010;
  border: 0.1rem solid rgba(255, 255, 255, 0.2);
  border-radius: 2.0rem;
  padding: 5.0rem 4.0rem 4.0rem;
  text-align: center;
  color: var(--color-white);
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.9);
}

.complete-title {
  font-family: var(--font-gmarket);
  font-weight: 700;
  font-size: 4.4rem;
  line-height: 4.0rem;
  color: var(--color-white);
  margin-bottom: 4.0rem;
  letter-spacing: -0.02em;
}

.complete-desc {
  font-family: var(--font-gmarket);
  font-weight: 300;
  font-size: 3.8rem;
  line-height: 5.3rem;
  color: var(--color-white);
  letter-spacing: -0.03em;
  margin-bottom: 4.0rem;
}

.complete-desc p {
  margin-bottom: 2.0rem;
}

/* 완료팝업 프로모 박스 (Figma #130:91 — bg rgba(0,132,255,0.3), border #0084FF, radius 40px) */
.complete-promo-box {
  width: 100%;
  background: rgba(0, 132, 255, 0.3);
  border: 0.2rem solid #0084FF;
  border-radius: 4.0rem;
  padding: 5.0rem 2.8rem 6.9rem;
  margin-bottom: 3.0rem;
  display: flex;
  flex-direction: column;
  gap: 2.0rem;
}

.promo-main {
  font-family: var(--font-gmarket);
  font-weight: 500;
  font-size: 3.8rem;
  line-height: 6.0rem;
  color: var(--color-white);
  letter-spacing: -0.03em;
  text-align: center;
}

.promo-main .promo-hl {
  font-weight: 700;
  color: #0084FF;
}

.promo-sub {
  font-family: var(--font-pretendard);
  font-weight: 600;
  font-size: 3.0rem;
  line-height: 5.2rem;
  color: #D5D5D5;
  letter-spacing: -0.02em;
  text-align: center;
}

.complete-marketing-box {
  width: 100%;
  margin-bottom: 4.6rem;
  text-align: left;
}

.complete-marketing-box p {
  font-family: var(--font-pretendard);
  font-weight: 600;
  font-size: 2.7rem;
  line-height: 5.2rem;
  color: var(--color-white);
  letter-spacing: -0.06em;
  text-align: center;
  margin-bottom: 1.5rem;
}

.modal-agree-row {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.modal-confirm-btn {
  width: 100%;
  height: 9.8rem;
  background: linear-gradient(0deg, #0084FF 0%, #3EA2FF 100%);
  border-radius: 2.0rem;
  color: var(--color-white);
  font-family: var(--font-gmarket);
  font-weight: 700;
  font-size: 3.5rem;
  line-height: 3.7rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.modal-confirm-btn:hover {
  filter: brightness(1.1);
}

/* ==========================================================================
   Alert Modal (Figma 1:761, 1:766)
   ========================================================================== */
.modal-card {
  width: 76.0rem;
  max-width: 100%;
  background: #101010;
  border: 0.1rem solid rgba(255, 255, 255, 0.2);
  border-radius: 2.0rem;
  padding: 5.0rem 4.0rem 4.0rem;
  text-align: center;
}

.modal-title {
  font-family: var(--font-gmarket);
  font-weight: 700;
  font-size: 4.0rem;
  color: var(--color-white);
  margin-bottom: 2.5rem;
}

.modal-desc {
  font-family: var(--font-gmarket);
  font-weight: 500;
  font-size: 3.3rem;
  line-height: 5.2rem;
  color: var(--color-white);
  letter-spacing: -0.02em;
  margin-bottom: 4.0rem;
}

/* ==========================================================================
   Terms Modal (Figma 1:717)
   ========================================================================== */
.terms-modal-card {
  position: relative;
  width: 84.0rem;
  max-width: 100%;
  max-height: 90vh;
  background: #FFFFFF;
  color: #000000;
  border-radius: 2.4rem;
  padding: 4.5rem 2.0rem 5.0rem;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  box-shadow: 0 1rem 4rem rgba(0, 0, 0, 0.5);
}

.terms-close {
  position: absolute;
  top: 3.0rem;
  right: 2.5rem;
  width: 5.0rem;
  height: 5.0rem;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  padding: 0;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.terms-close:hover {
  opacity: 0.7;
  transform: scale(1.05);
}

.terms-close svg {
  width: 3.6rem;
  height: 3.6rem;
}

.terms-title {
  font-family: var(--font-pretendard);
  font-weight: 700;
  font-size: 3.2rem;
  line-height: 4.0rem;
  color: #000000;
  text-align: center;
  margin: 1.0rem 0 3.5rem;
  letter-spacing: -0.02em;
}

.terms-content {
  flex: 1;
  overflow-y: auto;
  padding: 0 0.5rem 1.0rem;
  font-family: var(--font-pretendard);
  color: #000000;
  -webkit-overflow-scrolling: touch;
}

/* Custom scrollbar for terms content */
.terms-content::-webkit-scrollbar {
  width: 0.6rem;
}

.terms-content::-webkit-scrollbar-thumb {
  background: #C0C0C0;
  border-radius: 0.3rem;
}

/* 팝업 내부 구성 */
.terms-popup-body {
  display: flex;
  flex-direction: column;
  gap: 3.6rem;
}

.terms-intro-box {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.terms-intro-box .intro-title {
  font-family: var(--font-pretendard);
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1.45;
  color: #000000;
  letter-spacing: -0.02em;
}

.terms-intro-box .intro-desc {
  font-family: var(--font-pretendard);
  font-weight: 400;
  font-size: 2.4rem;
  line-height: 1.5;
  color: #000000;
  letter-spacing: -0.02em;
}

/* 표 스타일 (피그마 1:723, 1:745) */
.terms-table {
  width: 100%;
  border-collapse: collapse;
  border: 0.1rem solid #000000;
  table-layout: fixed;
  background: #FFFFFF;
}

.terms-table th,
.terms-table td {
  border: 0.1rem solid #000000;
  font-family: var(--font-pretendard);
  font-size: 2.4rem;
  line-height: 1.4;
  color: #000000;
  letter-spacing: -0.02em;
  box-sizing: border-box;
}

.terms-table thead th {
  background-color: #D9D9D9;
  font-weight: 500;
  height: 5.6rem;
  text-align: center;
  vertical-align: middle;
  padding: 0.8rem 0.5rem;
}

.terms-table tbody td {
  font-weight: 400;
  padding: 2.0rem 1.6rem;
  vertical-align: middle;
  text-align: left;
  word-break: keep-all;
}

.terms-table tbody td.align-center {
  text-align: center;
}

/* 유의사항 안내 문구 */
.terms-notice-box {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-family: var(--font-pretendard);
  font-weight: 400;
  font-size: 2.4rem;
  line-height: 4.0rem;
  color: #000000;
  letter-spacing: -0.02em;
  word-break: keep-all;
}