@charset "UTF-8";

@import url('font.css');

/* =========================
   Reset / Base
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    'Pretendard',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    'Open Sans',
    'Helvetica Neue',
    sans-serif;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* =========================
   예약 신청 페이지
========================= */
:root {
  --reservation-green: #006039;
  --reservation-green-dark: #004d2e;
  --reservation-green-soft: #e9f5ef;
  --reservation-green-line: #cfe4d8;
  --reservation-text: #222;
  --reservation-text-sub: #666;
  --reservation-border: #dfe7e2;
  --reservation-bg: #f5f7f6;
  --reservation-white: #fff;
  --reservation-danger: #df3e3e;
}

.reservation-page {
  padding: 48px 20px 90px;
  background:
    radial-gradient(circle at top left, rgba(0, 96, 57, 0.06), transparent 22%), linear-gradient(180deg, #f7faf8 0%, #f2f5f3 100%);
}

.reservation-wrap {
  max-width: 1024px;
  margin: 0 auto;
}

.reservation-card {
  position: relative;
  padding: 50px 30px 40px 30px;
  border: 1px solid #e3ebe6;
  border-radius: 24px;
  background: var(--reservation-white);
  box-shadow: 0 18px 50px rgba(18, 40, 28, 0.08);
  overflow: hidden;
}

.reservation-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(90deg, var(--reservation-green) 0%, #2ea36d 100%);
}

.reservation-header__top {
  margin-bottom: 20px;
}

.reservation-badge {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  font-size: 18px;
  font-weight: 700;
  line-height: 13px;
  color: #e26136;
}

.reservation-badge img {
  width: 60px;
}

.reservation-title {
  margin: 14px 0 10px;
  color: var(--reservation-text);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.25;
  font-family: 'Paperlogy', 'Pretendard', sans-serif;
}

.reservation-subtitle {
  margin: 0;
  color: var(--reservation-text-sub);
  font-size: 16px;
  line-height: 1.7;
  display: none;
}

.reservation-summary {
  margin: 0;
  padding: 28px 30px;
  border: 1px solid var(--reservation-green-line);
  border-radius: 18px;
  background: linear-gradient(180deg, #fcfefd 0%, #f5faf7 100%);
}

.reservation-summary__row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-top: 12px;
}

.reservation-summary__row:first-child {
  margin-top: 0;
}

.reservation-summary dt {
  width: 100px;
  flex: 0 0 100px;
  color: var(--reservation-green);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}

.reservation-summary dd {
  margin: 0;
  color: #171617;
  font-size: 16px;
  line-height: 1.7;
}





.admission-summary{
  margin: 0;
  padding: 28px 30px;
  border: 1px solid var(--reservation-green-line);
  border-radius: 18px;
  background: linear-gradient(180deg, #fcfefd 0%, #f5faf7 100%);
}

.admission-summary__row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-top: 12px;
}

.admission-summary__row:first-child {
  margin-top: 0;
}

.admission-summary dt {
  width: 100px;
  flex: 0 0 100px;
  color: var(--reservation-green);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}

.admission-summary dd {
  margin: 0;
  color: #171617;
  font-size: 16px;
  line-height: 1.7;
}

.admission-summary__row.column{
  flex-direction: column;
  gap: 2px;
  margin-top: 10px;
}

.admission-summary__row.column dt {
  width: auto;
  flex: none;
}
.admission-summary__row.column dd{
  line-height: 1.4;
}

.reservation-highlight {
  color: #000;
  font-weight: 700;
  text-underline-offset: 3px;
}

.reservation-view {
  margin-top: 30px;
  overflow: hidden;
  background: #f8faf9;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.reservation-view img {
  display: block;
  width: 100%;
  height: auto;
}

.reservation-form {
  margin-top: 34px;
}

.reservation-section {
  margin-top: 30px;
  padding: 30px 20px;
  border-top: 1px solid rgba(0, 96, 57, 0.12);
}

.reservation-section__head {
  margin-bottom: 24px;
}

.reservation-section__title {
  position: relative;
  margin: 0;
  padding-left: 16px;
  color: var(--reservation-text);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.reservation-section__title::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 0;
  width: 6px;
  height: 22px;
  border-radius: 999px;
  background: var(--reservation-green);
}

.reservation-section__desc {
  margin: 6px 0 0;
  color: #7b857f;
  font-size: 14px;
  line-height: 1.6;
}

.reservation-form__table {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.reservation-section--question .reservation-form__table {
  gap: 40px;
}

.reservation-form__row {
  display: flex;
  align-items: center;
  gap: 26px;
}

.reservation-form__label {
  width: 170px;
  flex: 0 0 170px;
  color: #3c4742;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  word-break: keep-all;
}

.reservation-form__label em {
  color: var(--reservation-danger);
  font-style: normal;
}

.reservation-form__field {
  flex: 1;
  min-width: 0;
}

.reservation-form__field--inline {
  display: flex;
  align-items: center;
  gap: 18px;
}

.reservation-input,
.reservation-select,
.reservation-textarea {
  width: 100%;
  border: 1px solid var(--reservation-border);
  border-radius: 14px;
  background: #fbfcfb;
  color: var(--reservation-text);
  font-size: 15px;
  box-sizing: border-box;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.reservation-input,
.reservation-select {
  height: 54px;
  padding: 0 18px;
}

.reservation-textarea {
  min-height: 120px;
  padding: 16px 18px;
  resize: vertical;
  line-height: 1.6;
}

.reservation-input::placeholder,
.reservation-textarea::placeholder {
  color: #a0aaa4;
}

.reservation-input:focus,
.reservation-select:focus,
.reservation-textarea:focus {
  border-color: var(--reservation-green);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 96, 57, 0.1);
}

.reservation-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 52px;
  background: #fbfcfb
    url("data:image/svg+xml,%3Csvg width='14' height='9' viewBox='0 0 14 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L7 7.5L13 1.5' stroke='%23006039' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat right 18px center;
}

.reservation-radio-group,
.reservation-check-group {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.reservation-radio,
.reservation-check {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #3f4a44;
  font-size: 15px;
  line-height: 1.4;
  cursor: pointer;
}

.reservation-radio input,
.reservation-check input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--reservation-green);
  cursor: pointer;
}

.reservation-form__row--question {
  align-items: flex-start;
}

.reservation-form__label--question {
  padding-top: 10px;
}

.reservation-question-field {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.reservation-question-field > .reservation-radio-group,
.reservation-question-field > .reservation-check-group {
  flex: 1 1 420px;
  min-width: 0;
}

.reservation-option-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.reservation-section--question .reservation-check,
.reservation-section--question .reservation-radio {
  gap: 14px;
}

.reservation-section--question .reservation-check--image,
.reservation-section--question .reservation-radio--image {
  align-items: flex-start;
}

.reservation-section--question .reservation-check--image input,
.reservation-section--question .reservation-radio--image input {
  margin-top: 2px;
}

.reservation-question-image {
  width: min(336px, 100%);
  aspect-ratio: 84 / 52;
  border: 1px solid #d5dfd9;
  border-radius: 10px;
  overflow: hidden;
  background: #f7faf8;
  flex: 0 0 auto;
}

.reservation-question-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reservation-inline-other {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 1 260px;
  color: #3f4a44;
  font-size: 15px;
  line-height: 1.4;
  white-space: nowrap;
}

.reservation-inline-other__input {
  width: 170px;
  height: 32px;
  border: 0;
  border-bottom: 1px solid #8d9893;
  background: transparent;
  color: var(--reservation-text);
  font-size: 15px;
  padding: 0 2px 3px;
  box-sizing: border-box;
  outline: none;
}

.reservation-inline-other__input::placeholder {
  color: #9ba6a0;
}

.reservation-inline-other__input:focus {
  border-bottom-color: var(--reservation-green);
}

.reservation-inline-other--option {
  flex-basis: 240px;
}

.reservation-inline-other--option .reservation-inline-other__input {
  width: 186px;
}

.reservation-gender {
  display: flex;
  width: 180px;
}

.reservation-gender input {
  display: none;
}

.gender-btn {
  flex: 1;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--reservation-border);
  background: #fff;
  font-size: 15px;
  font-weight: 600;
  color: #444;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gender-btn:first-of-type {
  border-radius: 12px 0 0 12px;
}

.gender-btn:last-of-type {
  border-radius: 0 12px 12px 0;
  border-left: 0;
}

.gender-btn:hover {
  background: #f3f8f5;
}

#male:checked + .gender-btn {
  background: var(--reservation-green);
  color: #fff;
}

