@charset "utf-8";

:root {
  --sa-auth-bg: #f3f0e8;
  --sa-auth-panel: #fff;
  --sa-auth-ink: #111d22;
  --sa-auth-muted: #68767d;
  --sa-auth-line: #d8d2c6;
  --sa-auth-dark: #203c30;
  --sa-auth-accent: #b2823e;
  --sa-auth-blue: #0b6fb8;
}


/* Auth pages are loaded through GnuBoard member skins, sometimes after the
   default community header has already been printed. Keep this reset free of
   :has() so older browsers and server-side layouts still render correctly. */
html,
body {
  min-width: 0 !important;
  width: 100% !important;
  min-height: 100vh;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--sa-auth-bg) !important;
}

#hd,
#ft,
#aside,
#hd_login_msg,
#skip_to_container,
#container_title,
.site-header,
.site-footer {
  display: none !important;
}

#wrapper,
#container_wr,
#container,
#contents,
.contents {
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: var(--sa-auth-bg) !important;
}

#container {
  position: static !important;
}

body:has(.sa-auth-page) {
  background: var(--sa-auth-bg);
}

body:has(.sa-auth-page) .site-header,
body:has(.sa-auth-page) .site-footer,
body:has(.sa-auth-page) #hd,
body:has(.sa-auth-page) #ft,
body:has(.sa-auth-page) #hd_login_msg {
  display: none !important;
}

body:has(.sa-auth-page) .site-main,
body:has(.sa-auth-page) #wrapper,
body:has(.sa-auth-page) #container,
body:has(.sa-auth-page) #container_wr {
  min-height: 100vh;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: none !important;
  background: var(--sa-auth-bg);
}

.sa-auth-page {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: minmax(520px, 38vw) minmax(0, 1fr);
  background: var(--sa-auth-bg);
  color: var(--sa-auth-ink);
  font-family: "Pretendard", "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
}

.sa-auth-visual {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  color: #fff;
  background: #0f1d20 url('../../../assets/img/sub/education/education-room.jpg') center/cover no-repeat;
  overflow: hidden;
}

.sa-auth-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 32, 46, .72) 0%, rgba(8, 22, 18, .86) 100%);
}

.sa-auth-visual-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 82px min(5vw, 72px) 70px;
}

.sa-auth-org {
  margin: 0;
  color: #fff;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.4;
}

.sa-auth-kicker {
  margin: 4px 0 92px;
  color: #e6ba67;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.sa-auth-visual h1 {
  margin: 0;
  font-size: clamp(42px, 4.5vw, 64px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0;
}

.sa-auth-desc {
  max-width: 620px;
  margin: 26px 0 0;
  color: rgba(255,255,255,.9);
  font-size: 18px;
  line-height: 1.78;
}

.sa-auth-feature-list,
.sa-auth-step-list {
  margin: auto 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255,255,255,.28);
}

.sa-auth-feature-list li,
.sa-auth-step-list li {
  padding: 23px 0;
  border-bottom: 1px solid rgba(255,255,255,.22);
}

.sa-auth-feature-list strong,
.sa-auth-step-list strong {
  display: block;
  margin-bottom: 8px;
  color: #f1c36e;
  font-size: 17px;
  font-weight: 900;
}

.sa-auth-feature-list span,
.sa-auth-step-list span {
  display: block;
  color: rgba(255,255,255,.86);
  font-size: 14px;
  line-height: 1.65;
}

.sa-auth-step-list li.is-active {
  background: rgba(0,0,0,.18);
  padding-left: 18px;
  padding-right: 18px;
}

.sa-auth-panel {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 48px;
}

.sa-auth-card {
  width: min(100%, 460px);
  padding: 44px 42px;
  border: 1px solid var(--sa-auth-line);
  background: var(--sa-auth-panel);
}

.sa-auth-card-wide {
  width: min(100%, 920px);
  padding: 44px;
}

.sa-form-card {
  width: min(100%, 980px);
}

.sa-auth-card-head {
  margin-bottom: 30px;
}

.sa-auth-card-head span {
  display: block;
  margin-bottom: 16px;
  color: var(--sa-auth-accent);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.sa-auth-card-head h2 {
  margin: 0;
  color: var(--sa-auth-ink);
  font-size: 38px;
  line-height: 1.22;
  font-weight: 900;
}

.sa-auth-card-head p {
  margin: 12px 0 0;
  color: var(--sa-auth-muted);
  font-size: 16px;
  line-height: 1.7;
}

.sa-auth-card-head p strong {
  color: var(--sa-auth-ink);
}

.sa-auth-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.sa-auth-fieldset legend,
.sound_only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.sa-auth-card label,
.register_form_inner label {
  display: block;
  margin: 20px 0 9px;
  color: #20282c;
  font-size: 15px;
  font-weight: 900;
}

.sa-auth-card input[type="text"],
.sa-auth-card input[type="password"],
.sa-auth-card input[type="email"],
.sa-auth-card input[type="tel"],
.sa-auth-card input[type="file"],
.sa-auth-card select,
.sa-auth-card textarea,
.register_form_inner .frm_input,
#fregisterform .frm_input,
#fregisterform select,
#fregisterform textarea {
  width: 100%;
  min-height: 54px;
  padding: 0 17px;
  border: 1px solid #d5cfc3;
  border-radius: 0;
  color: var(--sa-auth-ink);
  background: #f8fbff;
  font-size: 15px;
  outline: none;
}

.sa-auth-card textarea,
#fregisterform textarea {
  min-height: 140px;
  padding-top: 14px;
  line-height: 1.7;
}

