:root {
  --bg: #eef3f8;
  --panel: #ffffff;
  --line: #d7e0eb;
  --line-strong: #c4d0de;
  --text: #1e2b3c;
  --sub: #5f6f82;
  --primary: #1d4f91;
  --primary-deep: #143766;
  --shadow-sm: 0 8px 18px rgba(19, 39, 68, 0.05);
  --radius-xl: 20px;
}
* { box-sizing: border-box; }
html, body { width: 100%; margin: 0; }
body {
  font-family: "IBM Plex Sans KR", "Pretendard", "Noto Sans KR", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f5f8fc 0%, #edf2f7 100%);
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.page { max-width: 1360px; margin: 0 auto; padding: 20px 24px 44px; display: flex; flex-direction: column; gap: 18px; }
.banner-header, .hero-section, .course-section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}
.banner-header { position: relative; z-index: 20; }
.main-nav { position: relative; z-index: 21; }
.main-nav a { position: relative; z-index: 22; }
.header-top-row {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px 22px; background: linear-gradient(180deg, #1d4f91 0%, #173f75 100%);
}
.brand-area { display: flex; align-items: center; gap: 12px; min-width: 280px; }
.brand-mark {
  display: flex; align-items: center; justify-content: center; width: 52px; height: 52px;
  border-radius: 14px; background: linear-gradient(180deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,.1) 100%);
  border: 1px solid rgba(255,255,255,.22);
}
.brand-mark span {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border-radius: 10px; background: rgba(17,45,89,.22); color: #fff; font-size: 14px; font-weight: 800;
}
.brand-kicker { display: block; margin-bottom: 4px; color: rgba(255,255,255,.72); font-size: 10px; font-weight: 700; letter-spacing: 1.2px; }
.brand-copy h1 { margin: 0; color: #fff; font-size: 23px; font-weight: 700; line-height: 1.2; letter-spacing: -.5px; }
.brand-sub-text { display: inline-block; margin-top: 4px; color: rgba(255,255,255,.78); font-size: 12px; font-weight: 500; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-link-btn { border: none; background: transparent; color: rgba(255,255,255,.86); font-size: 13px; font-weight: 700; }
.header-link-btn::after { content: ">"; margin-left: 6px; }
.primary-btn.small {
  min-width: 96px; height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid #fff;
  background: #fff; color: var(--primary-deep); font-size: 13px; font-weight: 700;
}
.main-nav { display: flex; align-items: center; padding: 0 8px; background: #f7f9fc; border-bottom: 1px solid var(--line); }
.main-nav a { padding: 14px 18px; color: #31435d; font-size: 14px; font-weight: 700; }
.hero-label, .section-kicker, .enroll-card-kicker {
  display: inline-flex; align-items: center; width: fit-content; min-height: 28px; padding: 4px 10px;
  border-radius: 999px; background: #eef4ff; color: var(--primary); font-size: 11px; font-weight: 800;
}
.enroll-hero {
  display: grid; grid-template-columns: minmax(0,1fr) 180px; gap: 20px; align-items: end;
  padding: 26px; background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.enroll-hero-copy h2 { margin: 8px 0 0; color: #1d2b40; font-size: 38px; line-height: 1.22; letter-spacing: -.8px; }
.enroll-hero-copy p { max-width: 760px; margin: 12px 0 0; color: #5d7086; font-size: 15px; line-height: 1.8; }
.enroll-hero-status { padding: 16px 18px; border: 1px solid #dbe4ee; border-radius: 18px; background: #fff; text-align: right; }
.enroll-hero-status span { display: block; color: var(--sub); font-size: 12px; font-weight: 700; }
.enroll-hero-status strong { display: block; margin-top: 8px; color: var(--primary-deep); font-size: 22px; font-weight: 800; }
.enroll-shell { padding: 24px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.section-head h3 { margin: 6px 0 0; color: #1f2e43; font-size: 28px; font-weight: 700; letter-spacing: -.5px; }
.section-side-text { color: var(--sub); font-size: 13px; font-weight: 600; }
.notice-box { display: none; margin-bottom: 14px; padding: 12px 14px; border-radius: 12px; font-size: 13px; font-weight: 700; }
.notice-box.show { display: block; }
.notice-box.info { border: 1px solid #d8e5ff; background: #eef4ff; color: #1f57b0; }
.notice-box.error { border: 1px solid #ffd7d7; background: #fff0f0; color: #bc3b3b; }
.notice-box.success { border: 1px solid #d0ebd8; background: #eefaf2; color: #217a46; }
.enroll-form { display: grid; gap: 18px; }
.enroll-progress-shell { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 18px; align-items: start; }
.enroll-progress-card,
.enroll-summary-card,
.enroll-card {
  border: 1px solid #dce5ef;
  border-radius: 20px;
  background: linear-gradient(180deg,#fff 0%,#fbfdff 100%);
  box-shadow: var(--shadow-sm);
}
.enroll-progress-card,
.enroll-summary-card,
.enroll-card { padding: 22px; }
.enroll-summary-card { position: sticky; top: 18px; }
.enroll-progress-top {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px;
}
.enroll-progress-top strong {
  display: block; margin-top: 6px; color: #1e2f48; font-size: 22px; font-weight: 700;
}
.enroll-progress-top p,
.enroll-summary-card p,
.enroll-card-head p { margin: 0; color: var(--sub); font-size: 13px; line-height: 1.7; }
.enroll-progress-list { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.enroll-progress-step {
  display: grid; gap: 8px; padding: 14px; border: 1px solid #dce5ef; border-radius: 18px; background: #f7fafe; color: #6a798c;
}
.enroll-progress-step strong {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border-radius: 12px; background: #fff; border: 1px solid #dbe5f0; color: #52657b; font-size: 14px;
}
.enroll-progress-step b { color: #1f3147; font-size: 14px; }
.enroll-progress-step span { font-size: 12px; line-height: 1.5; }
.enroll-progress-step.is-active { border-color: #a9c4eb; background: linear-gradient(180deg, #eef5ff 0%, #f8fbff 100%); }
.enroll-progress-step.is-active strong { background: var(--primary); border-color: var(--primary); color: #fff; }
.enroll-progress-step.is-complete { border-color: #cfe3d7; background: #f4fbf6; }
.enroll-progress-step.is-complete strong { background: #2e7d4d; border-color: #2e7d4d; color: #fff; }
.enroll-stage { display: none; margin-top: 18px; }
.enroll-stage.is-active { display: block; }
.enroll-card-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.enroll-card-head h4 { margin: 6px 0 0; color: #1e2f48; font-size: 22px; font-weight: 700; }
.enroll-card-head p { max-width: 420px; text-align: right; }
.enroll-grid { display: grid; gap: 14px; }
.enroll-grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.enroll-grid-1 { grid-template-columns: 1fr; }
.enroll-field { display: grid; gap: 8px; }
.enroll-span-2 { grid-column: 1 / -1; }
.enroll-field span { color: #31465f; font-size: 13px; font-weight: 700; }
.enroll-field span em { color: #c23b3b; font-style: normal; }
.enroll-field input, .enroll-field select, .enroll-field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #ced9e6; border-radius: 12px; background: #fff; color: #23344d;
}
.enroll-field textarea { min-height: 136px; resize: vertical; }
.enroll-field input[readonly] { background: #f6f8fb; }
.enroll-native-select {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.enroll-field.select-field {
  position: relative;
}
.enroll-select {
  position: relative;
}
.enroll-select-trigger {
  width: 100%;
  min-height: 48px;
  padding: 12px 48px 12px 14px;
  border: 1px solid #ced9e6;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%);
  color: #23344d;
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.68);
}
.enroll-select-trigger:hover {
  border-color: #b9cbe0;
}
.enroll-select-trigger:focus {
  outline: none;
  border-color: #7fa7da;
  box-shadow: 0 0 0 4px rgba(29,79,145,.12), inset 0 1px 0 rgba(255,255,255,.7);
}
.enroll-select-trigger::before,
.enroll-select-trigger::after {
  content: '';
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 2px;
  background: #466181;
  border-radius: 999px;
  transition: transform .18s ease;
}
.enroll-select-trigger::before {
  transform: translateY(-2px) rotate(45deg);
}
.enroll-select-trigger::after {
  right: 13px;
  transform: translateY(-2px) rotate(-45deg);
}
.enroll-select.is-open .enroll-select-trigger::before {
  transform: translateY(-2px) rotate(-45deg);
}
.enroll-select.is-open .enroll-select-trigger::after {
  transform: translateY(-2px) rotate(45deg);
}
.enroll-select-placeholder {
  color: #6c7c90;
}
.enroll-select-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 30;
  display: none;
  max-height: 280px;
  padding: 8px;
  overflow-y: auto;
  border: 1px solid #cfdced;
  border-radius: 16px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 18px 40px rgba(18, 42, 76, .16);
  backdrop-filter: blur(10px);
}
.enroll-select.is-open .enroll-select-menu {
  display: grid;
  gap: 6px;
}
.enroll-select-option {
  display: grid;
  gap: 2px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #fff;
  color: #23344d;
  text-align: left;
  cursor: pointer;
}
.enroll-select-option:hover,
.enroll-select-option.is-active {
  border-color: #d7e5f7;
  background: linear-gradient(180deg, #eef5ff 0%, #f7fbff 100%);
}
.enroll-select-option.is-selected {
  border-color: #a9c4eb;
  background: linear-gradient(180deg, #e9f2ff 0%, #f6faff 100%);
}
.enroll-select-option strong {
  font-size: 14px;
  font-weight: 700;
}
.enroll-select-option span {
  color: #64758b;
  font-size: 12px;
  font-weight: 600;
}
.enroll-context-grid { display: grid; gap: 14px; }
.enroll-context-panel { padding: 16px 18px; border: 1px solid #dce5ef; border-radius: 18px; background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%); }
.enroll-context-panel h5 { margin: 0 0 6px; color: #1d2e47; font-size: 16px; }
.enroll-context-panel p { margin: 0; color: #5d7086; font-size: 13px; line-height: 1.7; }
.exam-only[hidden] { display: none !important; }
.enroll-field small { color: var(--sub); font-size: 12px; line-height: 1.6; }
.enroll-bank-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-bottom: 16px; }
.enroll-bank-item { padding: 14px; border: 1px solid #dde6ef; border-radius: 14px; background: #f8fbff; }
.enroll-bank-item span { display: block; color: var(--sub); font-size: 12px; font-weight: 700; }
.enroll-bank-item strong { display: block; margin-top: 6px; color: #20324f; line-height: 1.5; }
.enroll-amount-banner { display: grid; gap: 8px; margin-top: 4px; padding: 18px 20px; border: 1px solid #d7e5fb; border-radius: 18px; background: linear-gradient(135deg, #eff5ff 0%, #f8fbff 100%); }
.enroll-amount-banner span { color: #49617e; font-size: 12px; font-weight: 800; letter-spacing: .2px; }
.enroll-amount-banner strong { color: var(--primary-deep); font-size: 30px; font-weight: 800; letter-spacing: -.5px; }
.enroll-amount-banner p { margin: 0; color: #5e728a; font-size: 13px; line-height: 1.7; }
.enroll-submit-summary { margin-top: 18px; padding: 16px 18px; border: 1px solid #d9e4f1; border-radius: 16px; background: #f8fbff; }
.enroll-submit-summary span { display: block; color: #4b617c; font-size: 12px; font-weight: 800; }
.enroll-submit-summary strong { display: block; margin-top: 6px; color: #183b6c; font-size: 24px; font-weight: 800; }
.enroll-submit-summary p { margin: 8px 0 0; color: #607286; font-size: 12px; line-height: 1.7; }
.enroll-check-list,
.enroll-summary-list,
.enroll-review-list { display: grid; gap: 12px; }
.enroll-check { display: flex; align-items: flex-start; gap: 10px; color: #31465f; line-height: 1.6; }
.enroll-check input { margin-top: 3px; }
.enroll-check-wide { margin-top: 16px; }
.enroll-summary-item,
.enroll-review-card {
  padding: 14px 16px; border: 1px solid #dce5ef; border-radius: 16px; background: #fff;
}
.enroll-summary-item span,
.enroll-review-card span {
  display: block; margin-bottom: 6px; color: #607286; font-size: 12px; font-weight: 800;
}
.enroll-summary-item strong,
.enroll-review-card strong {
  color: #18304f; font-size: 15px; line-height: 1.6; white-space: pre-line;
}
.enroll-summary-amount {
  margin-top: 16px; padding: 16px; border-radius: 18px; background: linear-gradient(180deg, #eef5ff 0%, #f9fbff 100%); border: 1px solid #d5e4fb;
}
.enroll-summary-amount span {
  display: block; color: #4d6587; font-size: 12px; font-weight: 800;
}
.enroll-summary-amount strong {
  display: block; margin-top: 6px; color: #183b6c; font-size: 26px; font-weight: 800;
}
.enroll-inline-actions { display: flex; justify-content: flex-end; margin-top: 10px; }
.enroll-edit-step-btn {
  min-height: 34px; padding: 0 12px; border: 1px solid #d5deea; border-radius: 10px; background: #f5f8fb; color: #29415f; font-size: 12px; font-weight: 800; cursor: pointer;
}
.enroll-actions {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; border: 1px solid #dce5ef; border-radius: 18px; background: #f9fbfe;
}
.enroll-actions-group { display: flex; gap: 10px; }
.enroll-reset-btn, .enroll-submit-btn, .enroll-prev-btn, .enroll-next-btn {
  min-width: 120px; min-height: 46px; padding: 0 18px; border-radius: 12px; font-size: 13px; font-weight: 800; cursor: pointer;
}
.enroll-reset-btn, .enroll-prev-btn { border: 1px solid #cfdae7; background: #f3f6fa; color: #2b3f5d; }
.enroll-next-btn, .enroll-submit-btn { border: 1px solid var(--primary-deep); background: linear-gradient(180deg, #1f5598 0%, #173f75 100%); color: #fff; }
@media (max-width: 1100px) {
  .enroll-progress-shell { grid-template-columns: 1fr; }
  .enroll-summary-card { position: static; }
}
@media (max-width: 900px) {
  .page { padding: 14px; }
  .brand-area { min-width: 0; width: 100%; }
  .brand-copy { min-width: 0; }
  .brand-copy h1 { font-size: 18px; line-height: 1.3; }
  .header-top-row, .section-head, .enroll-card-head, .enroll-progress-top, .enroll-actions { flex-direction: column; align-items: flex-start; }
  .header-actions { width: 100%; }
  .header-actions > * { width: 100%; justify-content: center; }
  .main-nav { flex-wrap: wrap; padding: 6px; }
  .main-nav a { flex: 1 1 calc(50% - 6px); min-width: 0; padding: 12px 10px; text-align: center; }
  .enroll-progress-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .enroll-hero { grid-template-columns: 1fr; }
  .enroll-hero-copy h2 { font-size: 30px; line-height: 1.28; }
  .enroll-hero-status { width: 100%; text-align: left; }
  .enroll-card-head p { max-width: none; text-align: left; }
  .enroll-grid-2, .enroll-bank-grid { grid-template-columns: 1fr; }
  .enroll-actions-group { width: 100%; flex-direction: column; }
  .enroll-reset-btn, .enroll-submit-btn, .enroll-prev-btn, .enroll-next-btn { width: 100%; }
}
@media (max-width: 560px) {
  .brand-copy h1 { font-size: 16px; }
  .main-nav a { flex-basis: 100%; }
  .enroll-progress-list { grid-template-columns: 1fr; }
  .enroll-progress-card, .enroll-summary-card, .enroll-card, .enroll-shell, .enroll-hero { padding: 16px; }
  .enroll-hero-copy h2 { font-size: 26px; }
}

/* Page typography: enroll */

body { font-size: 17px; }
.brand-kicker { font-size: 12px; }
.brand-copy h1 { font-size: 26px; }
.brand-sub-text,
.header-link-btn,
.main-nav a,
.section-side-text { font-size: 15px; }
.primary-btn,
.outline-btn,
.course-chip-btn,
.reset-btn,
select,
input,
textarea,
table,
button { font-size: 15px; }
.hero-label,
.section-kicker,
.enroll-card-kicker,
.summary-kicker,
.shortcut-eyebrow { font-size: 13px; }
.footer-meta-item span,
.footer-bottom,
.footer-links a { font-size: 14px; }
.footer-brand strong { font-size: 19px; }
.footer-brand p { font-size: 15px; line-height: 1.8; }
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand-copy h1 { font-size: 18px; }
}

.enroll-hero-copy h2 { font-size: 44px; line-height: 1.22; }
.enroll-hero-copy p { font-size: 18px; line-height: 1.85; }
.enroll-card-head h4,
.section-head h3 { font-size: 32px; }
.enroll-field span,
.enroll-field small { font-size: 14px; }
@media (max-width: 900px) {
  .enroll-hero-copy h2 { font-size: 38px; }
  .enroll-card-head h4,
  .section-head h3 { font-size: 29px; }
}
@media (max-width: 560px) {
  .enroll-hero-copy h2 { font-size: 31px; }
  .enroll-card-head h4,
  .section-head h3 { font-size: 27px; }
}

/* Branch pending option state 20260414-10 */
.enroll-select-option:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  background: #f4f6f8;
}

.enroll-select-option:disabled:hover {
  border-color: #d9e3ee;
  background: #f4f6f8;
}