#female:checked + .gender-btn {
  background: var(--reservation-green);
  color: #fff;
}

.reservation-agree {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 20px 4px 0;
  border-top: 1px solid #dfe7e2;
}

.reservation-check--agree span {
  font-weight: 600;
}

.reservation-agree__link {
  color: var(--reservation-green);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.reservation-agree__link:hover {
  text-decoration: underline;
}

.reservation-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 28px;
}

.reservation-btn {
  height: 58px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.reservation-btn:hover {
  transform: translateY(-1px);
}

.reservation-btn--primary {
  border: 1px solid var(--reservation-green);
  background: linear-gradient(180deg, #007347 0%, #006039 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 96, 57, 0.22);
}

.reservation-btn--primary:hover {
  background: linear-gradient(180deg, #006b42 0%, #005433 100%);
  box-shadow: 0 14px 28px rgba(0, 96, 57, 0.28);
}

.reservation-btn--secondary {
  border: 1px solid #cfd9d3;
  background: #fff;
  color: #2d3832;
}

.reservation-btn--secondary:hover {
  border-color: var(--reservation-green);
  color: var(--reservation-green);
  background: #f8fcfa;
}

/* =========================
   결제 페이지
========================= */
.cyj-pay {
  min-height: 100vh;
  background: #f5f6f7;
  color: #191919;
}

.cyj-pay__inner {
  width: 100%;
  max-width: 768px;
  margin: 0 auto;
  padding: 0px 16px 120px;
  box-sizing: border-box;
}

.cyj-pay__header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
}

.cyj-pay__title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.cyj-pay__back,
.cyj-pay__close,
.cyj-pay-sheet__close {
  position: absolute;
  top: 50%;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  transform: translateY(-50%);
  cursor: pointer;
}

.cyj-pay__back {
  left: 0;
}

.cyj-pay__close,
.cyj-pay-sheet__close {
  right: 10px;
}

.cyj-pay__back span,
.cyj-pay__close span,
.cyj-pay-sheet__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  background: #111;
  border-radius: 999px;
}

.cyj-pay__back span:first-child {
  transform: translate(-55%, -50%) rotate(-45deg);
}

.cyj-pay__back span:last-child {
  transform: translate(-55%, -50%) rotate(45deg);
}

.cyj-pay__close span:first-child,
.cyj-pay-sheet__close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.cyj-pay__close span:last-child,
.cyj-pay-sheet__close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.cyj-pay-section {
  margin-top: 10px;
}

.cyj-pay-section + .cyj-pay-section {
  margin-top: 24px;
}

.cyj-pay-section__head {
  margin-bottom: 12px;
}

.cyj-pay-section__title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.cyj-pay-info,
.cyj-pay-method-box {
  border: 1px solid #ebedef;
  border-radius: 20px;
  background: #fff;
}

.cyj-pay-info {
  padding: 20px;
}

.cyj-pay-info__user {
  padding-bottom: 18px;
  border-bottom: 1px solid #f0f1f3;
}

.cyj-pay-info__name {
  display: block;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
}

.cyj-pay-info__campus {
  display: block;
  margin-top: 6px;
  color: #66707a;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.cyj-pay-info__list {
  margin: 0;
  padding: 16px 0;
}

.cyj-pay-info__item {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

.cyj-pay-info__item:first-child {
  margin-top: 0;
}

.cyj-pay-info__item dt {
  width: 64px;
  flex: 0 0 64px;
  color: #8b95a1;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.cyj-pay-info__item dd {
  margin: 0;
  color: #222;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.cyj-pay-info__total {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid #f0f1f3;
}

.cyj-pay-info__total-label {
  color: #4b5560;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.cyj-pay-info__total-price {
  color: #007836;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.cyj-pay-method-box {
  padding: 18px 16px;
  overflow: hidden;
}

.cyj-pay-method-box__top {
  margin-bottom: 14px;
}

.cyj-pay-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.cyj-pay-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cyj-pay-radio__mark {
  position: relative;
  width: 22px;
  height: 22px;
  border: 1.5px solid #cfd6dd;
  border-radius: 50%;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.cyj-pay-radio input:checked + .cyj-pay-radio__mark {
  border-color: #006039;
}

.cyj-pay-radio input:checked + .cyj-pay-radio__mark::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #006039;
  transform: translate(-50%, -50%);
}

.cyj-pay-radio__text {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
}

.cyj-pay-card-swiper {
  margin-right: 80px;
  overflow: visible;
}

.cyj-pay-card-swiper .swiper-wrapper {
  align-items: stretch;
  gap: 10px;
}

.cyj-pay-card-swiper .swiper-slide {
  width: 240px;
  height: auto;
  background: #fff;
}

.cyj-pay-card {
  width: 240px;
  height: 100px;
  padding: 14px 14px 14px 12px;
  border: 1px solid #e5e8eb;
  border-radius: 16px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.cyj-pay-card.is-selected {
  border-color: #006039;
  background: #f6fffa;
  box-shadow: 0 0 0 3px rgba(3, 199, 90, 0.08);
}

.cyj-pay-card--add {
  justify-content: center;
  gap: 10px;
  background: #fafbfc;
  width: 240px;
  height: 100px;
}

.cyj-pay-card-swiper .swiper-slide:last-child {
  width: 180px;
}

.cyj-pay-card__thumb {
  position: relative;
  width: 66px;
  height: 42px;
  border-radius: 10px;
  flex: 0 0 66px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.cyj-pay-card__thumb::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 10px;
  width: 16px;
  height: 12px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.7);
}

.cyj-pay-card__thumb--image::after {
  display: none;
}

.cyj-pay-card__thumb-image {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.cyj-pay-card__thumb--kb {
  background: linear-gradient(135deg, #cdeceb 0%, #97d2cd 100%);
}

.cyj-pay-card__thumb--toss {
  background: linear-gradient(135deg, #9f58ff 0%, #7d44d8 100%);
}

.cyj-pay-card__body {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
}

.cyj-pay-card__name {
  color: #222;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.cyj-pay-card__meta {
  margin-top: 3px;
  color: #7d8790;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.cyj-pay-card__bottom {
  display: flex;
  align-items: center;
  margin-top: 8px;
}

.cyj-pay-card__installment {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-right: 13px;
  color: #555f69;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.cyj-pay-card__installment::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 1px;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid #7b848d;
  border-bottom: 1.5px solid #7b848d;
  transform: translateY(-70%) rotate(45deg);
}

.cyj-pay-card__add-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #eef1f4;
  color: #222;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
}

.cyj-pay-card__add-text {
  color: #4f5963;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.cyj-pay-method-box__divider {
  height: 1px;
  margin: 16px 0;
  background: #f0f1f3;
}

.cyj-pay__notice {
  margin: 32px 0 0;
  color: #8a949e;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
}

.cyj-pay__bottom {
  position: fixed;
  left: 50%;
  bottom: 0;
  width: 100%;
  max-width: 460px;
  padding: 12px 16px 18px;
  background: linear-gradient(180deg, rgba(245, 246, 247, 0) 0%, #f5f6f7 35%, #f5f6f7 100%);
  box-sizing: border-box;
  transform: translateX(-50%);
  z-index: 30;
}

.cyj-pay__submit {
  display: block;
  width: 100%;
  height: 54px;
  margin: 0;
  border: 0;
  border-radius: 14px;
  background: #006039;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    background 0.2s ease;
}

.cyj-pay__submit span::after {
  content: '원';
}

.cyj-pay__submit:hover {
  background: #007836;
}

.cyj-pay__submit:active {
  transform: scale(0.99);
}

.cyj-pay__submit.is-disabled,
.cyj-pay__submit:disabled {
  background: #d7dde2;
  color: #96a0aa;
  cursor: default;
}

.cyj-pay-sheet {
  position: fixed;
  inset: 0;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.cyj-pay-sheet.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cyj-pay-sheet__dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
}

.cyj-pay-sheet__panel {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  max-width: 768px;
  margin: 0 auto;
  border-radius: 24px 24px 0 0;
  background: #fff;
  transform: translateY(100%);
  transition: transform 0.28s ease;
  overflow: hidden;
}

.cyj-pay-sheet.is-open .cyj-pay-sheet__panel {
  transform: translateY(0);
}

.cyj-pay-sheet__header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  border-bottom: 1px solid #f0f1f3;
}

.cyj-pay-sheet__title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
}

.cyj-pay-sheet__close {
  right: 12px;
}

.cyj-pay-sheet__body {
  max-height: 58vh;
  overflow-y: auto;
  padding: 8px 0 14px;
}

.cyj-pay-sheet__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 54px;
  padding: 0 20px;
  border: 0;
  background: #fff;
  color: #333;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.cyj-pay-sheet__item.is-selected {
  color: #006039;
  background: #f7fffb;
}

.cyj-pay-sheet__check {
  color: #006039;
  font-size: 18px;
  font-weight: 800;
}

/* =========================
   시험 응시코드 입력 페이지
========================= */
.exam-entry {
  min-height: 100vh;
  padding: 32px 24px;
  background: #f6f8fb;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

.exam-entry__inner {
  display: grid;
  grid-template-columns: 500px minmax(0, 1fr);
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  border: 1px solid #e8edf3;
  border-radius: 32px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.06);
}

.exam-entry__side {
  position: relative;
  padding: 44px 36px 50px 36px;
  border-radius: 32px;
  box-shadow: 0 24px 60px rgba(0, 45, 0, 0.3);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.1), transparent 32%),
    radial-gradient(circle at 82% 18%, rgba(16, 185, 129, 0.25), transparent 36%),
    radial-gradient(circle at 50% 100%, rgba(4, 120, 87, 0.35), transparent 50%),
    linear-gradient(180deg, #1f3d2b 0%, #0f2c22 45%, #071c16 100%);
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: column;
}

.exam-entry__side::after {
  content: '';
  position: absolute;
  inset: -20% -20% -20% 10%;
  background: repeating-radial-gradient(ellipse at 10% 50%, rgba(255, 255, 255, 0.08) 0 2px, transparent 2px 42px);
  opacity: 0.18;
  transform: rotate(-12deg);
}

.exam-entry__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.exam-entry__row {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 10px;
  margin: 0;
}

.exam-entry__row dt {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: -0.02em;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.exam-entry__row dd {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: -0.03em;
  word-break: keep-all;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.exam-entry__content {
  background: #fff;
}

.exam-entry__content-inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 0px 48px 40px;
  box-sizing: border-box;
}

.exam-entry__header {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: 200px;
  padding: 30px 0 0 0;
}

.exam-entry__title {
  margin: 0;
  color: #191f28;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.18;
  font-family: 'Paperlogy', 'Pretendard', sans-serif;
}

.exam-entry__desc {
  margin: 6px 0 0;
  color: #6b7684;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.03em;
}

.exam-entry__table-wrap {
  border: 1px solid #e5e8eb;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
}

.exam-entry__table-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: #f9fafb;
  border-bottom: 1px solid #edf1f5;
}

.exam-entry__table-head .exam-entry__col {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  color: #333d4b;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.exam-entry__table-body {
  height: 350px;
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff;
}

.exam-entry__table-body::-webkit-scrollbar {
  width: 10px;
}

.exam-entry__table-body::-webkit-scrollbar-track {
  background: transparent;
}

.exam-entry__table-body::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: #c9d1db;
  background-clip: padding-box;
}

