@charset "UTF-8";
@import url(reset.css);
@import url(fonts.css);
:root{
	--Mice:"MiceGothic";
	--nexon:"Nexon-Lv2-Gothic";
	--preten:"Pretendard";
	--paper:"Paperlogy";
	--ria:"RiaSans";
	--fontweight-light:100;
	--fontweight-regular:400;
	--fontweight-medium:500;
	--fontweight-semibold:600;
	--fontweight-bold:700;
	--fontweight-exbold:800;
	--color-blue:#059376;
	--color-light-blue:#75e1ff;
	--color-red:#ff5050;
	--color-light-red:#ff9a9a;
	--color-pink:#fc6e88;
	--color-green:#00A73C;
	--color-yellow:#f6cd60;

	/* 색상 팔레트 */
	--primary-blue: #1976d2;
	--primary-light-blue: #2196F3;
	--primary-dark: #1565c0;
	--success: #4CAF50;
	--warning: #FF9800;
	--error: #F44336;
	--info: #2196F3;

	/* 배경 색상 */
	--bg-primary: #F5F7FA;
	--bg-secondary: #EBF2FC;
	--bg-tertiary: #E3ECFA;
	--bg-white: #FFFFFF;
	--bg-container: #FFFFFF;
	--bg-input: #FFFFFF;
	--bg-input-focus: #FFFFFF;
	--bg-page: #F5F7FA;
	--bg-header: #FFFFFF;
	--bg-nav: #004EA2;
	--bg-submenu: rgba(0, 78, 162, 0.05);
	--bg-card: #FFFFFF;

	/* 텍스트 색상 */
	--text-primary: #1e293b;
	--text-secondary: #64748b;
	--text-muted: #94a3b8;
	--text-white: #ffffff;

	/* 테두리 */
	--border-primary: #e2e8f0;
	--border-focus: #1976d2;
	--border-container: #e2e8f0;
	--border-light: #e2e8f0;
	--border-medium: #cbd5e1;

	/* 그림자 */
	--shadow-primary: rgba(0, 0, 0, 0.1);
	--shadow-button: rgba(25, 118, 210, 0.3);
	--shadow-button-hover: rgba(25, 118, 210, 0.4);
	--shadow-light: rgba(0, 0, 0, 0.05);
	--shadow-medium: rgba(0, 0, 0, 0.1);
	--shadow-heavy: rgba(0, 0, 0, 0.15);

	/* 간격 */
	--spacing-xs: 0.25rem;
	--spacing-sm: 0.5rem;
	--spacing-md: 1rem;
	--spacing-lg: 1.5rem;
	--spacing-xl: 2rem;
	--spacing-xxl: 3rem;

	/* 폰트 */
	--font-size-xs: 0.75rem;
	--font-size-sm: 0.875rem;
	--font-size-md: 1rem;
	--font-size-lg: 1.125rem;
	--font-size-xl: 1.25rem;
	--font-size-xxl: 1.5rem;
	--font-size-xxxl: 2rem;
	--font-size-display: 3rem;

	/* 반지름 */
	--radius-sm: 4px;
	--radius-md: 8px;
	--radius-lg: 12px;
	--radius-xl: 16px;

	/* 트랜지션 */
	--transition-normal: 0.3s ease;
	--transition-fast: 0.15s ease;

	/* 경고/에러/성공 메시지 */
	--warning-bg: rgba(255, 152, 0, 0.1);
	--warning-border: rgba(255, 152, 0, 0.3);
	--warning-text: #F57C00;
	--error-bg: rgba(244, 67, 54, 0.1);
	--error-border: rgba(244, 67, 54, 0.3);
	--error-text: #D32F2F;
	--success-bg: rgba(76, 175, 80, 0.1);
	--success-border: rgba(76, 175, 80, 0.3);
	--success-text: #388E3C;

	/* 애니메이션 */
	--animation-scale: 1.05;
	--animation-rotate: 5deg;
}
html{font-family:var(--nexon);font-weight:var(--fontweight-light);line-height:normal;font-size:15px;}
body {box-sizing: border-box; min-width: 1400px; font-size: 15px; min-height:100%;}
body.prevent{height:100vh; height:100dvh; overflow:hidden}
button,input,select,textarea{font-family:var(--nexon)}
::-webkit-scrollbar { width: 3px; height: 6px;}
::-webkit-scrollbar-thumb { background:#EAECEF transparent; border-radius: 3px;}
::-webkit-scrollbar-track { background: transparent;}
* { scrollbar-width: thin; scrollbar-color: #EAECEF transparent;}

.wrap {background:#fff; min-height:100vh;width:100%;min-width:1400px; display:flex; flex-direction:column;}
.wrap .main-content {flex:1;}
.wrap .footer {margin-top:auto;}

/* 탑바 */
#topbar {width:100%; height:48px; background:#00220F; display:flex; align-items:center;}
.topbar-wrap {width:1400px; margin:0 auto; display:flex; justify-content:space-between; align-items:center;}
.topbar-left {display:flex; align-items:center; gap:20px;}
.topbar-left .slogan {width:auto; height:30px;}
.topbar-weather {display:flex; align-items:center; gap:10px;}
.topbar-weather-icon {width:36px; height:auto; object-fit:contain;}
.topbar-weather-text {display:flex; flex-direction:column; gap:1px;}
.topbar-temp-main {color:#fff; font-size:18px; font-weight:var(--fontweight-bold);}
.topbar-temp-range {color:#ccc; font-size:11px; font-weight:var(--fontweight-regular);}
.topbar-temp-range em {font-style:normal;}
.topbar-temp-range em.blue {color:#75b8ff;}
.topbar-temp-range em.red {color:#ff6b6b;}
.topbar-right {display:flex; align-items:center; gap:10px;}
.topbar-btn {color:#fff; font-size:14px; text-decoration:none; padding:8px 24px; border:1px solid rgba(255,255,255,0.5); border-radius:50px; transition:all 0.2s; font-family:var(--paper);}
.topbar-btn:hover {border-color:#fff;}
.topbar-btn.btn-fill {background:#fff; color:#222; border-color:#fff;}
.topbar-btn.btn-fill:hover {background:#eee;}
.topbar-search-btn {width:38px; height:38px; background:#fff; border:none; border-radius:50%; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:all 0.2s;}
.topbar-search-btn:hover {background:#eee;}
.topbar-search-btn img {width:18px; height:18px; filter:none;}

#gnb {width:100%; height:80px; background:linear-gradient(to right, #046B56, #059376);display: flex; align-items: center; position: relative; transition: transform 0.3s ease; z-index: 100;}
body.main-page #gnb {position: absolute; top: 58px; left: 0; background: transparent; transition: background 0.3s ease;}
body.main-page #gnb:hover, body.main-page #gnb.gnb-white {background: #fff;}
body.main-page #gnb:hover .gnb-wrap, body.main-page #gnb.gnb-white .gnb-wrap {color: #333;}
body.main-page #gnb:hover .menu>ul>li>a, body.main-page #gnb.gnb-white .menu>ul>li>a {color: #333;}
body.main-page #gnb:hover .menu>ul>li>a:hover, body.main-page #gnb.gnb-white .menu>ul>li>a:hover {color: #059376;}
body.main-page #gnb:hover #logo h1, body.main-page #gnb.gnb-white #logo h1 {color: #333;}
body.main-page #gnb:hover .hamburger-icon, body.main-page #gnb.gnb-white .hamburger-icon {filter: brightness(0);}
body.main-page #gnb.fixed .hamburger-icon {filter: brightness(0);}
body.main-page #gnb.fixed {position: fixed; top: 0; height: 80px; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.1);}
body.main-page #gnb.fixed .gnb-wrap {color: #333;}
body.main-page #gnb.fixed .menu>ul>li>a {color: #333;}
body.main-page #gnb.fixed .menu>ul>li>a:hover {color: #059376;}
body.main-page #gnb.fixed #logo h1 {color: #333;}
#gnb.fixed {position: fixed; top: 0; left: 0; z-index: 1000; transform: translateY(0);}
#gnb.hidden {transform: translateY(-100%);}
.gnb-wrap {width:1400px; margin:0 auto; font-family: var(--paper); color:#fff; display:flex; justify-content: space-between; align-items: center;}
.logo-box {width:400px; height:auto;}
#logo {width:100%; display: flex; align-items: center; color: #fff; text-decoration: none;}
#logo img {width:50px;}
#logo h1 {font-size:24px; font-weight: var(--fontweight-bold); margin-left:10px; color: #fff;}

.menu>ul {position: relative;}
.menu>ul>li {float:left; margin-left:48px; font-size:18px; position: relative;}
.menu>ul>li>a {color:#fff; display: block; padding: 10px 0; position: relative;}
.menu>ul>li>a:hover{color:#A3F6FF;}

/* 메가 메뉴 스타일 */
.gnb-wrap {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: 100%;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding-top: 10px;
}
.mega-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
}

.menu:hover + .mega-menu,
.mega-menu:hover,
.mega-menu.mega-menu-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%);
}

.mega-menu-container {
    width: 1400px;
    margin: 0 auto;
    padding: 40px 0;
    display: flex;
    gap: 40px;
}

/* 좌측 배너 이미지 */
.mega-menu-banner {
    width: 300px;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
}

.mega-menu-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 우측 메뉴 영역 */
.mega-menu-inner {
    flex: 1;
    display: flex;
    gap: 40px;
    justify-content: flex-start;
}

.mega-menu-column {
    flex: 0 0 auto;
    min-width: 200px;
}

.mega-menu-column h3 {
    font-size: 18px;
    font-weight: var(--fontweight-bold);
    color: #046B56;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #059376;
}

.mega-menu-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-column ul li {
    margin-bottom: 12px;
}

.mega-menu-column ul li a {
    display: block;
    color: #333;
    font-size: 16px;
    padding: 8px 0;
    transition: all 0.2s ease;
    text-decoration: none;
}

.mega-menu-column ul li a:hover {
    color: #059376;
    padding-left: 10px;
    font-weight: var(--fontweight-medium);
}

.icon-box {display: flex; justify-content: flex-end; cursor:pointer;}
.icon-box button {color:#fff; border-radius: 50px; border:1px solid #fff; padding:8px 20px;}
.icon-box button:hover {color:#A3F6FF; border:1px solid #A3F6FF; transition: all 0.2s;}
.icon-box img {width:36px; height:36px; margin-left:20px; cursor:pointer;}
.icon-box img:hover {opacity: 0.7;}

/* 검색 드롭다운 */
.search-dropdown {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    z-index: 10000;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.search-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-dropdown-inner {
    width: 1400px;
    margin: 0 auto;
    padding: 60px 0;
    position: relative;
}

.search-question {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
    font-family: var(--paper);
}

.search-close-btn {
    position: absolute;
    top: 20px;
    right: 0;
    background: #000000;
    border: 1px solid #000000;
    border-radius: 10px;
    padding: 10px 24px;
    font-size: 16px;
    color: #FFFFFF;
    cursor: pointer;
    font-family: var(--paper);
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.search-close-btn::before {
    content: '×';
    font-size: 20px;
    font-weight: 300;
    line-height: 1;
}

.search-close-btn:hover {
    background: #333333;
    border-color: #333333;
}

.search-input-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 40px;
    position: relative;
    background: #FFFFFF;
    border: 2px solid #E0E0E0;
    border-radius: 50px;
    display: flex;
    align-items: center;
    padding: 4px 4px 4px 35px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 18px;
    padding: 16px 20px;
    outline: none;
    font-family: var(--nexon);
}

.search-input::placeholder {
    color: #999;
}

.search-input-wrapper .search-box-border rect {
    fill: none;
    stroke: #059376;
    stroke-width: 2.5;
    stroke-dasharray: var(--path-length);
    stroke-dashoffset: var(--path-length);
    transition: stroke-dashoffset 0.8s ease;
}
.search-input-wrapper:focus-within {
    border-color: transparent;
    box-shadow: 0 0 16px rgba(5, 147, 118, 0.15);
    transition: box-shadow 0.5s ease 0.3s;
}
.search-input-wrapper:focus-within .search-box-border rect {
    stroke-dashoffset: 0;
}

.search-submit-btn {
    width: 60px;
    height: 60px;
    background: #059376;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
}

.search-submit-btn:hover {
    background: #046B56;
    transform: scale(1.05);
}

.search-submit-btn img {
    display: none;
}

.search-submit-btn::before {
    content: '';
    display: inline-block;
    width: 22px;
    height: 22px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10' cy='10' r='7'/%3E%3Cline x1='21' y1='21' x2='15' y2='15'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.search-submit-btn::after {
    display: none;
}

.search-tags {
    text-align: center;
    font-family: var(--nexon);
}

.search-tag-label {
    font-size: 15px;
    color: #999;
    margin-right: 16px;
}

.search-tag {
    background: #F0F4FF;
    color: #059376;
    border: 1px solid #E0E8FF;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 15px;
    margin: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-tag:hover {
    background: #059376;
    color: white;
    border-color: #059376;
}

/* 퀵바 */
.quick-bar {
    position: fixed !important;
    right: 30px !important;
    bottom: 5% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 15px !important;
    z-index: 9999 !important;
}

.event-badge {
    z-index: 1000;
}

.event-badge img {
    width: 96px;
    height: auto;
    display: block;
}

.top-btn {
    width: 72px;
    height: 72px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.top-btn:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* 푸터 */
.footer {
    background: #41454E;
    color: white;
    padding: 0;
}

/* 드롭다운 메뉴 바 (최상단) */
.footer-dropdown-bar {
    background: #252832;
    padding: 0;
    border-bottom: 1px solid #333;
}

.dropdown-menu-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
    border-left: 1px solid #535353;
    border-right: 1px solid #535353;
}

.footer-dropdown {
	position: relative;
    border-right: 1px solid #535353;
}

.footer-dropdown:last-child {
    border-right: none;
}

.dropdown-btn {
    width: 100%;
    padding: 18px 30px;
    background: transparent;
    color: white;
    border: none;
    border-radius: 0;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
    font-family: var(--paper);
    text-align: center;
}

.dropdown-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

.dropdown-icon {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-bottom: 1.5px solid #aaa;
    border-right: 1.5px solid #aaa;
    transform: rotate(45deg);
    margin-left: 8px;
    margin-bottom: 2px;
    transition: transform 0.2s;
}

.footer-dropdown.open .dropdown-icon {
    transform: rotate(-135deg);
    margin-bottom: -2px;
}

/* 푸터 드롭다운 메뉴 */
.footer-dropdown-list {
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    background: #2f3240;
    border-radius: 8px 8px 0 0;
    padding: 8px 0;
    display: none;
    z-index: 50;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.2);
}
.footer-dropdown.open .footer-dropdown-list {
    display: block;
}

.footer-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: #2f3240;
    border-radius: 8px 8px 0 0;
    max-height: 300px;
    overflow-y: auto;
    z-index: 50;
    padding: 8px 0;
    list-style: none;
    margin: 0;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.2);
}

.footer-dropdown.active .dropdown-menu,
.footer-dropdown.open .dropdown-menu {
    display: block;
}

.footer-dropdown-list li {
    list-style: none;
}
.footer-dropdown-list li a {
    display: block;
    padding: 10px 30px;
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    font-family: var(--paper);
    transition: all 0.2s;
}
.footer-dropdown-list li a:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
}

.footer-dropdown .dropdown-menu li {
    list-style: none;
}

.footer-dropdown .dropdown-menu li a {
    display: block;
    padding: 10px 30px;
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    font-family: var(--paper);
    transition: all 0.2s;
}

.footer-dropdown .dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

/* 메인 푸터 영역 */
.footer-main {
    padding: 50px 0 30px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 30px;
    border-bottom: 1px solid #555;
    margin-bottom: 25px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo img {
    width: 50px;
    height: auto;
}

.footer-logo h3 {
    font-size: 20px;
    font-weight: var(--fontweight-bold);
    color: white;
    font-family: var(--paper);
    margin: 0;
}

.footer-info-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-info-links a {
    color: #E0E0E0;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
}

.footer-info-links a:hover {
    color: #059376;
}

.footer-info-links span {
    color: #888;
    font-size: 15px;
}

/* 하단 영역 */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-address {
    font-size: 15px;
    color: #B0B0B0;
    margin: 0;
}

.footer-copyright {
    font-size: 15px;
    color: #B0B0B0;
    margin: 0;
}

.footer-main .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}



/* ====== 확인 팝업 스타일 ====== */
.confirm-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.confirm-backdrop.show {
  opacity: 1;
}

.confirm-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  z-index: 99999;
  min-width: 400px;
  max-width: 500px;
  opacity: 0;
  transition: all 0.3s ease;
  font-family: var(--paper);
}

.confirm-modal.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.confirm-header {
  padding: 20px 24px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8f9fa;
  border-radius: 12px 12px 0 0;
}

.confirm-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.confirm-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.confirm-close:hover {
  background: #e5e7eb;
  color: #333;
}

.confirm-body {
  padding: 32px 24px;
  text-align: center;
}

.confirm-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.confirm-modal.info .confirm-icon {
  background: rgba(33, 150, 243, 0.1);
  color: #2196f3;
}

.confirm-modal.info .confirm-icon::before {
  content: 'ℹ️';
}

.confirm-modal.warning .confirm-icon {
  background: rgba(255, 193, 7, 0.1);
  color: #ffc107;
}

.confirm-modal.warning .confirm-icon::before {
  content: '⚠️';
}

.confirm-modal.danger .confirm-icon {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.confirm-modal.danger .confirm-icon::before {
  content: '🗑️';
}

.confirm-message {
  font-size: 15px;
  color: #495057;
  line-height: 1.6;
  margin: 0;
}

.confirm-footer {
  padding: 16px 24px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  background: #f8f9fa;
  border-radius: 0 0 12px 12px;
}

.btn-confirm-cancel,
.btn-confirm-ok {
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  min-width: 80px;
  font-family: var(--paper);
}

.btn-confirm-cancel {
  background: #6c757d;
  color: white;
}

.btn-confirm-cancel:hover {
  background: #5a6268;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(108, 117, 125, 0.3);
}

.btn-confirm-ok {
  background: #2196f3;
  color: white;
}

.confirm-modal.danger .btn-confirm-ok {
  background: #dc3545;
}

.confirm-modal.danger .btn-confirm-ok:hover {
  background: #c82333;
}

.btn-confirm-ok:hover {
  background: #1976d2;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(33, 150, 243, 0.3);
}

/* 페이지 타이틀 섹션 */
.page-title-section {
    background: white;
    padding: 40px 0;
    border-bottom: 1px solid #E8E8E8;
}

.page-title-section .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-main-title {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin: 0;
    font-family: var(--paper);
}

/* 토스트 알림 */
.custom-toast {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    font-family: var(--paper);
}
.custom-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.toast-icon {
    font-size: 18px;
    flex-shrink: 0;
}
.toast-msg {
    font-size: 15px;
    color: #333;
    font-weight: 500;
}
.toast-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    padding: 0 0 0 12px;
    line-height: 1;
}
.toast-close:hover {
    color: #333;
}

/* GNB 반응형 - 사이드 메뉴 */
.gnb-side-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
}
.gnb-side-overlay.active {
    display: block;
}
.gnb-side-menu {
    position: fixed;
    top: 0;
    left: -400px;
    width: 380px;
    height: 100%;
    background: #fff;
    z-index: 9999;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(0,0,0,0.15);
}
.gnb-side-menu.active {
    left: 0;
}
.gnb-side-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 24px 20px;
    border-bottom: 1px solid #eee;
}
.gnb-side-header img {
    width: 36px;
    flex-shrink: 0;
}
.gnb-side-header span {
    font-size: 15px;
    font-weight: 700;
    font-family: var(--paper);
    color: #333;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.gnb-side-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #333;
}
.gnb-side-nav {
    padding: 20px 0;
}
.gnb-side-nav a {
    display: block;
    padding: 16px 30px;
    font-size: 16px;
    font-family: var(--paper);
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
    font-weight: 500;
}
.gnb-side-nav a:hover {
    background: #e8f5f0;
    color: #059376;
}

.side-menu-group {
    border-bottom: 1px solid #f0f0f0;
}
.gnb-side-nav .side-menu-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 30px;
    font-size: 16px;
    font-family: var(--paper);
    color: #333;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.side-menu-title::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid #bbb;
    border-bottom: 2px solid #bbb;
    transform: rotate(45deg);
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: auto;
}
.side-menu-group.open .side-menu-title::after {
    transform: rotate(-135deg);
}
.side-menu-title:hover {
    background: #e8f5f0;
    color: #059376;
}
.side-sub-menu {
    display: none;
    background: #f8f9fa;
}
.side-menu-group.open .side-sub-menu {
    display: block;
}
.side-sub-menu a {
    display: block;
    padding: 12px 30px 12px 45px;
    font-size: 14px;
    font-family: var(--paper);
    color: #666;
    text-decoration: none;
    transition: all 0.2s;
    font-weight: 400;
}
.side-sub-menu a:hover {
    color: #059376;
    background: #e8f5f0;
}

@media (max-width: 1200px) {
    .gnb-wrap {
        width: 95%;
    }
    .topbar-wrap {
        width: 95%;
    }
    .menu {
        display: none;
    }
    .mega-menu {
        display: none;
    }
}

/* ========================================
   공통 로딩 오버레이 (전역 AJAX 로딩 스피너)
   ======================================== */
.app-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 99990;
    display: none;
    align-items: center;
    justify-content: center;
    background: transparent;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.app-loading-overlay.show { display: flex; }
.app-loading-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.app-loading-spinner {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 4px solid rgba(5, 147, 118, 0.2);
    border-top-color: var(--color-primary, #059376);
    animation: app-spin 0.8s linear infinite;
}
.app-loading-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    font-family: var(--paper);
}
@keyframes app-spin { to { transform: rotate(360deg); } }