
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400..900&display=swap');

.noto-sans-kr-<uniquifier> {
  font-family: "Noto Sans KR", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

:root {
    /* Brand Colors */
    --snu-blue: #19398A;
    --snu-blue-hover: #142d6e;
    --snu-gold: #b4985a;

    /* Typography */
    --text-main: #222222;
    --text-muted: #6b7280;

    /* UI Colors */
    --bg-page: #ffffff;
    --bg-card: #ffffff;
    --bg-input: #f8fafc;
    --bg-table-head: #f1f5f9;
    --border-color: #cbd5e1;

    /* Mobile Menu Colors */
    --mobile-menu-bg: #1a1a1a;
    --mobile-menu-border: #333333;
    --snu-light-green: #a4d68e;

    /* Radii & Transitions */
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.2s ease-in-out;
}
html {
  font-size: 16px
}
body {
    background-color: var(--bg-page);
    color: var(--text-main);
    font-family: 'Noto Sans KR', sans-serif !important;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;font-weight:400; color: #222;
}



/* ---------------------------------------------------
   Utility Classes
--------------------------------------------------- */
.w-px-50 { width: 50px; }
.w-px-60 { width: 60px; }
.w-px-70 { width: 70px; }
.w-px-80 { width: 80px; }
.w-px-90 { width: 90px; }
.w-px-100 { width: 100px; }
.w-px-120 { width: 120px; }
.w-px-150 { width: 150px; }
.w-px-180 { width: 180px; }
.w-px-200 { width: 200px; }
.w-px-250 { width: 250px; }
.w-px-300 { width: 300px; }

.max-w-50 { max-width: 50px; }
.max-w-80 { max-width: 80px; }
.max-w-100 { max-width: 100px; }
.max-w-150 { max-width: 150px; }
.max-w-200 { max-width: 200px; }
.max-w-250 { max-width: 250px; }
.max-w-300 { max-width: 300px; }
.max-w-350 { max-width: 350px; }
.max-w-400 { max-width: 400px; }
.max-w-450 { max-width: 450px; }
.max-w-500 { max-width: 500px; }

.min-w-100 { min-width: 100px !important; }
.min-w-120 { min-width: 120px !important; }
.min-w-150 { min-width: 150px !important; }
.min-w-200 { min-width: 200px !important; }
.min-w-300 { min-width: 300px !important; }
.min-w-400 { min-width: 400px !important; }
.min-w-500 { min-width: 500px !important; }
.min-w-600 { min-width: 600px !important; }
.min-w-700 { min-width: 700px !important; }
.min-w-800 { min-width: 800px !important; }
.min-w-900 { min-width: 900px !important; }
.min-w-1000 { min-width: 1000px !important; }


.min-h-150 { min-height: 150px; }
.min-h-200 { min-height: 200px; }
.min-h-250 { min-height: 250px; }
.min-h-300 { min-height: 300px; }

.fs-title-lg { font-size: 2rem; }
.fs-icon-sm { font-size: 0.7rem; }
.fs-icon-lg { font-size: 2.5rem; }
.fs-icon-xl { font-size: 3rem; }
.fs-icon-xxl { font-size: 5rem; }
.fs-micro { font-size: 0.65rem; }


.fw-300 {font-weight:300}
.fw-400 {font-weight:400}
.fw-500 {font-weight:500}
.fw-700 {font-weight:700}
.fw-900 {font-weight:900}


.circle-box-lg { width: 80px; height: 80px; }
.circle-box-xl { width: 120px; height: 120px; }

.tracking-wide { letter-spacing: 0.1em; }
.tracking-wider { letter-spacing: 0.2em; }

.bg-snu-blue { background-color: var(--snu-blue) !important; }
.bg-input-custom { background-color: var(--bg-input); }
.border-input-custom { border-color: var(--border-color) !important; }
.border-danger-soft { border-color: #fca5a5 !important; }

.text-blue { color: var(--snu-blue) !important; }
.text-snu-green { color: var(--snu-light-green) !important; }
.required-dot { color: #ef4444; margin-left: 4px; font-weight: bold; }

img {max-width:100%;}
a {text-decoration: none !important;}

.lnb-logo {max-height:120px;}


/* ---------------------------------------------------
   Layout
--------------------------------------------------- */
.app-layout { display: flex; min-height: 100vh; flex-direction: column; }

.sidebar-nav a {
  color: #fff !important;
  font-size: 15px;
  text-decoration: none;
  padding: 3px 5px;
  font-weight:400;letter-spacing:-0.05em;
}
.sidebar-nav a.active {
  position: relative; /* pseudo-element의 기준점이 됨 */
  background-color: #2c54bd !important;
  color: #fff !important;font-weight:500;
}

.sidebar-nav a:hover{
    color: white;
    background-color: rgba(255, 255, 255, 0.05);
}


@media (min-width: 992px) {
    .app-layout { flex-direction: row; }
}

.app-sidebar {
    width: 280px;
    background: var(--snu-blue);
    color: white;
    flex-shrink: 0;
    z-index: 10;
}

.app-content {
    flex-grow: 1;
    margin: 0 auto;
    width: 100%;
}
.app-content-wrap {
    padding: 2rem;
    max-width:1400px;
    margin: 0 auto;
    background-color: var(--bg-page);
    min-width: 0;
    width: 100%;
    min-height: calc(100vh - 233px);
}

@media (max-width: 991.98px) {
    .app-content-wrap { padding: 1.5rem 1rem; }
}

.section-container {margin: 0 auto; width: 100%; }

/* Flat Premium Card (No Shadows, Clear Borders) */
.premium-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 3rem;
    box-shadow: none;
}
@media (max-width: 768px)
  {
    .premium-card { padding: 1.5rem; }
}





/* ---------------------------------------------------
   모바일 전용 상단 헤더 & 모바일 슬라이드 메뉴
--------------------------------------------------- */
.mobile-header {
    background-color: var(--snu-blue);
    height: 100px;
    position: sticky;
    top: 0;
    z-index: 1030;
}
.mobile-logo-box {
    display: inline-flex;
    align-items: center;
}

.mobile-logo-box img {max-height:60px;border:1px solid #fff}

.mobile-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.6);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.mobile-overlay.active { opacity: 1; visibility: visible; }

.mobile-side-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 100%; max-width: 360px;
    height: 100vh;
    background-color: var(--mobile-menu-bg);
    z-index: 1050;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.mobile-side-menu.active { right: 0; }

.mobile-lang-btn {
    background-color: transparent;
    border: 1px solid #555;
    color: white;
    padding: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    flex: 1;
    text-align: center;
    border-radius: 4px;
}
.mobile-lang-btn.active { border-color: var(--snu-light-green); color: var(--snu-light-green); }

.mobile-menu-list { list-style: none; padding: 0; margin: 0; }
.mobile-menu-item {
    border-bottom: 1px solid var(--mobile-menu-border);
    padding:0.8rem 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-size:1rem;letter-spacing:-0.05em;
    font-weight: 600;
    cursor: pointer;
}
.mobile-menu-item.active,
.mobile-menu-item.active a {color: var(--snu-light-green) !important;}
.mobile-menu-item a{
  color: #fff;
}
/* ---------------------------------------------------
   메인 탭 메뉴 (모바일 가로 스크롤 & 스냅)
--------------------------------------------------- */
.tabs-outer-wrapper {margin: 0 auto 3rem auto; width: 100%; }

.main-tabs-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}
.main-tabs-container::-webkit-scrollbar { display: none; }

.main-tab {
    flex: 0 0 auto;
    padding: 0.7rem 1.5rem;
    color: var(--text-muted);
    font-weight: 600;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    font-size: 1rem;
    scroll-snap-align: center;
}
.main-tab:hover { color: var(--text-main); background-color: var(--bg-input); }
.main-tab.active { background-color: var(--snu-blue); color: white; border-color: var(--snu-blue); }

@media (max-width: 768px) {
    .tabs-outer-wrapper { margin-left: -1rem; margin-right: -1rem; width: calc(100% + 2rem); padding-left: 1rem; }
    .main-tabs-container { padding-right: 1rem; }
    .main-tab { padding: 0.6rem 1.25rem; font-size: 1rem; }
}

/* ---------------------------------------------------
   버튼 및 폼 요소 (Radius 통일, 명확한 라인)
--------------------------------------------------- */
.btn-custom {
    padding: 0.75rem 1.5rem; border-radius: var(--radius-md); font-weight: 600;
    transition: var(--transition); border: 1px solid transparent; box-shadow: none;
}
.btn-blue { background-color: var(--snu-blue); color: white; border-color: var(--snu-blue); }
.btn-blue:hover { background-color: var(--snu-blue-hover); border-color: var(--snu-blue-hover); color: white; }
.btn-gold { background-color: var(--snu-gold); color: white; border-color: var(--snu-gold); }

.btn-outline-custom { background: var(--bg-input); border: 1px solid var(--border-color); color: var(--text-main); }
.btn-outline-custom:hover { border-color: var(--snu-blue); color: var(--snu-blue); background-color: white; }

.form-control, .form-select {
    border: 1px solid var(--border-color); border-radius: var(--radius-md);
    padding: 0.8rem 1rem; color: var(--text-main); background-color: var(--bg-input);
    transition: var(--transition); font-size: 1rem; box-shadow: none !important;
}
.form-control:focus, .form-select:focus {
    background-color: white; border-color: var(--snu-blue); outline: none;
}
.form-control[type="file"] { padding: 0.55rem 1rem; }
.form-control[type="file"]::file-selector-button {
    background-color: var(--border-color); color: var(--text-main); border: none;
    border-radius: 4px; padding: 0.2rem 0.8rem; margin-right: 1rem; transition: var(--transition); cursor: pointer;
}

/* Input-Group Button Radius Fix */
.input-group .form-control { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-group .btn-custom { border-top-left-radius: 0; border-bottom-left-radius: 0; margin-left: -1px; }

/* 체크박스/라디오 버튼 시인성 강화 */
.form-check-input {
    width: 1.35em !important;
    height: 1.35em !important;
    margin-top: 0.1em !important;
    border: 1.5px solid #94a3b8 !important;
    background-color: white !important;
    box-shadow: none !important;
    cursor: pointer !important;
}

.form-check-input:checked {
    background-color: var(--snu-blue) !important;
    border-color: var(--snu-blue) !important;
}

.form-check-label {
    cursor: pointer !important;
    padding-top: 0.15em !important;
    font-weight: 500 !important;
}


/* ---------------------------------------------------
   컴포넌트: 테이블, 탭, 스텝퍼 등
--------------------------------------------------- */
.form-row-modern { display: flex; align-items: flex-start; border-bottom: 1px solid var(--border-color); padding: 1.5rem 0; }
.form-row-modern:last-child { border-bottom: none; }
.form-row-modern .form-label { width: 180px; margin-bottom: 0; font-weight: 600; color: var(--text-main); flex-shrink: 0; font-size: 1rem; padding-top: 0.5rem; }
.form-row-modern .form-content { flex-grow: 1; }

@media (max-width: 768px) {
    .form-row-modern { flex-direction: column; padding: 1.25rem 0; }
    .form-row-modern .form-label { width: 100%; margin-bottom: 0.5rem; padding-top: 0; }
}

.custom-table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.custom-table th, .custom-table td { border-bottom: 1px solid var(--border-color); padding: 1rem; text-align: center; vertical-align: middle; }
.custom-table th { background-color: var(--bg-table-head); font-weight: 600; color: var(--text-main); border-top: 2px solid var(--snu-blue); }
.custom-table tbody tr { transition: var(--transition); }
.custom-table tbody tr.clickable:hover { background-color: var(--bg-input); cursor: pointer; }

.nav-underline-custom { border-bottom: 1px solid var(--border-color); display: flex; gap: 0; padding: 0; margin: 0 0 2rem 0; width: 100%; list-style: none; }
.nav-underline-custom .nav-item { flex: 1; text-align: center; }
.nav-underline-custom .nav-link {
    color: var(--text-muted); font-weight: 600; padding: 1rem 0.5rem; border: none; background: none; position: relative; cursor: pointer; font-size: 1.05rem; width: 100%; display: inline-block;
}
.nav-underline-custom .nav-link::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 3px; background-color: var(--snu-blue); transform: scaleX(0); transition: transform 0.3s ease; }
.nav-underline-custom .nav-link:hover { color: var(--text-main); }
.nav-underline-custom .nav-link.active { color: var(--snu-blue); }
.nav-underline-custom .nav-link.active::after { transform: scaleX(1); }

.stepper { display: flex; justify-content: center; align-items: center; margin-bottom: 3rem; position: relative; z-index: 1; }
.step-item { display: flex; flex-direction: column; align-items: center; z-index: 2; width: 140px; }
.step-circle { width: 44px; height: 44px; border-radius: 50%; background-color: var(--bg-card); border: 2px solid var(--border-color); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--text-muted); margin-bottom: 0.8rem; transition: var(--transition); }
.step-label { font-size: 1rem; font-weight: 600; color: var(--text-muted); transition: var(--transition); }
.step-line { height: 2px; width: 100px; background-color: var(--border-color); margin: 0 -30px 30px -30px; z-index: 1; transition: var(--transition); }
.step-item.active .step-circle { background-color: var(--snu-blue); border-color: var(--snu-blue); color: white; }
.step-item.active .step-label { color: var(--snu-blue); font-weight: 700;}
.step-item.completed .step-circle, .step-item.completed + .step-line { background-color: var(--snu-blue); border-color: var(--snu-blue); color: white; }