.exam-entry__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  width: 100%;
  min-height: 50px;
  padding: 0;
  border: 0;
  border-top: 1px solid #f0f3f6;
  background: #fff;
  text-align: left;
  cursor: default;
  transition: background 0.18s ease;
}

.exam-entry__item:first-child {
  border-top: 0;
}

.exam-entry__item:hover {
  background: #faffee;
}

.exam-entry__item.is-selected {
  background: #faffee;
  color: #005433;
}

.exam-entry__item.is-selected .exam-entry__col--name {
  color: #005433;
}

.exam-entry__item.is-selected .exam-entry__col--code {
  color: #005433;
}

.exam-entry__item .exam-entry__col {
  display: flex;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}

.exam-entry__item .exam-entry__col--name {
  padding: 0 20px 0 28px;
  color: #333d4b;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.exam-entry__item .exam-entry__col--code {
  justify-content: flex-end;
  padding: 0 20px;
}

/* 학생 목록 우측 액션 버튼: 기존 하단 "다음" 버튼의 톤을 유지하면서 행 단위 시작 동작 제공 */
.exam-entry__start {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 94px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  background: #006039;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: background 0.18s ease;
}

.exam-entry__start:hover,
.exam-entry__start:focus-visible {
  background: #007347;
}

.exam-entry__form {
  margin-top: 26px;
}

