* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #eef3f8;
  --panel: #ffffff;
  --panel-soft: #f7f9fc;
  --line: #d7e0eb;
  --line-strong: #c4d0de;
  --text: #1e2b3c;
  --sub: #5f6f82;
  --primary: #1d4f91;
  --primary-deep: #143766;
  --primary-soft: #edf4fd;
  --navy: #20324f;
  --soft-blue: #f4f8fd;
  --shadow-sm: 0 8px 18px rgba(19, 39, 68, 0.05);
  --shadow-md: 0 16px 30px rgba(19, 39, 68, 0.08);
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --container: 1360px;
  --green-bg: #e8f7ee;
  --green-tx: #217a46;
  --yellow-bg: #fff4d6;
  --yellow-tx: #9a6b00;
  --red-bg: #ffe4e4;
  --red-tx: #c23b3b;
  --gray-bg: #edf1f6;
  --gray-tx: #5f6b7a;
  --font-body: "IBM Plex Sans KR", "Pretendard", "Noto Sans KR", sans-serif;
  --font-display: "IBM Plex Sans KR", "Pretendard", "Noto Sans KR", sans-serif;
}

html,
body {
  width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background:
    linear-gradient(180deg, #f5f8fc 0%, #edf2f7 100%);
}

button,
input,
select {
  font: inherit;
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 44px;
  background-color: #fff;
  background-image:
    linear-gradient(45deg, transparent 50%, #466181 50%),
    linear-gradient(135deg, #466181 50%, transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%);
  background-position:
    calc(100% - 20px) calc(50% - 3px),
    calc(100% - 14px) calc(50% - 3px),
    0 0;
  background-size: 6px 6px, 6px 6px, 100% 100%;
  background-repeat: no-repeat;
  cursor: pointer;
}

select:hover {
  border-color: #b9cbe0;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 24px 44px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.site-header {
  display: flex;
  flex-direction: column;
}

.banner-header {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

.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, 0.22) 0%, rgba(255, 255, 255, 0.1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.brand-mark span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(17, 45, 89, 0.22);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.6px;
}


.brand-kicker {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.brand-copy h1 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.brand-sub-text {
  display: inline-block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 500;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 12;
}

.header-actions .primary-btn,
.banner-action-row .primary-btn,
.shortcut-card {
  position: relative;
  z-index: 13;
  pointer-events: auto;
}

.outline-btn,
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.header-link-btn {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.header-link-btn::after {
  content: ">";
  margin-left: 6px;
}

.header-top-row .primary-btn {
  border: 1px solid #fff;
  background: #fff;
  color: var(--primary-deep);
}

.header-link-btn:hover,
.header-top-row .primary-btn:hover {
  transform: translateY(-1px);
}

.primary-btn.small {
  min-width: 96px;
  line-height: 1;
}

.header-top-row .primary-btn,
.banner-action-row .primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  line-height: 1;
  text-decoration: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 8px;
  background: #f7f9fc;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid var(--line);
}

.main-nav a {
  position: relative;
  padding: 14px 18px;
  color: #31435d;
  font-size: 14px;
  font-weight: 700;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 2px;
  background: transparent;
}

.main-nav a:hover {
  color: var(--primary);
  background: #eef4fb;
}

.main-nav a:hover::after {
  background: var(--primary);
}

.hero-section,
.course-section,
.schedule-section,
.info-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.banner-hero {
  padding: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.banner-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.88fr);
  gap: 24px;
  align-items: stretch;
}

.banner-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 12px 4px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 12px;
  border: 1px solid #d6e1f0;
  border-radius: 999px;
  background: #f5f9ff;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.banner-hero-content h2 {
  font-family: var(--font-display);
  margin-bottom: 14px;
  color: #1c2b40;
  font-size: 44px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -1px;
  word-break: keep-all;
}

.banner-lead {
  max-width: 700px;
  color: #5e7085;
  font-size: 16px;
  line-height: 1.8;
  word-break: keep-all;
}

.hero-bullet-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-bullet-list span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #dbe5f1;
  border-radius: 999px;
  background: #fff;
  color: #41556f;
  font-size: 13px;
  font-weight: 600;
}

.hero-info-boxes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.hero-info-box {
  padding: 14px 16px;
  border: 1px solid #d9e3ef;
  border-radius: 12px;
  background: #f8fbff;
}

.hero-info-box span {
  display: block;
  margin-bottom: 6px;
  color: #718097;
  font-size: 12px;
  font-weight: 700;
}

.hero-info-box strong {
  display: block;
  color: #21344f;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.banner-action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  position: relative;
  z-index: 12;
}

.banner-btn {
  min-width: 148px;
  height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.banner-action-row .primary-btn,
.course-search-btn,
.course-primary-btn,
.apply-btn {
  border: 1px solid var(--primary-deep);
  background: linear-gradient(180deg, #1f5598 0%, #173f75 100%);
  color: #fff;
}

.hero-link-btn {
  border: none;
  background: transparent;
  color: #31527b;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.hero-link-btn::after {
  content: "›";
  margin-left: 6px;
}

.banner-btn:hover,
.hero-link-btn:hover,
.course-search-btn:hover,
.course-nav-btn:hover,
.course-chip-btn:hover,
.apply-btn:hover,
.course-primary-btn:hover {
  transform: translateY(-1px);
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(29, 79, 145, 0.22);
  outline-offset: 2px;
}

.banner-hero-visual {
  display: flex;
  align-items: stretch;
  min-width: 0;
}

.banner-visual-panel {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fbff 0%, #f1f6fb 100%);
}

.portal-summary-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  border: 1px solid #cfdbea;
  border-radius: 14px;
  background: linear-gradient(180deg, #1f5598 0%, #173f75 100%);
  color: #fff;
}

.summary-kicker {
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.portal-summary-box strong {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
}

.portal-step-list {
  display: grid;
  gap: 10px;
}

.portal-step-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px;
  border: 1px solid #dbe4ef;
  border-radius: 14px;
  background: #fff;
}

.portal-step-item em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #edf4fd;
  color: var(--primary);
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
}

.portal-step-item strong {
  display: block;
  margin-bottom: 4px;
  color: #20314b;
  font-size: 16px;
  font-weight: 700;
}

.portal-step-item p {
  color: #627286;
  font-size: 13px;
  line-height: 1.65;
}

.portal-mini-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.portal-mini-board > div {
  padding: 14px;
  border: 1px solid #dce4ee;
  border-radius: 12px;
  background: #fff;
}

.portal-mini-board span {
  display: block;
  margin-bottom: 6px;
  color: #738299;
  font-size: 12px;
  font-weight: 600;
}

.portal-mini-board strong {
  display: block;
  color: #1d3659;
  font-size: 22px;
  font-weight: 700;
}

.shortcut-intro {
  margin-top: 22px;
  margin-bottom: 14px;
  padding: 0 2px;
}

.shortcut-eyebrow,
.section-kicker {
  margin-bottom: 6px;
  color: #6d7f95;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.1px;
}

.shortcut-intro-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.shortcut-intro-row strong,
.section-head h3 {
  font-family: var(--font-display);
  color: #1f2e43;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.shortcut-row.shortcut-row-5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  position: relative;
  z-index: 12;
}

.shortcut-card {
  --shortcut-accent: #1f5598;
  position: relative;
  min-height: 152px;
  padding: 14px 16px 16px;
  border: 1px solid #cfd9e6;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafe 100%);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.shortcut-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(90deg, var(--shortcut-accent) 0%, color-mix(in srgb, var(--shortcut-accent) 68%, white) 100%);
  pointer-events: none;
}

.shortcut-card::after {
  content: "바로가기";
  position: absolute;
  right: 14px;
  bottom: 14px;
  color: #6f7f93;
  font-size: 11px;
  font-weight: 700;
  pointer-events: none;
}

.shortcut-card:hover {
  transform: translateY(-1px);
  border-color: #aebfd5;
  background: linear-gradient(180deg, #ffffff 0%, #f2f7fd 100%);
  box-shadow: 0 8px 18px rgba(19, 39, 68, 0.06);
}

.shortcut-card:active {
  transform: translateY(0);
}

.shortcut-card.is-disabled {
  opacity: 1;
}

.shortcut-state {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 8px;
  border: 1px solid #d4dde8;
  border-radius: 999px;
  background: #fff;
  color: #6a788a;
  font-size: 10px;
  font-weight: 800;
}

.card-blue {
  --shortcut-accent: #1f5598;
}

.card-navy {
  --shortcut-accent: #27416e;
}

.card-teal {
  --shortcut-accent: #2b6873;
}

.card-gray {
  --shortcut-accent: #738299;
}

.card-indigo {
  --shortcut-accent: #4a5f9d;
}

.shortcut-icon,
.shortcut-card strong,
.shortcut-card em {
  position: relative;
  z-index: 1;
}

.shortcut-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 24px;
  margin-bottom: 14px;
  padding: 0 10px;
  border: 1px solid color-mix(in srgb, var(--shortcut-accent) 18%, white);
  border-radius: 999px;
  background: color-mix(in srgb, var(--shortcut-accent) 10%, white);
  color: var(--shortcut-accent);
  font-size: 11px;
  font-weight: 800;
}

.shortcut-card strong {
  display: block;
  margin-bottom: 8px;
  padding-right: 44px;
  color: #213047;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.32;
}

.shortcut-card em {
  display: block;
  max-width: 92%;
  color: #617187;
  font-style: normal;
  font-size: 12px;
  line-height: 1.6;
}

.course-section,
.schedule-section,
.info-panel {
  padding: 24px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.section-head.mini {
  align-items: center;
}

.section-side-text,
.course-slider-info,
.course-slider-nav span,
.more-link {
  color: var(--sub);
  font-size: 13px;
  font-weight: 600;
}

.compact-course-section {
  overflow: hidden;
}

.course-control-bar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid #e1e8f1;
  border-radius: 16px;
  background: #f8fbff;
}

.course-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.course-search-box input {
  flex: 1;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #cfd9e6;
  border-radius: 10px;
  background: #fff;
  color: #23314c;
  font-size: 14px;
  outline: none;
}

.course-search-box input:focus {
  border-color: #90add4;
  box-shadow: 0 0 0 4px rgba(29, 79, 145, 0.08);
}


.course-category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.course-chip-btn {
  height: 36px;
  padding: 0 14px;
  border: 1px solid #d3ddea;
  border-radius: 999px;
  background: #fff;
  color: #44546a;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.course-chip-btn.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.course-slider-shell {
  padding: 18px;
  border: 1px solid #dce5ef;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
}

.course-slider-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.course-slider-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.course-nav-btn {
  width: 36px;
  height: 36px;
  border: 1px solid #d6dfeb;
  border-radius: 10px;
  background: #fff;
  color: var(--primary);
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

.course-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.course-slider-viewport {
  overflow: hidden;
}

.course-slider-track {
  display: flex;
  transition: transform 0.3s ease;
}

.course-slide-page {
  display: grid;
  min-width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.course-slide-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  padding: 20px;
  border: 1px solid #d7e0ea;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94);
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.course-slide-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 6px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(90deg, #2b5ea4 0%, #1b8a8b 100%);
}

.course-slide-card:hover {
  border-color: #b8cadf;
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.course-slide-card:active {
  background: #f8fbff;
}

.course-slide-card.active {
  border-color: #b7cbe4;
  background: #f8fbff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.course-slide-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.course-level-badge,
.course-category-label,
.course-slide-points span,
.badge,
.people-chip,
.notice-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.course-level-badge,
.course-slide-points span {
  background: #edf4fd;
  color: #29538f;
}

.course-category-label,
.people-chip {
  background: #f1f4f8;
  color: #5c6b7f;
}

.course-slide-card h4 {
  margin-bottom: 12px;
  color: #1b2940;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: -0.5px;
  word-break: keep-all;
}

.course-slide-desc {
  display: -webkit-box;
  margin-bottom: 12px;
  overflow: hidden;
  color: #5f7086;
  font-size: 13px;
  line-height: 1.72;
  word-break: keep-all;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}


.course-detail-notes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid #dce6f1;
  border-radius: 12px;
  background: linear-gradient(180deg, #f7fbff 0%, #f2f7fc 100%);
}

.course-detail-note {
  position: relative;
  padding-left: 14px;
  color: #32465f;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  word-break: keep-all;
}

.course-detail-note::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #2b5ea4;
}

.course-slide-detail-link-wrap {
  margin-bottom: 14px;
}

.course-detail-link {
  padding: 0;
  border: none;
  background: transparent;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.course-detail-link:hover {
  color: var(--primary-deep);
}

.course-slide-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
  padding-top: 2px;
}

.course-slide-meta .meta-box {
  padding: 11px 10px;
  border: 1px solid #dee7f0;
  border-radius: 10px;
  background: #f7fafc;
}

.course-slide-meta .meta-box span {
  display: block;
  margin-bottom: 6px;
  color: #77859a;
  font-size: 11px;
  font-weight: 600;
}

.course-slide-meta .meta-box strong {
  display: block;
  color: #213250;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.course-slide-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  padding-top: 2px;
}

.course-slide-actions {
  margin-top: auto;
}

.course-slide-actions.single {
  display: block;
}

.course-slide-actions.single .course-primary-btn {
  width: 100%;
  height: 42px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
}

.course-primary-btn:disabled,
.apply-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.course-empty-state {
  padding: 36px 16px;
  color: #697487;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.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;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid #e1e8f1;
  border-radius: 16px;
  background: #f8fbff;
}

.toolbar select {
  min-width: 170px;
  height: 42px;
  padding: 0 44px 0 14px;
  border: 1px solid #ced9e6;
  border-radius: 10px;
  color: #273753;
  font-size: 13px;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.reset-btn {
  min-width: 96px;
  height: 42px;
  border: 1px solid #d4dde8;
  border-radius: 10px;
  background: #f3f6fa;
  color: #536377;
  font-size: 12px;
  font-weight: 600;
}

.reset-btn:hover {
  background: #eef3f8;
  border-color: #c7d2df;
  box-shadow: none;
  transform: none;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #dce4ee;
  border-radius: 16px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

table {
  width: 100%;
  min-width: 980px;
  border-collapse: separate;
  border-spacing: 0;
}

thead th {
  padding: 15px 10px;
  border-bottom: 1px solid #d7e0ea;
  background: linear-gradient(180deg, #f7faff 0%, #eef4fb 100%);
  color: #31445f;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

tbody td {
  padding: 15px 10px;
  border-top: 1px solid #eef2f7;
  color: #29364b;
  font-size: 13px;
  text-align: center;
  white-space: nowrap;
  background: #fff;
}

tbody tr:nth-child(even) td {
  background: #fbfcfe;
}

tbody tr:hover td {
  background: #f5f9fe;
}

.badge.green {
  background: var(--green-bg);
  color: var(--green-tx);
}

.badge.yellow {
  background: var(--yellow-bg);
  color: var(--yellow-tx);
}

.badge.red {
  background: var(--red-bg);
  color: var(--red-tx);
}

.badge.gray {
  background: var(--gray-bg);
  color: var(--gray-tx);
}

.apply-btn {
  min-width: 62px;
  height: 34px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  box-shadow: none;
}

.empty-row td {
  padding: 32px 14px;
  color: var(--sub);
  font-weight: 600;
}

.apply-guide-cards {
  gap: 10px;
}

@media (max-width: 1200px) {
  .apply-main-grid {
    grid-template-columns: 1fr;
  }

  .apply-topbar-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .apply-progress-list {
    flex-wrap: wrap;
  }

  .apply-summary-panel {
    position: static;
  }
}

@media (max-width: 768px) {
  .apply-topbar {
    padding: 16px 18px;
  }

  .apply-topbar-head,
  .apply-section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .apply-topbar-status {
    width: 100%;
    text-align: left;
  }

  .apply-topbar-meta,
  .apply-submit-bar,
  .apply-action-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .apply-topbar-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .apply-progress-list,
  .apply-field-grid,
  .apply-field-grid-2 {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .apply-section-head p {
    max-width: none;
    text-align: left;
  }

  .apply-nav-btn {
    width: 100%;
  }
}


.admin-page {
  gap: 20px;
}

.admin-section {
  padding: 22px;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.95fr);
  gap: 18px;
}

.admin-list-panel,
.admin-form-panel {
  padding: 18px;
}

.admin-table-wrap {
  margin-top: 10px;
}

.admin-form {
  margin-top: 12px;
}

.admin-action-row {
  margin-top: 18px;
  justify-content: flex-start;
}

.admin-row-selected {
  background: #f4f8fd;
}

.admin-edit-btn {
  min-width: 76px;
}

@media (max-width: 1080px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }
}




/* Enroll Page */
.enroll-page {
  max-width: 1160px;
}

.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-top: 8px;
  color: #1d2b40;
  font-size: 38px;
  line-height: 1.22;
  letter-spacing: -0.8px;
}

.enroll-hero-copy p {
  max-width: 760px;
  margin-top: 12px;
  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;
}

.enroll-head {
  margin-bottom: 20px;
}

.enroll-form {
  display: grid;
  gap: 18px;
}

.enroll-card {
  padding: 22px;
  border: 1px solid #dce5ef;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.enroll-card-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.enroll-card-kicker {
  margin-bottom: 6px;
  color: #6d7f95;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.1px;
}

.enroll-card-head h4 {
  color: #1e2f48;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.enroll-card-head p {
  max-width: 420px;
  color: var(--sub);
  font-size: 13px;
  line-height: 1.7;
  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-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-check-list {
  display: grid;
  gap: 10px;
}

.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-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.enroll-reset-btn,
.enroll-submit-btn {
  min-width: 132px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.enroll-reset-btn {
  border: 1px solid #cfdae7;
  background: #f3f6fa;
  color: #2b3f5d;
}

.enroll-submit-btn {
  border: 1px solid var(--primary-deep);
  background: linear-gradient(180deg, #1f5598 0%, #173f75 100%);
  color: #fff;
}

.notice-box.success {
  border: 1px solid #d0ebd8;
  background: #eefaf2;
  color: #217a46;
}

@media (max-width: 900px) {
  .enroll-hero {
    grid-template-columns: 1fr;
  }

  .enroll-hero-status {
    text-align: left;
  }

  .enroll-card-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .enroll-card-head p {
    max-width: none;
    text-align: left;
  }

  .enroll-grid-2,
  .enroll-bank-grid {
    grid-template-columns: 1fr;
  }

  .enroll-actions {
    flex-direction: column;
  }

  .enroll-reset-btn,
  .enroll-submit-btn {
    width: 100%;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-meta {
    justify-content: flex-start;
    width: 100%;
  }
}


.site-footer {
  display: grid;
  gap: 14px;
  padding: 22px 2px 6px;
  border-top: 1px solid #d7e1ec;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.85fr);
  gap: 20px 28px;
  align-items: start;
}

.footer-brand strong {
  display: block;
  color: #20324f;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.footer-brand p {
  margin-top: 8px;
  color: #637387;
  font-size: 12px;
  line-height: 1.9;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.footer-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #dbe4ee;
  border-radius: 999px;
  background: #f8fbfe;
}

.footer-meta-item span {
  color: #708094;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.footer-meta-item strong {
  color: #213651;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid #e1e8f0;
}

.footer-bottom p {
  color: #7a8899;
  font-size: 11px;
  font-weight: 600;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-links a {
  color: #395f90;
  font-size: 11px;
  font-weight: 800;
}

.footer-links a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .page {
    padding: 14px;
    gap: 14px;
  }

  .header-top-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
    gap: 14px;
  }

  .brand-area {
    min-width: 0;
    width: 100%;
    align-items: flex-start;
  }

  .brand-copy {
    min-width: 0;
  }

  .brand-copy h1 {
    font-size: 18px;
    line-height: 1.3;
    word-break: keep-all;
  }

  .brand-sub-text {
    line-height: 1.5;
  }

  .header-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .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;
    font-size: 13px;
  }

  .main-nav a::after {
    left: 10px;
    right: 10px;
  }

  .banner-hero {
    padding: 16px;
  }

  .banner-hero-inner,
  .hero-info-boxes,
  .portal-mini-board,
  .shortcut-row.shortcut-row-5,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .banner-hero-content h2 {
    font-size: 30px;
    line-height: 1.28;
  }

  .banner-lead {
    font-size: 14px;
    line-height: 1.7;
  }

  .banner-action-row {
    flex-direction: column;
    align-items: stretch;
  }

  .banner-btn,
  .hero-link-btn {
    width: 100%;
    justify-content: center;
  }

  .shortcut-card strong {
    padding-right: 0;
  }

  .section-head,
  .course-slider-top,
  .shortcut-intro-row,
  .footer-bottom,
  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .course-section,
  .schedule-section,
  .info-panel {
    padding: 18px 16px;
  }

  .table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 560px) {
  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand-mark span {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .brand-kicker {
    font-size: 9px;
    letter-spacing: 0.8px;
  }

  .brand-copy h1 {
    font-size: 16px;
  }

  .main-nav a {
    flex-basis: 100%;
  }

  .banner-hero-content h2 {
    font-size: 26px;
  }

  .hero-bullet-list span,
  .hero-info-box strong,
  .portal-summary-box strong,
  .shortcut-card strong {
    word-break: keep-all;
  }

  .portal-step-item {
    grid-template-columns: 1fr;
  }

  .portal-step-item em {
    width: 42px;
    height: 42px;
  }

  .course-slider-shell,
  .banner-visual-panel {
    padding: 14px;
  }

  .course-slide-page,
  .course-slide-meta {
    grid-template-columns: 1fr;
  }
}