.terms-scroll-box { height: 200px; overflow-y: auto; background-color: var(--bg-input); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 1.5rem; font-size: 1rem; color: var(--text-muted); line-height: 1.7; }
.terms-scroll-box.h-auto { height: auto !important;}

.app-section { display: none; }
.app-section.active { display: block; animation: fadeUp 0.3s ease forwards; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.alert-custom { border-radius: var(--radius-md); border: 1px solid; padding: 1rem 1.25rem; }


/** footer **/
.footer-wrapper {background-color: #333;font-size:1rem;letter-spacing:-0.03em;line-height:1.5;margin-top:40px;}
.footer-wrapper a,
.footer-wrapper{color: rgba(255,255,255, 0.75);}
.footer-wrapper a:hover{color:#fff !important}

.sns-wrap a{margin:0 4px}
.sns-wrap .utube:hover {content: url('../images/common/sns-1.png');}
.sns-wrap .insta:hover {content: url('../images/common/sns-2.png');}
.sns-wrap .fb:hover {content: url('../images/common/sns-3.png');}




/*************** 추가 *********************/



/* 토스트 메시지 */
/* 최상위 컨테이너 위치 조정 (이 클래스가 포함된 부모가 #toastNotification일 때만 적용) */
div:has(> #toastNotification).position-fixed {
  position: fixed !important;
  top: 20px !important;
  right: 20px !important;
  z-index: 9999 !important;
  padding: 0 !important;
}

/* 토스트 메인 박스 스타일 */
#toastNotification.toast {
  width: 350px;
  background-color: #ffffff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

/* 토스트 헤더 - 회색 배경으로 변경 */
#toastNotification .toast-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  color: #334155;
  background-color: #f1f5f9; /* 차분하고 깔끔한 회색톤 (Slate 100) */
  border-bottom: 1px solid #e2e8f0;
}

/* 헤더 내부 타이틀 */
#toastNotification .toast-header .mr-auto {
  margin-right: auto;
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
}

/* 헤더 내부 시간 표시 */
#toastNotification .toast-header .text-muted {
  font-size: 0.8rem;
  color: #64748b !important;
}