.exam-entry__field {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
}

.exam-entry__label {
  color: #4e5968;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.exam-entry__input {
  width: 100%;
  height: 64px;
  padding: 0 20px;
  border: 1px solid #dbe2ea;
  border-radius: 18px;
  background: #fff;
  color: #191f28;
  font-size: 24px;
  font-weight: 700;
  box-sizing: border-box;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
  text-align: center;
  letter-spacing: 30px;
}

.exam-entry__input:focus {
  border-color: #008213;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(23, 157, 27, 0.12);
}

.exam-entry__submit {
  width: 100%;
  height: 68px;
  margin-top: 22px;
  border: 0;
  border-radius: 20px;
  background: #006039;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.03em;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.exam-entry__submit:hover:not(:disabled) {
  background: #007347;
  box-shadow: 0 14px 26px rgba(49, 130, 246, 0.22);
  transform: translateY(-1px);
}

.exam-entry__submit:disabled {
  background: #e5e8eb;
  color: #aab2bd;
  cursor: default;
  box-shadow: none;
}

/* 시험 시작 0단계(응시코드 입력)는 목록형 레이아웃과 분리해 단일 카드 중심으로 렌더링한다. */
.exam-entry--code-only {
  background: #f6f8fb;
}

/* 이미지 시안과 동일하게 중앙 박스 안에서 제목/입력/다음 버튼이 세로 배치되도록 고정 폭 패널을 사용한다. */
.exam-entry__code-panel {
  width: min(760px, 100%);
  min-height: 500px;
  padding: 96px 110px 92px;
  border: 1px solid #e8edf3;
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;
}

.exam-entry__code-title {
  margin: 0;
  color: #111;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.03em;
  text-align: center;
}

.exam-entry--code-only .exam-entry__form {
  width: 100%;
  max-width: 470px;
  margin: 82px auto 0;
}