.sa-auth-card input:focus,
.sa-auth-card select:focus,
.sa-auth-card textarea:focus {
  border-color: var(--sa-auth-dark);
  background: #fff;
}

.sa-login-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 18px 0 24px;
  color: #263237;
  font-size: 14px;
}

.sa-login-meta label,
.sa-check-label,
.sa-check-all label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  cursor: pointer;
  font-weight: 800;
}

.sa-login-meta a,
.sa-auth-card-foot a,
.sa-auth-home {
  color: var(--sa-auth-ink);
  font-weight: 900;
  text-decoration: none;
}

.sa-auth-submit,
.sa-auth-btn,
.btn_submit,
.reg_btn_submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border: 0;
  text-decoration: none;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
}

.sa-auth-submit,
.sa-auth-btn.primary,
.btn_submit,
.reg_btn_submit {
  width: 100%;
  color: #fff !important;
  background: var(--sa-auth-dark) !important;
}

.sa-auth-btn.secondary,
.btn_close {
  color: var(--sa-auth-ink) !important;
  border: 1px solid var(--sa-auth-ink) !important;
  background: #fff !important;
}

.sa-auth-card-foot {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--sa-auth-line);
  text-align: center;
}

.sa-auth-card-foot p {
  margin: 0 0 18px;
  color: var(--sa-auth-muted);
}

.sa-auth-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.sa-auth-actions.single {
  grid-template-columns: 1fr;
}

.sa-agree-box {
  margin-top: 16px;
  border: 1px solid #d9dee4;
  background: #fff;
}

.sa-agree-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 19px 22px;
  border-bottom: 1px solid #e5e5e5;
}

.sa-agree-head h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
}

.sa-agree-box textarea {
  display: block;
  width: 100%;
  height: 150px;
  padding: 22px;
  border: 0;
  background: #fff;
  resize: vertical;
  line-height: 1.8;
}

.sa-private-table {
  padding: 22px;
}

.sa-private-table table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.sa-private-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sa-private-table th,
.sa-private-table td {
  padding: 15px 14px;
  border: 1px solid #dce1e5;
  text-align: left;
  line-height: 1.6;
}

.sa-private-table th {
  background: #f7f8fa;
  font-weight: 900;
}

.sa-check-all {
  margin: 18px 0 0;
  padding: 18px;
  border: 1px solid var(--sa-auth-line);
  background: #fffdf8;
}

#register_form {
  margin: 0;
  background: transparent;
}

.register_form_inner {
  margin: 0 0 22px !important;
  padding: 0;
  border: 1px solid #d9dee4;
  background: #fff;
}

.register_form_inner h2 {
  margin: 0;
  padding: 20px 24px;
  border-bottom: 1px solid #e5e8ec;
  font-size: 22px;
  font-weight: 900;
}

.register_form_inner ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
  margin: 0;
  padding: 24px;
  list-style: none;
}

.register_form_inner li {
  min-width: 0;
}

.register_form_inner li:not(.half_input),
.register_form_inner .is_captcha_use,
.register_form_inner .full_input_li {
  grid-column: 1 / -1;
}

#fregisterform .btn_confirm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.tooltip_icon,
.btn_frmline {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #cbd4dc;
  background: #fff;
  color: var(--sa-auth-ink);
  font-weight: 800;
}

.tooltip {
  display: none;
  margin-left: 8px;
  color: var(--sa-auth-muted);
  font-size: 13px;
}

#msg_mb_id,
#msg_mb_nick,
#msg_mb_email,
#msg_mb_hp,
.cert_desc,
.cert_req {
  display: block;
  margin-top: 7px;
  color: var(--sa-auth-blue);
  font-size: 13px;
}

.sa-result-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.sa-result-list li,
.sa-result-notice {
  padding: 16px 18px;
  border: 1px solid #e2e6ea;
  background: #f8fafb;
  color: #3f4d54;
  line-height: 1.7;
}

.sa-result-notice p {
  margin: 0 0 12px;
}

.sa-result-notice dl {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.sa-result-notice dl div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
}

.sa-result-notice dt,
.sa-result-notice dd {
  margin: 0;
}

.sa-result-notice dt {
  font-weight: 900;
}

#sns_login,
#sns_register {
  margin-top: 18px;
}

@media (max-width: 1100px) {
  .sa-auth-page {
    grid-template-columns: 1fr;
  }

  .sa-auth-visual {
    position: relative;
    min-height: auto;
  }

  .sa-auth-visual-inner {
    padding: 44px 28px;
  }

  .sa-auth-kicker {
    margin-bottom: 42px;
  }

  .sa-auth-feature-list,
  .sa-auth-step-list {
    margin-top: 44px;
  }

  .sa-auth-panel {
    min-height: auto;
    padding: 42px 20px;
  }
}

@media (max-width: 720px) {
  .sa-auth-card,
  .sa-auth-card-wide {
    padding: 30px 22px;
  }

  .sa-auth-card-head h2 {
    font-size: 30px;
  }

  .register_form_inner ul {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .register_form_inner li,
  .register_form_inner li.half_input {
    grid-column: 1 / -1;
  }

  .sa-auth-actions,
  #fregisterform .btn_confirm {
    grid-template-columns: 1fr;
  }

  .sa-private-table {
    overflow-x: auto;
  }

  .sa-private-table table {
    min-width: 620px;
  }

  .sa-login-meta {
    display: block;
  }

  .login_if_lpl {
    margin-top: 12px;
  }
}