/* 닫기(X) 버튼 */
#toastNotification .toast-header .close {
  padding: 0;
  margin-left: 12px;
  background-color: transparent;
  border: 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  color: #94a3b8;
  text-shadow: none;
  opacity: 0.6;
  cursor: pointer;
  transition: opacity 0.2s;
}

#toastNotification .toast-header .close:hover {
  color: #334155;
  opacity: 1;
}

/* 토스트 본문 영역 */
#toastNotification .toast-body {
  padding: 16px;
  font-size: 1rem;
  line-height: 1.5;
  color: #334155;
  background-color: #ffffff;
}

/* 본문 내부 성공/위험 텍스트 */
#toastNotification .toast-body .text-success {
  color: #10b981 !important;
  font-weight: 500;
}

#toastNotification .toast-body .text-danger {
  color: #ef4444 !important;
  font-weight: 500;
}

/* 비밀번호 */
.pwstrenth {
    margin-top: 4px;
    width: 150px;
    display: none;
}

.pwstrenth .label {
    position: relative;
    font-size: 13px;
}

.pw-very-weak .label {
    color: #d00;
}

.pw-very-weak .label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 2px;
    width: 30px;
    background: #d00;
}

.pw-weak .label {
    color: #d00;
    font-size: 13px;
}

.pw-weak .label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 2px;
    width: 60px;
    background: #d00;
}