.exam-entry--code-only .exam-entry__field {
  grid-template-columns: 98px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.exam-entry--code-only .exam-entry__label {
  color: #7f7f7f;
  font-size: 15px;
  font-weight: 500;
}

.exam-entry--code-only .exam-entry__input {
  height: 44px;
  padding: 0 14px;
  border: 1px solid #d5d5d5;
  border-radius: 6px;
  background: #fff;
  color: #111;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: normal;
  text-align: center;
}

.exam-entry--code-only .exam-entry__submit.entry-code {
  height: 44px;
  margin-top: 24px;
  border-radius: 6px;
  background: #000;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.exam-entry--code-only .exam-entry__submit.entry-code:hover:not(:disabled) {
  background: #111;
  box-shadow: none;
  transform: none;
}

.exam-entry--code-only .exam-entry__submit.entry-code:not(:disabled) {
  background: #000;
  color: #fff;
  cursor: pointer;
}

.exam-entry--code-only .exam-entry__submit.entry-code:disabled {
  background: #c9cdd2;
  color: #8c949d;
  cursor: default;
}

/* =========================
   시험 공통 레이아웃
========================= */
.exam-paper {
  min-height: 100vh;
  padding: 32px 24px;
  background: #f6f8fb;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.exam-paper__inner {
  position: relative;
  width: 100%;
  max-width: 1440px;
  min-height: 823;
  border: 1px solid #e8edf3;
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(16, 185, 129, 0.06), transparent 20%), linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.06);
}

.exam-paper__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 255, 255, 0.9), transparent 24%),
    radial-gradient(circle at 100% 20%, rgba(16, 185, 129, 0.08), transparent 22%);
}

.exam-paper__header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 30px 50px 16px 50px;
  border-bottom: 1px solid #d6dce2;
}

.exam-paper__title {
  margin: 0;
  color: #191f28;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.18;
  font-family: 'Paperlogy', 'Pretendard', sans-serif;
}

.exam-paper__eyebrow {
  font-size: 12px;
  font-weight: 300;
  margin-bottom: 5px;
}

.exam-paper__desc {
  margin: 10px 0 0;
  color: #6b7684;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.03em;
}

.exam-paper__body {
  position: relative;
  padding: 30px 50px 30px 50px;
  min-height: 700px;
}

