@charset "utf-8";

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-rendering: geometricPrecision; }
html, body, #wrap { width: 100%; min-height: 100%; margin: 0; padding: 0; }
body {
  min-width: 0;
  min-height: 100vh;
  font-family: "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans KR", system-ui, "Segoe UI", sans-serif;
  font-size: 14px;
  color: #161616;
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: auto;
  background: linear-gradient(165deg, #e8f0ee 0%, #f4f5f5 45%, #dfe9e6 100%);
}
input, select, button, textarea { font-family: inherit; }

/* Keyboard-only shortcut to the primary login content. */
.skip-nav {
  position: absolute;
  top: -48px;
  left: 12px;
  z-index: 10000;
  padding: 10px 16px;
  background: #fff;
  color: #111;
  border: 2px solid #005a4e;
  border-radius: 4px;
}
.skip-nav:focus {
  top: 12px;
}

.login-shell { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.login-board {
  display: flex; width: 100%; max-width: 960px; min-height: 520px; overflow: hidden;
  background: #fff; border-radius: 12px;
  box-shadow: 0 8px 40px rgba(8,97,77,.12), 0 1px 0 rgba(255,255,255,.8) inset;
}
.notice-panel {
  flex: 1; min-width: 0; display: flex; flex-direction: column;
  border-right: 1px solid #e2e8e6; background: linear-gradient(180deg,#f8fbfa 0%,#fff 100%);
}
.notice-panel-hd { padding: 22px 22px 14px; border-bottom: 2px solid #08614d; }
.notice-panel-hd .k { font-size: 12px; font-weight: 700; color: #08614d; letter-spacing: .02em; }
.notice-panel-hd .tit { margin: 6px 0 0; padding: 0; font-size: 17px; font-weight: 800; color: #1a1a1a; text-align: left; }
.notice-list-wrap { flex: 1; max-height: 440px; overflow-y: auto; padding: 10px 14px 18px; }
.notice-item {
  width: 100%; margin: 0 0 8px; padding: 12px 14px; text-align: left;
  border: 1px solid #dde8e4; border-radius: 8px; background: #fff; cursor: pointer;
  font-family: inherit; transition: border-color .15s, box-shadow .15s;
}
.notice-item:hover { border-color: #08614d; box-shadow: 0 2px 8px rgba(8,97,77,.12); }
.notice-item:focus { outline: 2px solid rgba(8,97,77,.35); outline-offset: 1px; }
.notice-item .date { display: block; margin-bottom: 4px; font-size: 11px; color: #56645f; }
.notice-item .subject {
  display: -webkit-box; overflow: hidden; font-size: 13px; font-weight: 600; color: #2d3d38;
  line-height: 1.45; text-overflow: ellipsis; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.notice-state { padding: 60px 10px; text-align: center; font-size: 13px; color: #7b8783; }
.notice-foot { padding: 10px 18px 16px; border-top: 1px solid #eef3f1; font-size: 11px; color: #8a9591; }

.login-panel { flex: 0 0 380px; display: flex; flex-direction: column; justify-content: center; padding: 22px 36px 20px; }
.sys-brand { margin-bottom: 22px; }
.sys-brand .hd-logo { margin: 0 0 10px; padding: 0; line-height: 1; }
.sys-brand .hd-logo a {
  display: flex; width: 240px; max-width: 100%; height: 34px;
  overflow: hidden; color: transparent; text-indent: -9999px;
  background: url('../images/logo.png') no-repeat left center; background-size: contain;
}
.sys-brand .sys-title { margin: 0; text-align: center; font-size: 18px; font-weight: 800; color: #08614d; line-height: 1.4; letter-spacing: -.02em; }
.login-form .field { margin-bottom: 11px; }
.login-form label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; color: #4d5c56; }
.login-form .field-hint { margin: 6px 0 0; color: #56645f; font-size: 11.5px; line-height: 1.45; }
.login-form input[type="text"], .login-form input[type="password"] {
  width: 100%; height: 42px; padding: 0 14px; border: 1px solid #c8d5d0; border-radius: 6px; background: #fff; font-size: 14px;
}
.login-form input:focus { outline: 2px solid transparent; border-color: #08614d; box-shadow: 0 0 0 3px rgba(8,97,77,.12); }
.ui-version-field { margin-bottom: 14px; }
.ui-version-label {
  display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; color: #4d5c56;
}
.ui-version-toggle {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
/* .login-form label { display:block } 보다 우선해야 버튼이 깨지지 않음 */
.login-form label.ui-version-opt {
  position: relative;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin: 0; height: 40px; padding: 0 8px; border: 1px solid #c8d5d0; border-radius: 6px;
  background: #fff; cursor: pointer; font-size: 13px; font-weight: 700; color: #4d5c56;
  line-height: 1; user-select: none; box-sizing: border-box;
}
.login-form label.ui-version-opt input[type="radio"] {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: pointer;
}
.login-form label.ui-version-opt:has(input:checked),
.login-form label.ui-version-opt.is-on {
  border-color: #08614d; background: #eef7f4; color: #08614d;
  box-shadow: 0 0 0 3px rgba(8,97,77,.12);
}
.login-server-message { display: none; }
.login-error { display: none; margin: 0 0 14px; padding: 10px 12px; border: 1px solid #f2b8b8; border-radius: 6px; background: #fdecec; color: #b91c1c; font-size: 13px; font-weight: 600; line-height: 1.55; }
.login-error.show { display: block; }
.login-error .login-error-detail { display: block; margin-top: 4px; font-weight: 500; }
.login-error .login-error-detail b { font-weight: 800; }
.btn-login, .btn-user-reg { width: 100%; border-radius: 6px; font-weight: 700; cursor: pointer; }
.btn-login { height: 48px; margin-top: 8px; border: 0; background: #08614d; color: #fff; font-size: 15px; transition: background .15s; }
.btn-login:hover { background: #064a3a; }
.btn-user-reg { height: 44px; margin-top: 12px; border: 1px solid #08614d; background: #fff; color: #08614d; font-size: 14px; transition: background .15s, color .15s; }
.btn-user-reg:hover { background: #f0f7f5; }
.login-sec { margin: 13px 0 0; overflow: hidden; border: 1px solid #e2e8e5; border-radius: 8px; background: #f6f8f7; }
.login-sec > summary { display: flex; align-items: center; gap: 7px; padding: 9px 12px; color: #22332d; font-size: 12.5px; font-weight: 700; cursor: pointer; list-style: none; }
.login-sec > summary::-webkit-details-marker { display: none; }
.login-sec .chev { margin-left: auto; color: #6e7975; font-size: 10px; transition: transform .15s; }
.login-sec[open] > summary { border-bottom: 1px solid #e8edeb; }
.login-sec[open] > summary .chev { transform: rotate(180deg); }
.login-sec-body { margin: 0; padding: 9px 14px 11px; list-style: none; }
.login-sec-body li { position: relative; margin: 3px 0; padding-left: 15px; color: #5b6a64; font-size: 11.5px; line-height: 1.6; }
.login-sec-body li::before { position: absolute; top: 9px; left: 3px; width: 4px; height: 4px; border-radius: 50%; background: #08614d; content: ''; }
.login-sec-body li b { color: #2f3d38; }
.login-help { margin: 13px 0 0; padding-top: 11px; border-top: 1px solid #eef3f1; font-size: 11px; color: #56645f; line-height: 1.5; text-align: center; }
.login-foot-links { margin-top: 8px; text-align: center; }
.login-foot-links a { color: #66736f; font-size: 11px; text-decoration: none; }
.login-foot-links a:hover, .login-foot-links a:focus-visible { color: #08614d; text-decoration: underline; }
.login-links { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; }
.login-links button { padding: 0; border: 0; background: none; color: #08614d; font-size: 12px; cursor: pointer; }
.login-links button:hover { text-decoration: underline; }
.login-links .sep { color: #cbd5d1; }
.login-links .ext-hint { margin-left: 2px; color: #56645f; font-size: 10.5px; }
.login-help-content { min-height: 0; }
.login-help-content p { margin: 0 0 12px; }
.login-help-content p:last-child { margin-bottom: 0; }

.notice-detail-overlay { display: none; position: fixed; inset: 0; z-index: 11000; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,.45); }
.notice-detail-overlay.open { display: flex; }
.notice-detail-modal { width: min(560px, 100%); max-height: calc(100vh - 40px); overflow: hidden; border-radius: 10px; background: #fff; box-shadow: 0 20px 60px rgba(0,0,0,.2); }
.notice-detail-modal header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 2px solid #08614d; background: #f8fbfa; }
.notice-detail-modal h3 { margin: 0; font-size: 17px; }
.notice-detail-modal header button { width: 32px; height: 32px; border: 0; border-radius: 5px; background: transparent; color: #66736f; font-size: 24px; cursor: pointer; }
.notice-detail-meta { padding: 12px 20px; border-bottom: 1px solid #eef3f1; color: #7b8783; font-size: 12px; }
.notice-detail-content { min-height: 180px; max-height: 50vh; overflow-y: auto; padding: 22px 20px; color: #2d3d38; font-size: 14px; line-height: 1.75; white-space: pre-wrap; word-break: break-word; }
.notice-detail-modal footer { padding: 14px 20px 18px; border-top: 1px solid #eef3f1; text-align: center; }
.notice-detail-modal footer button { min-width: 100px; height: 40px; border: 0; border-radius: 6px; background: #08614d; color: #fff; font-weight: 700; cursor: pointer; }
.notice-detail-modal.login-help-modal { width: min(440px, 100%); border-radius: 12px; }
.login-help-modal header { gap: 12px; padding: 18px 22px 14px; }
.login-help-modal header h3 { flex: 1; font-size: 15px; color: #111827; }
.login-help-icon { display: flex; flex: 0 0 38px; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 8px; background: #08614d; color: #fff; font-size: 18px; font-weight: 800; }
.login-help-modal .login-help-content { min-height: 0; padding: 22px; color: #374151; font-size: 13px; line-height: 1.65; white-space: normal; }
.login-help-modal .login-help-content p { margin: 0; }
.login-help-modal .login-help-content p + p { margin-top: 8px; }
.login-help-modal .login-help-content a { color: #08614d; font-weight: 600; }
.login-help-modal footer { display: flex; justify-content: flex-end; padding: 14px 22px; background: #fafafa; }
.login-help-modal footer button { min-width: 0; height: 36px; padding: 0 22px; font-size: 13px; }

body.modal-open { overflow: hidden; }
.modal-overlay { display:none; position:fixed; inset:0; z-index:11000; align-items:center; justify-content:center; padding:20px; background:rgba(0,0,0,.45); }
.modal-overlay.open { display:flex; }
.user-apply-modal { display:flex; flex-direction:column; width:min(640px,100%); max-height:calc(100vh - 40px); overflow:hidden; border-radius:10px; background:#fff; box-shadow:0 20px 60px rgba(0,0,0,.2); }
.user-apply-modal--result { width:min(380px,100%); }
.user-apply-hd { display:flex; align-items:center; justify-content:space-between; padding:16px 20px; border-bottom:2px solid #08614d; background:#f8fbfa; }
.user-apply-hd h3 { margin:0; font-size:17px; }.modal-close { width:32px; height:32px; border:0; background:transparent; color:#66736f; font-size:24px; cursor:pointer; }
.user-apply-body { overflow-y:auto; padding:20px; }.ua-field { margin-bottom:14px; }.ua-form label { display:block; margin-bottom:6px; color:#4d5c56; font-size:12px; font-weight:600; }.required { color:#b42318; }
.ua-form input,.ua-form select { width:100%; height:42px; padding:0 12px; border:1px solid #c8d5d0; border-radius:6px; font-size:14px; }.ua-form input:focus,.ua-form select:focus { outline: 2px solid transparent; border-color:#08614d; box-shadow:0 0 0 3px rgba(8,97,77,.12); }
.ua-id-row { display:flex; gap:8px; }.ua-id-row input { flex:1; min-width:0; }.btn-id-check,.btn-terms-agree { border:0; border-radius:6px; background:#08614d; color:#fff; font-weight:700; cursor:pointer; }.btn-id-check { width:92px; }.ua-field-hint { margin:4px 0 0; font-size:12px; color:#6b7a76; font-weight:400; }.ua-field-msg { min-height:18px; margin:6px 0 0; font-size:12px; color:#6b7a76; }.ua-field-msg.ok,.ua-agree-badge { color:#08614d; }.ua-field-msg.err { color:#b42318; }.ua-form input.ua-invalid,.ua-form select.ua-invalid { border-color:#b42318; }
.ua-consent-wrap { padding-top:14px; border-top:1px solid #eef3f1; }.ua-consent-row { display:flex !important; gap:10px; align-items:flex-start; cursor:pointer; }.ua-consent-row input { width:18px; height:18px; margin:1px 0 0; }.ua-consent-row--disabled { opacity:.65; cursor:not-allowed; }.ua-terms-block { display:none; margin-top:12px; overflow:hidden; border:1px solid #dde8e4; border-radius:6px; }.ua-terms-block.show { display:block; }.ua-terms-scroll { max-height:200px; overflow-y:auto; padding:14px 16px; font-size:12px; line-height:1.6; }.ua-terms-scroll h3, .ua-terms-scroll h4 { margin:0 0 8px; color:#08614d; }.ua-terms-foot { padding:12px 16px; border-top:1px solid #dde8e4; text-align:right; }.btn-terms-agree { width:72px; height:34px; }.ua-agree-badge { display:none; margin-top:8px; font-size:12px; font-weight:700; }.ua-agree-badge.show { display:block; }
.user-apply-ft { display:flex; gap:8px; padding:16px 20px 20px; }.user-apply-ft[hidden] { display:none; }.user-apply-ft button { flex:1; height:44px; border-radius:6px; font-weight:700; cursor:pointer; }.btn-ghost { border:1px solid #c8d5d0; background:#fff; color:#4d5c56; }.btn-primary { border:0; background:#08614d; color:#fff; }.btn-primary:disabled { background:#a8bdb5; cursor:not-allowed; }.user-apply-result { padding:32px 24px 24px; text-align:center; }.ua-result-txt { margin:0 0 10px; font-size:16px; font-weight:700; }.ua-result-sub { margin:0; color:#4d5c56; }

.pop_bg_alert { position: fixed; inset: 0; z-index: 10009; background: rgba(0,0,0,.5); }
.commonDetailPop { background: #fff; border-radius: 10px !important; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.alert_pop,
.login_alert_pop {
  width: 420px !important;
  max-width: calc(100vw - 40px) !important;
  height: auto !important;
  max-height: none !important;
  z-index: 10010 !important;
  overflow: visible !important;
}
.alert_pop .ui-dialog-content,
.login_alert_pop .ui-dialog-content {
  width: auto !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}
.colour a { background-color: #222223 !important; }
.btnA a { height: 28px; padding: 0 10px; border-radius: 4px; color: #fff !important; font-size: 14px; }
.red { color: #d2492c; }

/* Existing authentication alerts retained without default.css. */
.alert_bg .pop { width: 100%; height: auto; background: #fff; box-sizing: border-box; }
.alert_bg .pop .con_bg { display: table; width: calc(100% - 30px); min-height: 88px; margin: 15px; box-sizing: border-box; }
.alert_bg .pop .con_bg .con { display: table-cell; width: 100%; text-align: center; vertical-align: middle; }
.alert_bg .pop .con_bg .con p { margin: 0; padding: 3px 0; color: #474747; font-size: 15px; line-height: 20px; }
.alert_bg .pop .btn { padding: 0 15px 15px; }
.alert_bg .pop .btn ul { display: flex; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.alert_bg .pop .btn li { cursor: pointer; }
.alert_bg .pop .btn a { display: flex; align-items: center; justify-content: center; }
.commonDetailPop > .ui-dialog-titlebar { padding: 10px 12px !important; border: 0 !important; border-bottom: 1px solid #c4c4c4 !important; background: #fff !important; }
.commonDetailPop > .ui-dialog-titlebar .ui-dialog-title { color: #2d2a29; font-size: 17px; font-weight: 700; }
.commonDetailPop > .ui-dialog-content { padding: 0 !important; overflow: visible !important; }

@media (max-width: 900px) {
  .login-board { max-width: 440px; flex-direction: column; }
  .notice-panel { border-right: 0; border-bottom: 1px solid #e2e8e6; }
  .notice-list-wrap { max-height: 280px; }
  .login-panel { flex: 1; width: 100%; }
}