.pw-mediocre .label {
    color: #c0bd00;
    font-size: 13px;
}

.pw-mediocre .label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 2px;
    width: 90px;
    background: #c0bd00;
}

.pw-strong .label {
    color: #f3b31a;
    font-size: 13px;
}

.pw-strong .label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 2px;
    width: 120px;
    background: #f3b31a;
}

.pw-very-strong .label {
    color: #00a500;
    font-size: 13px;
}

.pw-very-strong .label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 2px;
    width: 150px;
    background: #00a500;
}




/* Bootstrap4 스타일 디스플레이 클래스 : 페이징 처리 */
/* sm(576px) 이상에서 숨김 (xs에서만 보임) */
@media (min-width: 576px) {
  .hidden-sm-up {
    display: none !important;
  }
}
/* md(768px) 이상에서 숨김 */
@media (min-width: 768px) {
  .hidden-md-up {
    display: none !important;
  }
}
/* lg(992px) 이상에서 숨김 */
@media (min-width: 992px) {
  .hidden-lg-up {
    display: none !important;
  }
}
/* xs(575.98px) 이하에서 숨김 (sm 이상에서만 보임) */
@media (max-width: 575.98px) {
  .hidden-xs-down {
    display: none !important;
  }
}
/* sm(767.98px) 이하에서 숨김 (md 이상에서만 보임) */
@media (max-width: 767.98px) {
  .hidden-sm-down {
    display: none !important;
  }
}


/* 탭 선택항목 강조 */
.nav-tabs .nav-link {
  color: #495057;              /* 기본 글자색 */
}
.nav-tabs .nav-link:hover {
  color: #0d6efd;              /* hover 시 파란색 */
  border: 1px solid #0d6efd;
}

.nav-tabs .nav-link.active {
  border-bottom: 3px solid #0d6efd;
  color: #0d6efd;
  font-weight: bold;
}


/* custom-table 테이블 기본 패딩 줄임 */
.custom-table-p-0 th, .custom-table-p-0 td {
  padding: 5px 20px !important;
  border-top: 0 !important;
}
.custom-table-fixed {
  table-layout: fixed !important;
  width: 210mm !important;
}
.custom-table-no-border th{ border: 0px; padding: 1rem; text-align: center; vertical-align: middle; }

.border-bottom-primary {
  border-bottom: 1px solid var(--bs-primary) !important;
}
.cate-tit {font-size:15px;letter-spacing:-0.03em;font-weight:600;color:#00c7ff;text-align:center;}

/* breadcrumb home button */
.btn-bc-home{cursor:pointer;}

/* 개인정보처리방침 - old */
.privacy-old {
  white-space: pre-line;
}