.exam-paper__button {
  width: 100%;
  max-width: 760px;
  height: 68px;
  border: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, #005f3a 0%, #007a4d 55%, #0b8f5e 100%);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.03em;
  cursor: pointer;
  box-shadow:
    0 16px 30px rgba(0, 96, 57, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.exam-paper__button:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow:
    0 20px 34px rgba(0, 96, 57, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.exam-paper__button:active {
  transform: translateY(0);
}

.exam-paper__button .icon svg {
  width: 30px;
  height: 30px;
}

/* =========================
   시험 시작 화면
========================= */
.exam-ready {
  max-width: 900px;
  margin: 0 auto;
}

.exam-ready__timer {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 30px;
  padding: 50px 0 20px;
}

.exam-ready__timer-icon {
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
}

.exam-ready__timer-icon img {
  width: 80%;
}

.exam-ready__timer-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.exam-ready__time {
  min-width: 124px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.exam-ready__num {
  display: block;
  color: #111827;
  position: relative;
  font-size: 88px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
}

.exam-ready__unit {
  margin-top: 18px;
  color: #7b8794;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.exam-ready__colon {
  display: block;
  color: #111827;
  position: relative;
  top: -33px;
  font-size: 88px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
}

.exam-ready__summary {
  overflow: hidden;
  margin-top: 10px;
  border: 1px solid #e5e8eb;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

.exam-ready__summary-head,
.exam-ready__summary-body {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 0.8fr;
  text-align: center;
}

.exam-ready__summary-head {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid #edf1f5;
}

.exam-ready__summary-head > div {
  padding: 16px 14px;
  color: #334155;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  border-left: 1px solid #edf1f5;
}

.exam-ready__summary-head > div:first-child {
  border-left: 0;
}

.exam-ready__summary-body > div {
  padding: 18px 14px;
  color: #374151;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  border-left: 1px solid #f1f5f9;
}

.exam-ready__summary-body > div:first-child {
  border-left: 0;
}

.exam-ready__notice {
  padding: 30px 24px;
  text-align: center;
}

.exam-ready__notice-title {
  margin: 0 0 6px;
  color: #ff2c2c;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.exam-ready__notice-text {
  margin: 0 0 0;
  color: #ff4a4a;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.exam-ready__action {
  display: flex;
  justify-content: center;
}

/* =========================
   시험 상단 메타
========================= */
.exam-paper__meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}

.exam-paper__timer-label {
  color: #191f28;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.exam-paper__timer-value {
  color: #006039;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.exam-paper__timer-value small {
  font-size: 18px;
  font-weight: 800;
}

/* =========================
   시험지 본문
========================= */
.exam-sheet {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 50px;
  align-items: start;
}

.exam-sheet__main {
  min-width: 0;
}

.exam-sheet__side {
  min-width: 0;
  border-radius: 6px;
  overflow: hidden;
}

.exam-sheet__question-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  padding-bottom: 5px;
  margin-bottom: 16px;
}

.exam-sheet__question-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.exam-sheet__question-number {
  color: #58616e;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.exam-sheet__question-code {
  color: #58616e;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.exam-sheet__audio-btn {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 16px;
  color: #000e1a;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.18s ease,
    background 0.18s ease;
}

.exam-sheet__audio-btn:hover {
  transform: translateY(-1px);
  background: #dff1ff;
}

.exam-sheet__audio-btn svg {
  width: 24px;
  height: 24px;
}

.exam-sheet__prompt {
  margin: 0 0 30px;
  color: #383e47;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.3;
}

.exam-sheet__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.exam-sheet__option {
  position: relative;
  min-height: 220px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease;
}

.exam-sheet__option:hover {
  transform: translateY(-2px);
}

.exam-sheet__option-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #414243;
  background: #ffffff;
  color: #414243;
  font-size: 18px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.exam-sheet__option-inner {
  height: 100%;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dcdbdb;
  border-radius: 18px;
  background: #ffffff;
  color: #444444;
  font-size: 58px;
  font-weight: 500;
  letter-spacing: -0.04em;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease;
}

.exam-sheet__option.is-selected .exam-sheet__option-badge {
  border-color: #e26136;
  background: #e26136;
  color: #ffffff;
}

.exam-sheet__option.is-selected .exam-sheet__option-inner {
  border-color: #e26136;
  background: #ffffff;
  box-shadow: 0 0 0 6px rgba(242, 114, 29, 0.14);
  color: #111111;
}

.exam-sheet__footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 20px;
}

.exam_num_link {
  color: #333;
  cursor: pointer;
}

.exam-sheet__next {
  width: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.exam-sheet__next span {
  line-height: 1;
}

.exam-sheet__next i {
  width: 30px;
  height: 30px;
  display: block;
}

.exam-sheet__next:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.exam-sheet__panel {
  border: 1px solid #d9dee5;
  border-radius: 0;
  overflow: hidden;
  background: #fff;
}

.exam-sheet__panel-head {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  border-bottom: 1px solid #bdbfc4;
  background: #f3f6ff;
}

.exam-sheet__panel-head-num,
.exam-sheet__panel-head-answer {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  font-size: 14px;
  font-weight: 800;
  border-left: 1px solid #bdbfc4;
}

.exam-sheet__panel-head-num {
  border-left: 0;
}

.exam-sheet__panel-body {
  max-height: 516px;
  overflow-y: auto;
  overflow-x: hidden;
}

.exam-sheet__panel-body::-webkit-scrollbar {
  width: 8px;
}

.exam-sheet__panel-body::-webkit-scrollbar-thumb {
  background: #c8ced8;
  border-radius: 999px;
}

.exam-sheet__row {
  display: grid;
  grid-template-columns: 56px repeat(4, 1fr);
  border-top: 1px solid #cfcfcf;
}

.exam-sheet__row:first-child {
  border-top: 0;
}

.exam-sheet__row.is-current {
  background: #efe0d2;
}

.exam-sheet__row-num,
.exam-sheet__row-answer {
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid #cfcfcf;
  color: #333;
  font-size: 13px;
  font-weight: 500;
  background: #fff;
}

.exam-sheet__row-num {
  border-left: 0;
  color: #222;
  font-size: 15px;
  font-weight: 700;
}

.exam-sheet__row.is-current .exam-sheet__row-num,
.exam-sheet__row.is-current .exam-sheet__row-answer {
  background: #eef8f1;
  color: #0a8b59;
  font-weight: 700;
}

.exam-sheet__row-answer {
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.exam-sheet__row-answer:hover {
  background: #eef8f1;
}

.exam-sheet__row-answer.is-picked {
  background: #006039 !important;
  color: #fff !important;
  font-weight: 800;
}

/* =========================
   시험 결과
========================= */
.exam-result-table {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid #dfe4ea;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.exam-result-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  min-height: 52px;
}

.exam-result-row + .exam-result-row {
  border-top: 1px solid #e5e7eb;
}

.exam-result-label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: linear-gradient(180deg, #eef2f6 0%, #e5eaf0 100%);
  font-weight: 700;
  color: #334155;
  font-size: 14px;
  border-right: 1px solid #e5e7eb;
  text-align: center;
}

.exam-result-value {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  color: #111827;
  font-weight: 600;
  font-size: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  text-align: center;
}

.exam-result-area {
  height: 100%;
  width: 100%;
}

.exam-result-title h4 {
  font-size: 30px;
  font-weight: 700;
}

.exam-result__img {
  max-width: 400px;
  margin: 20px auto 0 auto;
}

.exam-result__img img {
  width: 100%;
}

.exam-result-title {
  text-align: center;
}

.exam-finish-card {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid #e7ebf0;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.exam-finish-card__top {
  padding: 34px 36px 28px;
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 30%), linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border-bottom: 1px solid #eef2f6;
  text-align: center;
}

.exam-finish-card__eyebrow {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
  color: #006b42;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.exam-finish-card__name {
  margin: 0;
  color: #111827;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.exam-finish-card__title {
  margin: 10px 0 0;
  color: #4b5563;
  font-size: 17px;
  font-weight: 600;
}

.exam-finish-card__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.exam-finish-card__meta-item {
  padding: 22px 28px;
  border-top: 1px solid #f1f4f7;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  grid-template-columns: 80px minmax(0, 1fr);
}

.exam-finish-card__meta-item:nth-child(odd) {
  border-right: 1px solid #f1f4f7;
}

.exam-finish-card__label {
  width: 80px;
  display: block;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.exam-finish-card__value {
  display: block;
  color: #1f2937;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.exam-paper--result {
  flex-direction: column;
}




.admission-academy-field {
  display: grid;
  grid-template-columns: 1fr 140px;
  align-items: center;
  gap: 10px;
}
.admission-academy-field span{
  padding-top: 3px;
}

.admission-form .reservation-section{
  border-top: none;
  margin-top: 0;
  padding-top: 20px;
}

.admission-form .reservation-radio span {
  min-width: 100%;
}

.admission-line-input {
  height: 38px;
  border: 0;
  border-bottom: 1px solid #111;
  border-radius: 0;
  background: transparent;
}

.admission-radio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px 28px;
}

.admission-large-row {
  margin-top: 30px;
}

.admission-check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 30px;
  text-align: left;
}

.admission-check-grid .reservation-check {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 36px;
}
.admission-check-grid .reservation-check input[type='checkbox'] {
  flex: 0 0 16px;
}
.admission-check-grid .reservation-check span {
  flex: 0 1 auto;
  word-break: keep-all;
  line-height: 1.2;
}

.admission-check-full {
  grid-column: 1 / -1;
}

.admission-check-full .reservation-inline-other__input {
  flex: 1;
  max-width: none;
  min-height: 24px;
}

.admission-simple-row {
  margin-top: 30px;
}

.admission-radio-grid--2 {
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  max-width: 620px;
}

/* =========================
   1200px 이하
========================= */
@media (max-width: 1200px) {
  .exam-entry__inner {
    grid-template-columns: 400px minmax(0, 1fr);
  }

  .exam-entry__content-inner {
    padding: 0px 32px 30px;
  }

  .exam-entry__row {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 0;
  }

  .exam-entry__title {
    font-size: 46px;
  }

  .exam-entry__desc {
    font-size: 20px;
  }
}

/* =========================
   1180px 이하
========================= */
@media (max-width: 1180px) {
  .exam-sheet {
    grid-template-columns: 1fr;
  }

  .exam-sheet__panel-body {
    max-height: 320px;
  }
}

/* =========================
   1024px 이하
========================= */
@media (max-width: 1024px) {
  .reservation-page {
    padding: 0 0 0 0;
  }

  .reservation-card {
    border-radius: 0;
    border: none;
  }

  .exam-paper__header {
    padding: 38px 32px 26px;
  }

  .exam-paper__body {
    padding: 36px 32px 40px;
  }

  .exam-paper__title {
    font-size: 34px;
  }

  .exam-ready__timer {
    gap: 20px;
  }

  .exam-ready__time {
    min-width: 92px;
  }

  .exam-ready__num {
    font-size: 64px;
  }

  .exam-ready__colon {
    font-size: 48px;
    top: -20px;
  }

  .exam-ready__unit {
    margin-top: 12px;
    font-size: 16px;
  }

  .exam-ready__timer-icon {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
  }
}

/* =========================
   900px 이하
========================= */
@media (max-width: 900px) {
  .exam-entry {
    padding: 0 0 0 0;
  }

  .exam-entry__inner {
    grid-template-columns: 1fr;
    height: 100vh;
    border-radius: 0 0 0 0;
  }

  .exam-entry__side {
    padding: 26px 30px;
    flex-direction: row-reverse;
    border-radius: 0 0 32px 32px;
  }

  .exam-entry__info {
    gap: 12px;
  }

  .exam-entry__row {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .exam-entry__row dt {
    font-size: 13px;
  }

  .exam-entry__row dd {
    font-size: 16px;
  }

  .exam-entry__header {
    min-height: 200px;
    margin-bottom: 24px;
    margin-top: 20px;
  }

  .exam-entry__title {
    font-size: 34px;
  }

  .exam-entry__desc {
    font-size: 17px;
  }

  .exam-entry__table-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .exam-entry__item {
    grid-template-columns: minmax(0, 1fr) 118px;
  }

  .exam-entry__table-head .exam-entry__col,
  .exam-entry__item .exam-entry__col--name,
  .exam-entry__item .exam-entry__col--code {
    font-size: 14px;
  }

  .exam-entry__item .exam-entry__col--name {
    padding-left: 14px;
    padding-right: 12px;
  }

  .exam-entry__start {
    width: 92px;
    min-height: 32px;
    font-size: 14px;
  }

  .exam-entry__table-body {
    height: 280px;
  }

  .exam-entry__field {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .exam-entry__label {
    font-size: 15px;
  }

  .exam-entry__input {
    height: 56px;
    font-size: 18px;
    border-radius: 14px;
  }

  .exam-entry__submit {
    height: 58px;
    margin-top: 16px;
    font-size: 18px;
    border-radius: 16px;
  }

  .exam-entry__code-panel {
    min-height: auto;
    padding: 48px 28px 42px;
  }

  .exam-entry__code-title {
    font-size: 28px;
  }

  .exam-entry--code-only .exam-entry__form {
    margin-top: 42px;
  }

  .exam-entry--code-only .exam-entry__field {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .exam-entry--code-only .exam-entry__label {
    font-size: 14px;
  }

  .exam-entry--code-only .exam-entry__input {
    height: 42px;
    font-size: 16px;
  }

  .exam-entry--code-only .exam-entry__submit.entry-code {
    height: 46px;
    margin-top: 18px;
    font-size: 15px;
  }

}

/* =========================
   768px 이하
========================= */
@media (max-width: 768px) {
  .reservation-page {
    padding: 0 0 0 0;
  }

  .reservation-card {
    padding: 28px 18px 24px;
  }

  .reservation-title {
    font-size: 28px;
  }

  .reservation-subtitle {
    font-size: 14px;
  }

  .reservation-summary {
    padding: 20px 18px;
    border-radius: 16px;
  }

  .reservation-summary__row {
    flex-direction: column;
    gap: 2px;
    margin-top: 10px;
  }

  .reservation-summary dt {
    width: auto;
    flex: none;
    font-size: 14px;
  }

  .reservation-summary dd {
    font-size: 14px;
  }

  .admission-form .reservation-section {
    padding-top: 0;
    padding-left: 10px;
    padding-right: 10px;
  }
  .reservation-section__title::before {
    top: 5px;
    height: 19px;
  }
  .reservation-section {
    padding: 22px 18px 24px;
    border-radius: 18px;
  }

  .reservation-section__title {
    font-size: 22px;
  }

  .reservation-form__row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .reservation-form__label {
    width: auto;
    flex: none;
    font-size: 14px;
    color: #000e1a;
  }

  .reservation-form__field--inline {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .reservation-form__row--question {
    gap: 10px;
  }

  .reservation-form__label--question {
    padding-top: 0;
  }

  .reservation-question-field {
    align-items: flex-start;
    gap: 10px;
  }

  .reservation-question-field > .reservation-radio-group,
  .reservation-question-field > .reservation-check-group {
    flex: 1 1 100%;
  }

  .reservation-inline-other {
    width: 100%;
  }

  .reservation-inline-other__input {
    width: 100%;
  }

  .reservation-actions {
    grid-template-columns: 1fr;
  }

  .reservation-btn {
    height: 54px;
    font-size: 16px;
  }

  .exam-result-row {
    grid-template-columns: 100px 1fr;
    min-height: 48px;
  }

  .exam-result-label,
  .exam-result-value {
    font-size: 13px;
    padding: 10px;
  }

  .exam-finish-card {
    border-radius: 22px;
  }

  .exam-finish-card__top {
    padding: 28px 20px 24px;
  }

  .exam-finish-card__name {
    font-size: 24px;
  }

  .exam-finish-card__title {
    font-size: 15px;
  }

  .exam-finish-card__meta {
    grid-template-columns: 1fr;
  }

  .exam-finish-card__meta-item {
    padding: 18px 20px;
  }

  .exam-finish-card__meta-item:nth-child(odd) {
    border-right: 0;
  }

  .exam-finish-card__value {
    font-size: 16px;
  }
}

/* =========================
   767px 이하
========================= */
@media (max-width: 767px) {
  .exam-entry__side {
    padding: 26px 30px;
    flex-direction: column;
    position: relative;
  }

  .exam-entry__side .logo {
    width: 50px;
    position: absolute;
    right: 20px;
    top: 20px;
  }

  .exam-entry__side .logo img {
    width: 100%;
  }

  .exam-entry__info {
    gap: 6px;
  }

  .exam-entry__header {
    min-height: auto;
  }

  .exam-entry__table-head .exam-entry__col {
    min-height: 40px;
  }

  .exam-entry__table-wrap {
    border-radius: 3px;
  }

  .exam-entry__title {
    font-size: 28px;
  }

  .exam-entry__desc {
    font-size: 14px;
  }

  .exam-entry__item {
    min-height: 46px;
  }

  .exam-paper {
    padding: 0;
  }

  .exam-paper__inner {
    min-height: 100vh;
    border-radius: 0;
    border: 0;
  }

  .exam-paper__header {
    padding: 32px 20px 22px;
    flex-direction: column;
    align-items: flex-start;
  }

  .exam-paper__body {
    padding: 28px 20px 32px;
  }

  .exam-paper__eyebrow {
    font-size: 11px;
  }

  .exam-paper__title {
    font-size: 28px;
  }

  .exam-paper__desc {
    font-size: 14px;
    margin: 5px 0 0 0;
  }

  .exam-ready__timer {
    flex-direction: column;
    gap: 18px;
    padding-top: 0;
    align-items: center;
  }

  .exam-ready__timer-icon {
    width: 60px;
    height: 60px;
    flex-basis: 60px;
  }

  .exam-ready__timer-group {
    gap: 10px;
  }

  .exam-ready__time {
    min-width: 68px;
  }

  .exam-ready__num {
    font-size: 60px;
  }

  .exam-ready__num::after {
    top: -4px;
    padding-left: 8px;
    padding-right: 20px;
  }

  .exam-ready__colon {
    font-size: 50px;
  }

  .exam-ready__unit {
    font-size: 14px;
    margin-top: 8px;
  }

  .exam-ready__summary {
    border-radius: 18px;
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr) auto;
  }

  .exam-ready__summary-head,
  .exam-ready__summary-body {
    grid-template-columns: 1fr;
  }

  .exam-ready__summary-head > div,
  .exam-ready__summary-body > div {
    border-left: 0;
    border-top: 1px solid #edf1f5;
    padding: 13px 12px;
    font-size: 14px;
  }

  .exam-ready__summary-head > div:first-child,
  .exam-ready__summary-body > div:first-child {
    border-top: 0;
  }

  .exam-ready__notice {
    margin: 26px 0 24px;
    padding: 24px 16px;
    border-radius: 18px;
  }

  .exam-ready__notice-title {
    font-size: 18px;
  }

  .exam-ready__notice-text {
    font-size: 12px;
  }

  .exam-paper__button {
    height: 58px;
    font-size: 18px;
    border-radius: 16px;
  }

  .exam-paper {
    padding: 0;
  }

  .exam-paper__inner {
    min-height: 100vh;
    border: 0;
    border-radius: 0;
  }

  .exam-paper__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding: 26px 20px 20px;
  }

  .exam-paper__title {
    font-size: 28px;
  }

  .exam-paper__timer-label {
    font-size: 14px;
  }

  .exam-paper__body {
    padding: 20px;
  }

  .exam-sheet__question-number {
    font-size: 28px;
  }

  .exam-sheet__question-code {
    font-size: 15px;
  }

  .exam-sheet__prompt {
    font-size: 24px;
  }

  .exam-sheet__options {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .exam-sheet__option-inner {
    min-height: 120px;
    font-size: 44px;
  }

  .exam-sheet__next {
    width: 100%;
    min-width: 0;
    font-size: 22px;
  }

  .exam-sheet__panel-head,
  .exam-sheet__row {
    grid-template-columns: 56px repeat(4, 1fr);
  }

  .exam-sheet__panel-head div,
  .exam-sheet__row-num,
  .exam-sheet__row-answer {
    min-height: 46px;
    font-size: 13px;
  }


  .admission-summary {
    padding: 20px 18px;
    border-radius: 16px;
  }

  .admission-academy-field {
    grid-template-columns: 1fr 80px;
  }
  .admission-line-input{
    padding-left: 6px;
  }
  .admission-radio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 10px;
  }
  .admission-form .reservation-form__label{
    font-size: 16px;
  }
  .admission-form .reservation-form__table {
    gap: 30px;
  }
  .admission-large-row{
    margin-top: 0;
  }
  .admission-check-grid {
    gap: 10px 20px;
  }
  .admission-simple-row {
    margin-top: 0px;
  }
}
