@charset "utf-8";
@import url('../reset.css');
@import url('../../fonts/noto-sans-kr.css?ver=2.2.7');
@import url('../../fonts/macho-icon.css?ver=2.2.7');
@import url('../../fonts/icons.css?ver=2.2.7');
@import url('../component/loader.css');
@import url('../component/modal.css');
@import url('../component/border.css');
@import url('../component/datepicker.css?ver=2.2.7');
@import url('../component/ktas-edu-label.css?ver=2.2.7');
@import url('../component/macho-calendar.css');
@import url('../component/toastr.css?ver=2.2.7');
@import url('../component/simptip.css?ver=2.2.7');
@import url('../component/microtip.css?ver=2.2.7');
@import url('../component/switch-button.css?ver=2.2.7');
@import url('../content.css?ver=2.2.7');
@import url('../util.css?ver=2.2.7');
@import url('../component/notice-popup.css?ver=2.2.7');

[v-cloak]  {
    visibility: hidden !important;
    opacity: 0 !important;
    transition: opacity 0.5s ease-in-out;
}
b[v-cloak],
span[v-cloak]{
    display: inline-flex !important;
    width: 16px;
    height: 16px;
    color: rgba(0,0,0,0) !important;
    background-image: url('data:image/gif;base64,R0lGODlhEAAQAPIAAP///wAAAMLCwkJCQgAAAGJiYoKCgpKSkiH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAEAAQAAADMwi63P4wyklrE2MIOggZnAdOmGYJRbExwroUmcG2LmDEwnHQLVsYOd2mBzkYDAdKa+dIAAAh+QQJCgAAACwAAAAAEAAQAAADNAi63P5OjCEgG4QMu7DmikRxQlFUYDEZIGBMRVsaqHwctXXf7WEYB4Ag1xjihkMZsiUkKhIAIfkECQoAAAAsAAAAABAAEAAAAzYIujIjK8pByJDMlFYvBoVjHA70GU7xSUJhmKtwHPAKzLO9HMaoKwJZ7Rf8AYPDDzKpZBqfvwQAIfkECQoAAAAsAAAAABAAEAAAAzMIumIlK8oyhpHsnFZfhYumCYUhDAQxRIdhHBGqRoKw0R8DYlJd8z0fMDgsGo/IpHI5TAAAIfkECQoAAAAsAAAAABAAEAAAAzIIunInK0rnZBTwGPNMgQwmdsNgXGJUlIWEuR5oWUIpz8pAEAMe6TwfwyYsGo/IpFKSAAAh+QQJCgAAACwAAAAAEAAQAAADMwi6IMKQORfjdOe82p4wGccc4CEuQradylesojEMBgsUc2G7sDX3lQGBMLAJibufbSlKAAAh+QQJCgAAACwAAAAAEAAQAAADMgi63P7wCRHZnFVdmgHu2nFwlWCI3WGc3TSWhUFGxTAUkGCbtgENBMJAEJsxgMLWzpEAACH5BAkKAAAALAAAAAAQABAAAAMyCLrc/jDKSatlQtScKdceCAjDII7HcQ4EMTCpyrCuUBjCYRgHVtqlAiB1YhiCnlsRkAAAOwAAAAAAAAAAAA==');
}



:root {
    --ms-color-primary: #2f79f2;
    --ms-color-danger: #dc1c24;
    --ms-basic-background-color:#f1f3f6;
    --ms-basic-font-color:#112031;
    --ms-basic-font-color2:#333;
    --ms-basic-border:1px solid rgba(17, 32, 49, 0.1);


    /** color **/
    --ms-color-blue: #0d6efd;
    --ms-color-indigo: #6610f2;
    --ms-color-purple: #6f42c1;
    --ms-color-pink: #d63384;
    --ms-color-red: #dc3545;
    --ms-color-orange: #fd7e14;
    --ms-color-yellow: #feb56a;
    --ms-color-green: #198754;
    --ms-color-teal: #20c997;
    --ms-color-cyan: #0dcaf0;
    --ms-color-white: #fff;
    --ms-color-gray: #6c757d;
    --ms-color-gray-dark: #343a40;
    --ms-color-gray-100: #f8f9fa;
    --ms-color-gray-200: #e9ecef;
    --ms-color-gray-300: #dee2e6;
    --ms-color-gray-400: #ced4da;
    --ms-color-gray-500: #adb5bd;
    --ms-color-gray-600: #6c757d;
    --ms-color-gray-700: #495057;
    --ms-color-gray-800: #343a40;
    --ms-color-gray-900: #212529;

    --ms-color-secondary: #6c757d;
    --ms-color-success: #198754;
    --ms-color-info: #0dcaf0;
    --ms-color-warning: #ffc107;
    --ms-color-danger2: #dc3545;
    --ms-color-light: #f8f9fa;
    --ms-color-dark: #212529;
    --ms-color-dark-light: rgb(107,114,128);

    --ms-color-sky-blue: #4289FF;
    --ms-color-dahong: #F85353;
    --ms-color-data-active: #FF6161;

    --app-second-color: #F85353;
    --app-third-color: #feb56a;
    --ms-color-black: #202020;

}

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

body {
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    line-height: 1.6;
    color: #0f172a;
    background-color: #ffffff;
    min-width: 1280px;
    font-size: 16px;
}

/* Default container for header and hero - full width */
.container {
    max-width: none;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    min-width: 1280px;
    /* 1280px base width */
}

/* Content container for sections - limited width */
.container-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    min-width: 1000px;
    /* 1280px - (2rem * 2) padding */
}

@media (min-width: 1536px) {
    .container {
        padding: 0 3rem;
        min-width: 1470px;
        /* 1536px - (3rem * 2) padding */
    }

    .container-content {
        padding: 0 3rem;
        min-width: 1200px;
        /* 1536px - (3rem * 2) padding */
    }
}

@media (min-width: 1920px) {
    .container {
        padding: 0 4rem;
        min-width: 1792px;
        /* 1920px - (4rem * 2) padding */
    }

    .container-content {
        padding: 0 4rem;
        min-width: 1200px;
        /* 1920px - (4rem * 2) padding */
    }
}

/* Header Styles */
.header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    width: 100%;
}

.top-bar {
    border-bottom: 1px solid #e2e8f0;
    padding: 0.5rem 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.top-bar-left span {
    color: #64748b;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.top-link {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-link:hover {
    color: #1e40af;
}

/* 드롭다운 컨테이너에 위치 기준을 부여 (높이는 그대로 둡니다) */
.user-dropdown {
    position: relative;
    display: inline-block;

}


.user-dropdown .dropdown-btn i {
    font-size:10px;
    margin-left: 4px;
    vertical-align: middle;
}


.user-dropdown-wrap {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 51;
    display: none;
}

.dropdown-content {
    background-color: #ffffff;
    min-width: 160px;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    border-radius: 8px;
    overflow: hidden;
    margin-top:8px;
}


.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    border-bottom: 1px solid #eee;
}


.dropdown-content a:last-child {
    border-bottom: none;
}


.dropdown-content a:hover {
    background-color: rgba(30, 64, 175, 0.05);
    color:#1e40af;
    font-weight:500;
}

/* 드롭다운 컨테이너에 마우스를 올렸을 때 드롭다운 래퍼를 보이게 함 */
.user-dropdown:hover .user-dropdown-wrap {
    display: block;
}

.main-header {
    width: 100%;
    background: #ffffff;
    position: relative;
}

.main-header-container {
    display: flex;
    align-items: center;
    height: 70px;
  /*  max-width: 1440px;*/
    min-width: 1280px;
    max-width:100%;
    padding: 0;
}

.logo-section {
    display: flex;
    align-items: center;
    width: 400px;
    padding-left: 3rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e40af;
}

.logo-subtitle {
    margin-left: 0.5rem;
    font-size: 0.875rem;
    color: #64748b;
}

/* Navigation Styles */
.desktop-nav {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    height: 100%;
    justify-items: start;
    gap: 0;
}

.nav-item {
    position: relative;
    text-align: left;
    width: 200px;
    height: 100%;
    padding: 0.5rem;
    display: flex;
    align-items: center;
}


.nav-button {
    background: none;
    border: none;
    color: #0f172a;
    font-weight: 500;
    font-size: 1.1rem;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-button:hover {
    color: #1e40af;
}

.nav-item.active .nav-button {
    color: #1e40af;
}

/* Main Header Submenu Styles */
.main-header-container .submenu {
    position: absolute;
    display: flex;
    top: 100%;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0 1rem;
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Sidebar Submenu Styles */
.sidebar-submenu .submenu {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
    background: transparent;
    border-top: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transition: none;
}

.main-header-container .submenu.show {
    opacity: 1;
    visibility: visible;
}

.submenu-container2 {
    display: grid;
    grid-template-columns: 300px 1fr 1fr 1fr 1fr;
    max-width: 1440px;
    min-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    gap: 0;
    position: relative;
    justify-items: start;
    width: 100%;
}

.submenu-logo {
    width: 400px;
    padding-left: 3rem;
}

.submenu-section {
    position: relative;
    width: 180px;
    margin-right: 20px;
    height: 100%;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
    text-align: left;
}

.submenu-section.active {
    background-color: rgba(30, 64, 175, 0.05);
}


.submenu-title {
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
    border-bottom-color: #1e40af;
    display: none;
}

.submenu-section.active .submenu-title {
    color: #1e40af;
    border-bottom-color: #1e40af;
    display: none;
}


.submenu-link {
    display: block;
    font-size: 0.85rem;
    color: #64748b;
    text-decoration: none;
    padding: 0.25rem 0;
    transition: color 0.3s ease;
}

.submenu-link:hover {
    color: #1e40af;
}

.submenu-section .submenu-link:hover {
    color: rgba(30, 64, 175, 0.8);
    font-weight: 600;
}

/* Submenu Group */
.submenu-group {
    margin: 0.5rem 0;
}

.submenu-parent {
    font-weight: 600;
    color: #1e40af !important;
    margin-bottom: 0.25rem;
}

.submenu-children {
    margin-left: 1rem;
    padding-left: 0.5rem;
    border-left: 2px solid #e2e8f0;
}

.submenu-child-link {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
    text-decoration: none;
    padding: 0.2rem 0;
    transition: color 0.3s ease;
}

.submenu-child-link:hover {
    color: #1e40af;
    font-weight: 500;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-right: 3rem;
    margin-left:auto;
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: background-color 0.3s ease;
}

.search-btn:hover {
    background-color: #f1f5f9;
}

.icon {
    width: 1.5rem;
    height: 1.5rem;
}

.icon-white {
    width: 2rem;
    height: 2rem;
    color: #ffffff;
}

/* Hero Section */
.hero {
    position: relative;
    height: 750px;
    overflow: visible;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.8) 0%, rgba(59, 130, 246, 0.7) 100%);
    */
    background: linear-gradient(135deg, rgb(1 2 3 / 80%) 0%, rgb(98 117 155 / 70%) 100%)
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #ffffff;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (min-width: 1280px) {
    .hero-title {
        font-size: 3rem;
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@media (min-width: 1280px) {
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

.hero-cta {
    background: #ffffff;
    color: #1e40af;
    border: none;
    padding: 0.875rem 2.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background: #f8fafc;
}

/* Navigation Arrows */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    width: 3rem;
    height: 3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-nav:hover {
    color: #ffffff;
    transform: translateY(-50%) scale(1.15);
}

.hero-nav.prev {
    left: 50%;
    margin-left: -720px;
    /* -(1440px / 2) */
}

.hero-nav.next {
    right: 50%;
    margin-right: -720px;
    /* -(1440px / 2) */
}

/* Fallback for smaller screens */
@media (max-width: 1439px) {
    .hero-nav.prev {
        left: 2rem;
        margin-left: 0;
    }

    .hero-nav.next {
        right: 2rem;
        margin-right: 0;
    }
}

.hero-nav svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Slide Indicators */
.hero-indicators {
    position: absolute;
    bottom: 12rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 20;
}

.indicator {
    position: relative;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.indicator::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #60a5fa 0deg, #3b82f6 90deg, transparent 90deg);
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: rotate 5s linear infinite paused;
}

.indicator::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.indicator.active {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
    box-shadow:
        0 0 0 3px rgba(255, 255, 255, 0.3),
        0 0 20px rgba(59, 130, 246, 0.4),
        0 0 40px rgba(59, 130, 246, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
}

.indicator.active::before {
    opacity: 1;
    animation-play-state: running;
}

.indicator.active::after {
    transform: scale(0.6);
    background: linear-gradient(135deg, #ffffff, #e0f2fe);
}

.indicator:hover:not(.active) {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4);
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Hero Quick Menu (Overlapping) */
.hero-quick-menu {
    position: absolute;
    bottom: -6rem;
    left: 0;
    right: 0;
    z-index: 10;
}

.hero-quick-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-quick-item {
    background: #ffffff;
    border: none;
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    min-height: 160px;
}

.hero-quick-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background: #f8fafc;
}

.hero-quick-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.hero-quick-item:hover .hero-quick-icon {
    transform: scale(1.15);
}

.hero-quick-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    color: #0f172a;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: #64748b;
    font-size: 1.125rem;
}

/* Quick Menu Styles */
.quick-menu {
    padding: 8rem 0 4rem;
    background-color: rgba(248, 250, 252, 0.3);
}

.quick-menu-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    min-width: 1280px;
}

@media (min-width: 1280px) {
    .quick-menu-grid {
        gap: 2rem;
    }
}

@media (min-width: 1536px) {
    .quick-menu-grid {
        gap: 2.5rem;
    }
}

.quick-menu-item {
    background: #ffffff;
    padding: 1rem;
    text-align: center;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px -4px rgba(15, 23, 42, 0.1);
    transition: all 0.3s ease;
    border: none;
}

@media (min-width: 1280px) {
    .quick-menu-item {
        padding: 1.5rem;
    }
}

.quick-menu-item:hover {
    box-shadow: 0 10px 30px -10px rgba(30, 64, 175, 0.2);
    transform: translateY(-4px);
}

.quick-menu-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: transform 0.3s ease;
}

.quick-menu-item:hover .quick-menu-icon {
    transform: scale(1.1);
}

.bg-primary {
    background-color: #1e40af;
}

.bg-accent {
    background-color: #dc2626;
}

.bg-emerald {
    background-color: #059669;
}

.bg-purple {
    background-color: #9333ea;
}

.bg-orange {
    background-color: #ea580c;
}

.quick-menu-title {
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

@media (min-width: 1280px) {
    .quick-menu-title {
        font-size: 1rem;
    }
}

.quick-menu-description {
    color: #64748b;
    margin-bottom: 1rem;
    font-size: 0.75rem;
    line-height: 1.5;
}

@media (min-width: 1280px) {
    .quick-menu-description {
        font-size: 0.875rem;
    }
}

.quick-menu-btn {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #64748b;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.quick-menu-btn:hover {
    background: #1e40af;
    color: #ffffff;
    border-color: #1e40af;
}

/* Sidebar Submenu Styles */
.sidebar-submenu {
    position: relative;
}

.sidebar-submenu .submenu li {
    margin: 0;
}

.sidebar-submenu .submenu-link {
    display: block;
    padding: 0.5rem 1rem;
    color: #6c757d;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: normal;
    transition: all 0.2s ease;
}

.sidebar-submenu .submenu-link:hover {
    background: #e9ecef;
}

.sidebar-submenu .submenu-link.active {
    background: #e9ecef;
    font-weight: 600;
    color: #2c5aa0;
}

.sidebar-submenu .submenu.expanded {
    display: block;
}

.sidebar-submenu span.sidebar-link {
    cursor: default;
}

/* Sidebar Legend */
.sidebar-legend {
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: fit-content;
    font-size: 0.8rem;
}

.sidebar-legend-group {
    margin-bottom: 1rem;
}

.sidebar-legend-group:last-child {
    margin-bottom: 0;
}

.sidebar-legend-group h4 {
    margin: 0 0 0.5rem 0;
    font-size: 0.75rem;
    color: #2563eb;
    font-weight: 600;
    line-height: 1.2;
}

.sidebar-legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.7rem;
    line-height: 1.3;
}

.sidebar-legend-item:last-child {
    margin-bottom: 0;
}

.sidebar-badge {
    display: inline-block;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    font-size: 0.65rem;
    font-weight: bold;
    color: white;
    min-width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.sidebar-badge.hkp {
    background-color: #dc3545;
}

.sidebar-badge.phkp {
    background-color: #0d6efd;
}

.sidebar-badge.rt-hkp {
    background-color: #fd7e14;
}

.sidebar-badge.rt-phkp {
    background-color: #20c997;
}

/* Education Tabs */
.education-tabs {
    margin-bottom:1rem;
}

.education-tabs .tab-row {
    display: flex;
    gap: 0;
    margin-bottom: 0.5rem;
}
.education-tabs .tab-row.sub-tab {
    display: none;
}

.education-tabs .tab-row.sub-tab.active {
    display: flex;
}



.education-tabs .tab-row:first-child {
    border-bottom: 1px solid #e9ecef;
}

.education-tabs .edu-tab-btn {
    flex: 1;
    padding: 1rem 2rem;
    background: white;
    border: 1px solid #dee2e6;
    color: #495057;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.education-tabs .edu-tab-btn.active {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.education-tabs .edu-tab-btn:not(.active):hover {
    background: #f8f9fa;
}



/* Education Legend */
.education-legend {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.legend-group {
    margin-bottom: 1.5rem;
}

.legend-group:last-child {
    margin-bottom: 0;
}

.legend-group h4 {
    color: #333;
    margin: 0 0 0.75rem 0;
    font-size: 0.95rem;
    font-weight: 600;
}

.legend-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0.75rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
}

.legend-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.75rem;
    color: white;
    min-width: 60px;
    text-align: center;
}

.legend-badge.hkp {
    background: #dc3545;
}

.legend-badge.hki {
    background: #6f42c1;
}

.legend-badge.phkp {
    background: #2563eb;
}

.legend-badge.phki {
    background: #7c3aed;
}

.legend-badge.rt-hkp {
    background: #f59e0b;
}

.legend-badge.rt-phkp {
    background: #10b981;
}


table.basic-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 0.9rem;
}

table.basic-table thead tr th,
table.basic-table thead tr td {
    background: #f7fafc;
    padding: 1rem 0;
    text-align: center;
    font-weight: 700;
    color: #2d3748;
    border: 1px solid #e2e8f0;
    white-space: nowrap;
    vertical-align: middle;
}


table.basic-table thead tr:last-child th,
table.basic-table thead tr:last-child td,
table.basic-table thead tr th[rowspan='2'],
table.basic-table thead tr td[rowspan='2']{
    border-bottom: 2px solid #e2e8f0;
}

table.basic-table tbody tr th,
table.basic-table tbody tr td {
    padding: 0.85rem;
    border-bottom: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    vertical-align: middle;
    line-height:1.6;
}
table.basic-table tbody tr td *,
table.basic-table tbody tr td *{
    color: #4a5568;
}

table.basic-table tbody tr td p,
table.basic-table tbody tr td p{
    margin-bottom:1rem;
    line-height:1.8;

}

table.basic-table tbody tr th {
    background: #f9f8f8;
    vertical-align: middle;
}

table.basic-table tbody tr th:first-child,
table.basic-table tbody tr td:first-child {
    border-left:1px solid #e2e8f0;
}


.category-header {
    background: #2c5aa0;
    font-weight: 700;
    color: white;
    width: 120px;
    padding: 0.75rem 0.5rem;
}







.attachment-link {
    color: #2563eb;
    text-decoration: underline;
    font-weight: 500;
}

.attachment-link:hover {
    color: #1d4ed8;
}

.system-notice {
    background: #fef3c7;
    padding: 0.75rem;
    border-radius: 0.375rem;
    border-left: 4px solid #f59e0b;
    margin: 1rem 0;
    font-weight: 600;
    color: #92400e;
}

.notice-box {
    background: #eff6ff;
    padding: 1rem;
    border-radius: 0.375rem;
    border: 1px solid #bfdbfe;
    margin: 1rem 0;
    text-align: center;
}

.notice-box p {
    margin: 0;
    color: #1e40af;
    font-weight: 600;
}

.legacy-title {
    color: #374151;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem 0;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #d1d5db;
}

.table-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 1.5rem 0;
}

.table-half {
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    overflow: hidden;
}

.table-half h6 {
    background: #6b7280;
    color: white;
    margin: 0;
    padding: 0.75rem;
    text-align: center;
    font-weight: 700;
    border-bottom: 1px solid #d1d5db;
}

.legacy-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.825rem;
    background: white;
}

.legacy-table td {
    border: 0.5px solid #d1d5db;
}

.legacy-table .category-cell {
    width: 80px;
    font-size: 0.8rem;
    padding: 0.5rem 0.25rem;
}

.legacy-table .detail-cell {
    padding: 0.5rem;
    font-size: 0.8rem;
}

/* 이수증 썸네일 스타일 */
.certificate-thumbnail {
    width: 120px;
    height: auto;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.certificate-thumbnail:hover {
    transform: scale(1.05);
}


/* Index Education Schedule Styles */
.education-schedule {
    padding: 8rem 0;

}

.tabs {
    width: 100%;
}

.tab-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 2rem;
    background: #f1f5f9;
    border-radius: 0.5rem;
    padding: 0.25rem;
}

.tab-button {
    background: none;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab-button.active {
    background: #ffffff;
    color: #1e40af;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1280px) {
    .education-grid {
        gap: 2rem;
    }
}

@media (min-width: 1536px) {
    .education-grid {
        gap: 2.5rem;
    }
}

.education-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.education-card:hover {
    box-shadow: 0 10px 30px -10px rgba(30, 64, 175, 0.2);
}

.card-header {
    padding: 0.75rem 1rem;
    background: white;
}

@media (min-width: 1280px) {
    .card-header {
        padding: 1rem 1.5rem;
    }
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
    line-height: 1.4;
}

@media (min-width: 1280px) {
    .card-title {
        font-size: 16px;
    }
}

.badges {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}

.badge-blue {
    background: #dbeafe;
    color: #1e40af;
}

.badge-green {
    background: #dcfce7;
    color: #166534;
}

.badge-purple {
    background: #f3e8ff;
    color: #7c3aed;
}

.badge-yellow {
    background: #fef3c7;
    color: #d97706;
}

.badge-red {
    background: #fee2e2;
    color: #dc2626;
}

.card-content {
    padding: 0 1rem 1rem 1rem;
}

@media (min-width: 1280px) {
    .card-content {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: #64748b;
    font-size: 14px;
}

@media (min-width: 1280px) {
    .info-item {
        margin-bottom: 10px;
        font-size: 14px;
    }
}

.info-icon {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
    color: #1e40af;
}

.card-actions {
    display: flex;
    gap: 0.25rem;
    margin-top: 0.75rem;
}

@media (min-width: 1280px) {
    .card-actions {
        gap: 0.5rem;
        margin-top: 1rem;
    }
}




/* Button Styles */
.btn {
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    text-decoration: none;
}

@media (min-width: 1280px) {
    .btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}


.btn-primary {
    background: #1e40af;
    color: #ffffff;
    text-decoration: none;
    flex: 1;
}

.btn-primary:hover {
    background: #1e3a8a;
}

.btn-primary:disabled {
    background: #94a3b8;
    cursor: not-allowed;
}
.btn-primary.disabled {
    background: #94a3b8;
    cursor: not-allowed;
}

.btn-outline {
    background: transparent;
    color: #64748b;
    border-color: #e2e8f0;
    padding: 8px 12px;
}


.btn.btn-dark {
    background: #3c3c3c;
    border: 1px solid #3c3c3c;
    color: #fff
}

.btn.btn-dark:not(:disabled):not(.disabled):hover,
.btn.btn-dark:not(:disabled):not(.disabled):active {
    background: #5a5a5a;
    border-color: #5a5a5a;
}

.btn.btn-dark:disabled {
    background: #ababab;
    border-color: #ababab;
    color: #929292;
    cursor: not-allowed;
}

@media (min-width: 1280px) {
    .btn-outline {
        padding: 8px 12px;
    }
}

.btn-outline:hover {
    background: #f8fafc;
    color: #1e40af;
    border-color: #cbd5e1;
}

.btn-outline-large {
    background: transparent;
    color: #333;
    border: 1px solid #e2e8f0;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
}

.btn-outline-large:hover {
    background: #f8fafc;
    color: #1e40af;
    border-color: #cbd5e1;
}

.section-footer {
    text-align: center;
    margin-top: 2rem;
}

/* Notice Section */
.notice-section {
    padding: 4rem 0;
    background-color: #f8fafc;
}

.notice-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.notice-title-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.notice-title-section h2 {
    margin-bottom: 0.5rem;
}



.notice-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.notice-item-new {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.notice-item-new:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.notice-content {
    flex: 1;
    margin-right: 2rem;
}

.notice-content a {
    text-decoration: none;
    color:#000;
    font-weight:bold;
}

.notice-badge-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.notice-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.notice-badge.education {
    background: #dbeafe;
    color: #1e40af;
}

.notice-badge.resource {
    background: #d1fae5;
    color: #059669;
}

.notice-badge.system {
    background: #f3e8ff;
    color: #7c3aed;
}

.notice-badge.new {
    background: #dc2626;
    color: #ffffff;
}

.notice-item-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.notice-description {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.5;
}

.notice-date-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 100px;
}

.calendar-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #64748b;
}

.notice-date-new {
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
}

/* FAQ Section */
.faq-section {
    background: #f8fafc;
    padding: 4rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-container .faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-container .faq-item:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.faq-container .faq-item .faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    transition: background-color 0.3s ease;
}

.faq-container .faq-item .faq-question:hover {
    background-color: #f8fafc;
}

.faq-container .faq-item .faq-question.active {
    background-color: #f1f5f9;
}

.faq-container .faq-item .faq-question .faq-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #64748b;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-container .faq-item .faq-question.active .faq-icon {
    transform: rotate(180deg);
}

.faq-container .faq-item .faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.faq-container .faq-item .faq-answer.active {
    max-height: 200px;
    padding: 0 1.5rem 1.5rem;
}

.faq-container .faq-item .faq-answer p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    padding-top: 1rem;
}

/* Footer */
.footer {
    background: #1e293b;
    color: #cbd5e1;
    padding: 3rem 0 1rem;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-logo h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: #9ca3af;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.footer-contact p {
    color: #9ca3af;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.footer-quick-links h4 {
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-quick-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-quick-links li {
    margin-bottom: 0.5rem;
}

.footer-quick-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-quick-links a:hover {
    color: #ffffff;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

.footer-left {
    display: flex;
    gap: 8rem;
}

.footer-right {
    text-align: right;
}

.footer-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.footer-subtitle {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-description {
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.footer-address {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.footer-email {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-bottom: 1rem;
}

.footer-phone {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-hours {
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-hours p {
    margin-bottom: 0.25rem;
}

.footer-copyright {
    margin: 0;
    color: #9ca3af;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.footer-shortcuts {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-shortcut {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.875rem;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.footer-shortcut:hover {
    color: #ffffff;
}

.footer-link-icon {
    width: 0.875rem;
    height: 0.875rem;
    margin-left: 0.25rem;
    display: inline-block;
    vertical-align: middle;
}

.footer-bottom-text {
    margin: 0;
    color: #9ca3af;
    font-size: 0.875rem;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.footer-link {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.875rem;
}

.footer-link:hover {
    color: #ffffff;
}

.separator {
    color: #6b7280;
}

/* Sitemap Modal Styles */
.sitemap-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url(/static/images/bg/main-bg-2.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /*
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%);
    */
    backdrop-filter: blur(10px);

}

.sitemap-modal .sitemap-background {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgb(6 0 0 / 80%) 0%, rgb(44 69 119 / 70%) 100%);
}

.sitemap-modal.show {
    display: block;
}

.sitemap-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    overflow-y: auto;
}

.sitemap-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
}

.sitemap-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.sitemap-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-top: 1rem;
    margin-top: 2rem;
}

.sitemap-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
}

.sitemap-nav {
    display: flex;
    gap: 1rem;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.nav-btn.active,
.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.sitemap-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 0.75rem;
    padding: 1.5rem;
    min-height: 400px;
    transition: all 100ms ease;
}

.sitemap-card:hover {
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.sitemap-card-header {
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
    padding-bottom: 0.75rem;
}

.sitemap-card-header h3 {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

.sitemap-card-body {
    padding: 0;
}

.sitemap-card-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-card-body li {
    margin-bottom: 0.75rem;
}

.sitemap-card-body a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    line-height: 1.4;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
}

.sitemap-card-body a:hover {
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.1);
    transform: translateX(4px);
}

.card-title {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.card-divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #3b82f6 50%, transparent 100%);
    margin-bottom: 1.5rem;
}

.card-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-links li {
    margin-bottom: 0.75rem;
}

.card-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    line-height: 1.4;
    transition: color 0.25s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-links a:hover {
    color: #60a5fa;
}

.external-link {
    color: #60a5fa;
    font-size: 0.75rem;
}

/* Fixed desktop layout - no responsive adjustments */
/* Layout maintains 1280px minimum width and creates horizontal scroll on smaller screens */

html {
    padding: 0 !important;
    height: 100%;
}

/* All grid layouts maintain their desktop proportions */
.quick-menu-grid {
    min-width: 1280px;
    /* Ensures 5-column layout is preserved */
}

.education-grid {
    min-width: 1280px;
    /* Ensures 4-column layout is preserved */
}

/* Additional Pages Styles */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    padding: 4rem 0 2rem;
    margin-bottom: 2rem;
}

.page-title h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-title p {
    font-size: 1.125rem;
    opacity: 0.9;
}





/* Content Layout */
.content-section {
    padding: 0;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease-in-out, visibility 0s;
}

.content-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
}

/* Sidebar */
.sidebar {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 2rem;
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.side-nav h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e2e8f0;
}

.side-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-nav li {
    margin-bottom: 0.5rem;
}

.side-nav a {
    display: block;
    padding: 0.75rem 1rem;
    color: #64748b;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.side-nav a:hover,
.side-nav a.active {
    background: #f1f5f9;
    color: #1e40af;
}

/* Content Main */
.content-main {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 3rem;
}

.content-block {
    margin-bottom: 4rem;
}

.content-block:last-child {
    margin-bottom: 0;
}

.content-block h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.content-block h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

/* Text Content */
.text-content {
    line-height: 1.8;
    color: #374151;
}

.text-content p {
    margin-bottom: 1.5rem;
}

.text-content p:last-child {
    margin-bottom: 0;
}


.highlight-text {
    background: #f0f9ff;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border-left: 4px solid #0ea5e9;
    margin: 1.5rem 0;
}

/* Committee Content */
.committee-content {
    text-align: center;
}

.committee-image {
    margin-bottom: 2rem;
}

.committee-image img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.committee-desc {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.6;
}

/* Contact Info */
.contact-info {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
}

.contact-info h3 {
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.contact-details {
    display: grid;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: white;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
}

.contact-item strong {
    color: #1e293b;
    min-width: 100px;
}

.contact-item span {
    color: #1e40af;
    font-weight: 500;
}

/* Education Table Styles */
.education-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.education-table th,
.education-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.education-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #1e293b;
}

.education-table tr:hover {
    background: #f8fafc;
}

.education-table tr:last-child td {
    border-bottom: none;
}

/* Table responsive wrapper */
.table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
}

/* Resource Cards */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.resource-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.resource-card:hover {
    border-color: #1e40af;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.resource-card h3 {
    color: #1e293b;
    margin-bottom: 1rem;
}

.resource-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.resource-card .btn {
    width: 100%;
}

/* Resource specific styles */
.section-desc {
    color: #64748b;
    margin-bottom: 2rem;
    font-size: 1.125rem;
    line-height: 1.6;
}

.resource-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.resource-meta .date {
    color: #64748b;
}

.resource-meta .type {
    background: #e2e8f0;
    color: #1e293b;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: 500;
}

/* Form Styles */
.inquiry-form {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    margin-bottom: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e40af;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    display: flex;
    gap: 1rem;
}

.form-actions .btn {
    flex: 1;
}

/* Inquiry List */
.inquiry-list h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.inquiry-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.inquiry-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.inquiry-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}







/* About Page Styles */
.about-main {
    min-height: calc(100vh - 200px);
    background-color: #f8f9fa;
    padding: 2rem 0;
}

/* Main Content Layout (for pages without sidebar) */
.main-content {
    background: #f8f9fa;
    min-height: calc(100vh - 240px);
    padding: 2rem 0;
}

.main-content .container {
    max-width: 1440px;
    min-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-content .content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.main-content .section-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.main-content .content-body {
    margin-top: 1.5rem;
}

/* Legend Section for Education Schedule */
.legend-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.legend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.legend-group h4 {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 13px;
    color: #6c757d;
}

.legend-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    min-width: 70px;
    text-align: center;
    color: white;
}

.legend-badge.hkp {
    background: #28a745;
}

.legend-badge.phkp {
    background: #007bff;
}

.legend-badge.rt-hkp {
    background: #dc3545;
}

.legend-badge.rt-phkp {
    background: #fd7e14;
}

.legend-badge.rt-phki {
    background: #6f42c1;
}


.course-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin-right: 4px;
    margin-bottom: 4px;
    color: white;
}

.course-badge.hkp {
    background: #28a745;
}

.course-badge.online {
    background: #007bff;
}

.course-badge.hkpr {
    background: #dc3545;
}

.course-badge.rthkp {
    background: #fd7e14;
}

.course-badge.rthkpr {
    background: #6f42c1;
}



.section-header h1 {
    color: #2c5aa0;
    font-size: 2rem;
    margin: 0;
    font-weight: 600;
    text-align: left;
}

.content-body {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    align-items: start;
}

.content-text {
    line-height: 1.6;
    color: #333;
}

.content-text p {
    margin-bottom: 1rem;
}

.content-section .intro p {
    font-size:1.1rem;
    line-height:1.8;
    margin-bottom:1rem;
}

.content-section .intro .intro-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c5aa0;
    margin-bottom: 1.5rem;
}


.content-section .intro .signature {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
    text-align: right;
    font-size: 1.1rem;
}

.content-section .intro .signature p {
    margin:0 !important;
    line-height: 1.5;
}

.content-section .intro .signature .name {
    font-size: 2rem;
    font-family: 'KCC-Ahnchangho', serif;
}

.content-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    text-align: center;
}

/* Feature Lists */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li:before {
    content: "•";
    color: #2c5aa0;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Committee Grid */
.committee-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.committee-card {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #2c5aa0;
}

.committee-card h4 {
    color: #2c5aa0;
    margin: 0 0 0.5rem 0;
}

.committee-card p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

/* Contact Cards */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.contact-card {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #2c5aa0;
}

.contact-card h3 {
    color: #2c5aa0;
    margin: 0 0 1rem 0;
}

.contact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-label {
    font-weight: 500;
    color: #666;
}

.contact-value {
    color: #2c5aa0;
    font-weight: 500;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-list li:before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.info-card {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #2c5aa0;
}

.info-card h3 {
    color: #2c5aa0;
    margin: 0 0 1rem 0;
}

/* KTAS Levels */
.ktas-levels {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.ktas-levels h3 {
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.levels-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.level-item {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.level-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.level-name {
    font-weight: 500;
    color: #333;
}

.level-1 .level-number {
    background-color: #dc3545;
}

.level-2 .level-number {
    background-color: #fd7e14;
}

.level-3 .level-number {
    background-color: #ffc107;
}

.level-4 .level-number {
    background-color: #28a745;
}

.level-5 .level-number {
    background-color: #6c757d;
}

/* Single column layout for sections without images */
.content-section:not(#greeting) .content-body {
    grid-template-columns: 1fr;
}

/* Organization Chart SVG Styles */
.org-chart-svg {
    margin: 2rem 0;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow-x: auto;
    text-align: center;
}

.org-chart-svg svg {
    max-width: 100%;
    height: auto;
}

.ts-info-header {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
}


.ts-info-header .contact-time {
    color: #2c5aa0;
    font-weight: 600;
    margin-top:1rem;
}

.ts-info-header strong {
    font-weight: 700;
}

/* TS Table Styles */
.ts-table-container {
    overflow-x: auto;
    margin-top: 1rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.ts-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 0.9rem;
}

.ts-table th {
    background: #f7fafc;
    padding: 1rem 0.75rem;
    text-align: left;
    font-weight: 600;
    color: #2d3748;
    border-bottom: 2px solid #e2e8f0;
    white-space: nowrap;
}

.ts-table td {
    padding: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    color: #4a5568;
    vertical-align: top;
}

.ts-table td:last-child {
    border-right: none;
}

.ts-table tr:hover {
    background: #f7fafc;
}

.ts-table tr:last-child td {
    border-bottom: none;
}

.ts-table tbody tr {
    transition: background-color 0.2s ease;
}

.ts-table tbody tr td.region {
    background: #f9f8f8 !important;
    font-weight: 600;
    color: #2d3748;
    text-align:center;
    padding: 0.75rem 0 0;
    vertical-align: top;
}

.ts-table tr td,
.ts-table tr th {
    vertical-align: middle;
}

.ts-table:not(.ts-table2) tbody tr:hover:not(:has(td.region:hover)),
.ts-table:not(.ts-table2) tbody tr:nth-child(even):hover:not(:has(td.region:hover)),
.ts-table:not(.ts-table2) tbody tr:has(+ tr:nth-child(even):hover):not(:has(td.region:hover)),
.ts-table:not(.ts-table2) tbody tr:hover:has(td[rowspan]:nth-child(2)):not(:has(td.region:hover)) + tr,
.ts-table:not(.ts-table2) tbody tr:hover:has(td[rowspan]:nth-child(2)):not(:has(td.region:hover)) + tr td,
.ts-table:not(.ts-table2) tbody tr:nth-child(odd):hover:not(:has(td.region:hover)) + tr,
.ts-table:not(.ts-table2) tbody tr:nth-child(odd):hover:not(:has(td.region:hover)) + tr td {
    background-color: #f0f9ff !important;
    font-weight:500;
}

.ts-table.ts-table2 tbody tr:hover {
    background-color: #f0f9ff !important;
    font-weight:500;
}

/* ===== BOARD DETAIL PAGE STYLES ===== */

body {
    background: #f8f9fa;
    margin: 0;
    padding: 0;
}

/* Removed board-detail-container - using about-main layout instead */

/* Navigation */
.board-nav {
    margin:0;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #495057;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    cursor:pointer;
}

.nav-link:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
}

/* Category Badges */
.category-badge-container {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.category-badge.notice {
    background: #ffebee;
    color: #c62828;
}

.category-badge.attachment {
    background: #e3f2fd;
    color: #1976d2;
}

.category-badge svg {
    width: 14px;
    height: 14px;
}

/* Main Content */
.post-content {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Content Header */
.post-content .content-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.post-content .content-header .content-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #212529;
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

.post-content .content-header .post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.post-content .content-header .post-meta .meta-info {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.post-content .content-header .post-meta .meta-info .meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #6c757d;
    font-size: 0.85rem;
}

.post-content .content-header .post-meta .meta-info .meta-item svg {
    color: #adb5bd;
}

.post-content .content-header .action-buttons {
    display: flex;
    gap: 0.5rem;
}

.post-content .content-header .action-buttons .edit-btn,
.post-content .content-header .action-buttons .delete-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border: 1px solid #dee2e6;
    background: white;
    color: #6c757d;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.post-content .content-header .action-buttons .edit-btn:hover {
    border-color: #007bff;
    color: #007bff;
}

.post-content .content-header .action-buttons .delete-btn:hover {
    border-color: #dc3545;
}


.post-content .content-body {
    margin-bottom: 2rem;
    line-height: 1.7;
    color: #333;
}

/* Attachments Section */
.attachments-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
    margin: 0 0 1rem 0;
}

.attachment-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.attachment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.attachment-info {
    flex: 1;
}

.attachment-name {
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.25rem;
}

.attachment-actions {
    display: flex;
    gap: 0.5rem;
}

.download-btn {
    padding: 0.5rem 1rem;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.download-btn:hover {
    background: #0056b3;
}

.delete-btn {
    padding: 0.5rem 1rem;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.delete-btn:hover {
    background: #c82333;
}

/* Post List Section */
.post-list-section {
    background: white;
    border-radius: 8px;
    /* padding: 2rem; */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.post-list-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
}

.post-list-section .board-table .current-post {
    background: #e3f2fd !important;
}

.post-list-section .board-table .current-post:hover {
    background: #e3f2fd !important;
}

/* Comments Section */
.comments-section {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.comments-section .comments-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comments-section .comments-list .comment-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.comments-section .comments-list .comment-item .comment-avatar {
    width: 40px;
    height: 40px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.comments-section .comments-list .comment-item .comment-content {
    flex: 1;
}

.comments-section .comments-list .comment-item .comment-header {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 0.5rem;
}

.comments-section .comments-list .comment-item .comment-author {
    font-weight: 600;
    color: #495057;
}

.comments-section .comments-list .comment-item .comment-date {
    color: #6c757d;
    font-size: 0.85rem;
}

.comments-section .comments-list .comment-item .comment-text {
    color: #333;
    line-height: 1.6;
    margin: 0;
}

.comments-section .comments-list .comment-item .comment-text * {
    font-size:1rem !important;
}
/* ===== TAG STYLES ===== */

.tag {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    margin-right: 0.25rem;
}

.tag-dev {
    background: #e3f2fd;
    color: #1976d2;
}

.tag-design {
    background: #f3e5f5;
    color: #7b1fa2;
}

.tag-tutorial {
    background: #e8f5e8;
    color: #2e7d32;
}

.tag-notice {
    background: #fff3e0;
    color: #f57c00;
}


/* ===== ARTICLE BOARD TABLE STYLES ===== */

.board-table-container {
    overflow-x: auto;
    margin:0;
    background: white;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}



.board-table-container .table-controls {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom:1rem;
    background: white;
}

.board-table-container .table-controls .search-container {
    display: flex;
    align-items: center;
    position: relative;
    gap: 0.5rem;
}

.board-table-container .table-controls .search-container svg {
    color: #6c757d;
}

.board-table-container .table-controls .search-container .search-input {
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    padding-left: 2rem;
    font-size: 0.9rem;
    min-width: 250px;
    background: #f8f9fa;
}

.board-table-container .table-controls .search-container .search-input:focus {
    outline: none;
    border-color: #007bff;
    background: white;
}

.board-table-container .table-controls .search-container svg {
    position: absolute;
    left: 0.5rem;
    z-index: 1;
}

.board-table-container .board-table {
    width: 100%;
    table-layout: fixed;
    min-width: 900px;
    border-radius: 8px;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid rgba(17, 32, 49, 0.1);
}


.board-table-container .board-table thead tr th {
    background: #f8f9fa;
}

.board-table-container .board-table th {
    padding: 1rem 0.75rem;
    text-align: center;
    font-weight: 500;
    color: #495057;
    border-bottom: 1px solid #dee2e6;
    font-size: 0.9rem;
    white-space: nowrap;
}

.board-table-container .board-table td {
    padding: 1rem 0.75rem;
    text-align: center;
    border-bottom: 1px solid #f1f3f4;
    vertical-align: middle;
    font-size: 0.9rem;
    word-wrap: break-word;
    overflow: hidden;
}

.board-table-container .board-table tbody tr:hover {
    background: #f8f9fa;
}

.board-table-container .board-table tbody tr.notice-row {
    background: #fef7f0;
}

.board-table-container .board-table tbody tr td .notice-label {
    background: #ff4757;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

.board-table-container .board-table tbody tr td.title-cell {
    text-align: left !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.board-table-container .board-table tbody tr td.title-cell a {
    color: #333;
    text-decoration: none;
    line-height: 1.4;
    vertical-align: middle;
}

.board-table-container .board-table tbody tr td.title-cell a:hover {
    color: #007bff;
    text-decoration: underline;
}


.board-table-container .board-table tbody tr td .date-cell {
    color: #6c757d;
    font-size: 0.85rem;
}

.board-table-container .board-table tbody tr td .attach-cell {
    color: #6c757d;
}

.board-table-container .board-table tbody tr td .attach-cell svg {
    width: 16px;
    height: 16px;
}


/* Responsive table */
@media (max-width: 768px) {
    .board-table-container .table-controls {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .board-table-container .table-controls .search-input {
        min-width: auto;
        width: 100%;
    }

    .board-table-container .board-table th,
    .board-table-container .board-table td {
        padding: 0.5rem 0.25rem;
        font-size: 0.8rem;
    }

    .board-table-container .board-table .title-cell {
        max-width: 200px;
    }
}

/* ===== ARTICLE BOARD PAGINATION STYLES ===== */

.pagination-container {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

.pagination-container .pagination-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #dee2e6;
    background: white;
    color: #495057;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.pagination-container .pagination-btn:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
}

.pagination-container .pagination-btn.active {
    background: #6f42c1;
    color: white;
    border-color: #6f42c1;
}


/* MAIN PAGE Notice link styling */
.notice-item-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notice-item-title a:hover {
    color: #007bff;
}

/* Course Badge Styles */
.course-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    margin: 0.125rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

.course-badge.hkp {
    background: #e6fffa;
    color: #234e52;
    border: 1px solid #81e6d9;
}

.course-badge.online {
    background: #ebf8ff;
    color: #2c5282;
    border: 1px solid #90cdf4;
}

.course-badge.rthkp {
    background: #fef5e7;
    color: #744210;
    border: 1px solid #f6e05e;
}

.course-badge.hkpr {
    background: #fed7d7;
    color: #742a2a;
    border: 1px solid #fc8181;
}

.course-badge.rthkpr {
    background: #e9d8fd;
    color: #553c9a;
    border: 1px solid #b794f6;
}


/* Education Page Styles */
.notice-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.notice-item {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #2c5aa0;
}

.notice-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    background-color: #e9ecef;
    color: #6c757d;
}

.notice-badge.important {
    background-color: #dc3545;
    color: white;
}

.notice-date {
    color: #6c757d;
    font-size: 0.875rem;
    margin: 0.5rem 0;
}

.education-table,
.schedule-table {
    margin-top: 1rem;
    overflow-x: auto;
}

.education-table table,
.schedule-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.education-table th,
.schedule-table th {
    background-color: #2c5aa0;
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.education-table td,
.schedule-table td {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.curriculum-card {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #2c5aa0;
}

.curriculum-card h4 {
    color: #2c5aa0;
    margin: 0 0 1rem 0;
}

.status-open {
    background-color: #28a745;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-full {
    background-color: #dc3545;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.schedule-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.info-list li:before {
    content: "ℹ";
    color: #ffc107;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Member Page Styles */
.member-info-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #2c5aa0;
    margin-bottom: 2rem;
}

.member-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.member-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.member-item .label {
    font-weight: 500;
    color: #666;
}

.member-item .value {
    color: #2c5aa0;
    font-weight: 500;
}

.member-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.quick-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-top: 4px solid #2c5aa0;
}

.stat-card h4 {
    color: #666;
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #2c5aa0;
    line-height: 1;
}

.stat-unit {
    color: #666;
    font-size: 0.875rem;
}

.tab-container {
    margin-top: 1rem;
}

.tab-buttons {
    display: flex;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 2rem;
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    cursor: pointer;
    color: #666;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: #2c5aa0;
    border-bottom-color: #2c5aa0;
}

.tab-btn:hover {
    color: #2c5aa0;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.status-complete {
    background-color: #28a745;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-confirmed {
    background-color: #007bff;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.certificate-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.certificate-card {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #2c5aa0;
}

.certificate-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Form Styles */
.form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #2c5aa0;
    box-shadow: 0 0 0 2px rgba(44, 90, 160, 0.1);
}

.form-text {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.empty-message {
    text-align: center;
    color: #6c757d;
    padding: 2rem;
    font-style: italic;
}

/* Resources Page Styles */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.resource-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-top: 4px solid #2c5aa0;
    transition: transform 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.resource-icon {
    margin-bottom: 1rem;
}

.resource-card h3 {
    color: #2c5aa0;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.resource-card p {
    color: #666;
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
}

.resource-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 1rem;
}

.materials-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.material-item {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #2c5aa0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.material-item h3 {
    color: #2c5aa0;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.material-item p {
    color: #666;
    margin: 0 0 0.5rem 0;
}

.material-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: #999;
}

.inquiry-form {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    margin-bottom: 3rem;
}

.inquiry-table {
    overflow-x: auto;
}

.inquiry-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.inquiry-table th {
    background-color: #2c5aa0;
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.inquiry-table td {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.status-answered {
    background-color: #28a745;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}





.course-grid {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.course-tab-nav {
    display: flex;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.course-tab-btn {
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    border-right: 1px solid #e5e7eb;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
    flex: 1;
    color: #6b7280;
}

.course-tab-btn:last-child {
    border-right: none;
}

.course-tab-btn.active {
    background: #ffffff;
    color: #1e40af;
}

.course-tab-btn:hover {
    color: #374151;
}

.course-content {
    display: none;
    padding: 2rem;
}

.course-content.active {
    display: block;
}

.course-content .course-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
    background-color: transparent;
}


.course-content .course-header h3 {
    color: #111827 !important;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    background-color: transparent !important;
    padding: 0 !important;
    display: flex;
    align-items:center;
}

.course-content .course-header h3 .edu-label {
    margin-right:0.5rem;
}

.course-content .regulation-section {
    margin-bottom: 2rem;
}

/* General regulation table styles (original) */
.course-content .regulation-section .regulation-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #d1d5db;
    font-size: 0.875rem;
    background: white;
    margin-bottom: 1.5rem;
}

.course-content .regulation-section .regulation-table thead th {
    background: #eaeaea;
    color:#333;
    padding: 0.75rem;
    text-align: center;
    font-weight: 600;
    border: 1px solid #d1d5db;
}

.course-content .regulation-section .regulation-table tbody td {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    vertical-align: top;
    line-height: 1.6;
}

.course-content .regulation-section .regulation-table .label-cell {
    background: #f9fafb;
    font-weight: 600;
    width: 120px;
    text-align: center;
    color: #374151;
    vertical-align: middle;
}

.course-content .regulation-section .regulation-table .content-cell {
    line-height: 1.6;
    color: #374151;
}

.course-content .regulation-section .regulation-table .content-cell strong {
    color: #111827;
    font-weight: 600;
}

.warning-text {
    color: #dc2626;
    font-weight: 600;
    background: #fef2f2;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    display: inline-block;
}

.note-text {
    color: #6b7280;
    font-style: italic;
    font-size: 0.9rem;
}

.sample-link {
    color: #2c5aa0;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 500;
}

.sample-link:hover {
    color: #1e3a8a;
}

.link-blue {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 500;
}

.link-blue:hover {
    text-decoration: underline;
}

.online-badge {
    background: #10b981;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    vertical-align: middle;
}

.content-info {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 1rem 0;
}


/* Education Detail Page Styles */
.education-detail-container {
    padding:0;
    position: relative;
    margin:0;
}

.education-detail-container .education-title-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #2c5aa0;
}

.education-detail-container .education-title-section h2 {
    color: #333;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0;
    display: flex;
    align-items:center;
}

.education-detail-container .education-title-section .education-status {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.education-detail-container .status-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9rem;
}

.education-detail-container .status-badge.full {
    background: #dc3545;
    color: white;
}

.education-detail-container .status-badge.available {
    background: #1da13c;
    color: white;
}
.education-detail-container .status-badge.disabled {
    background: #6c757d;
    color: white;
}

.education-detail-container .education-title-section .document-number {
    color: #666;
    font-size: 0.9rem;
}

.education-detail-container .detail-table {
    width: 100%;
    border-collapse: collapse;
    border: 0.5px solid #ddd;
    margin-bottom:3rem;
}

.education-detail-container .detail-table td {
    padding: 0.8rem 1rem;
    border: 0.5px solid #ddd;
    vertical-align: middle;
}

.education-detail-container .detail-table .label-cell {
    background: #f8f9fa;
    color: #374151;
    font-weight: bold;
    width: 20%;
    text-align: center;
}

.education-detail-container .detail-table .value-cell {
    background: white;
    width: 30%;
}

.education-detail-container .detail-table .value-cell .date-close {
    text-decoration: line-through;
    text-decoration-color: rgba(210,0,0,0.3);
    display: flex;
    align-items: center;
}

.education-detail-container .detail-table .value-cell .date-close:after {
    content:'(마감)';
    margin-left:0.3rem;
    font-size:0.8rem;
    color:var(--ms-color-danger);
}

.education-detail-container .detail-table .value-cell.location {
    font-weight: bold;
    color: #333;
}

.education-detail-container .detail-table .notice-text {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
}

.education-detail-container .important-notice-section {
    margin-bottom: 3rem;
}

.education-detail-container .important-notice-section h3 {
    color: #333;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #ddd;
}

.education-detail-container .important-notice-section  .edu-detail-info-content {
    /* background: #f8f9fa;
    padding: 1.5rem; */
    border-radius: 8px;
}

.education-detail-container .important-notice-section  .detail-info-item {
    margin-bottom: 2rem;
    padding: 1rem;
    background: white;
    border-radius: 6px;
}

.education-detail-container .important-notice-section  .detail-info-item h3 {
    color: #333;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    border-bottom:none;
    padding-bottom:0;
}

.education-detail-container .important-notice-section  .detail-info-item h4 {
    color: #333;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.education-detail-container .important-notice-section .detail-info-item ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.education-detail-container .important-notice-section .detail-info-item li {
    margin-bottom: 0.4rem;
    line-height: 1.5;
}

.education-detail-container .important-notice-section .detail-info-item .sub-note {
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
}



.education-detail-container .attachments-section {
    margin-bottom: 3rem;
}

.attachments-section h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.attachments-section .attachment-list {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.attachments-section .attachment-list .attachment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    border: 1px solid #e9ecef;
}

.attachments-section .attachment-list .attachment-item:last-child {
    margin-bottom: 0;
}

.attachments-section .attachment-list .attachment-item .attachment-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.attachments-section .attachment-list .attachment-item .attachment-info .session-info {
    color: var(--ms-color-primary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-right:0.5rem;
}

.attachments-section .attachment-list .attachment-item .attachment-info .attachment-name {
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    margin:0;
}

.attachments-section .attachment-list .attachment-item .attachment-actions {
    display: flex;
    gap: 0.5rem;
}

.attachments-section .attachment-list .attachment-item .attachment-actions .download-btn {
    padding: 0.5rem 1rem;
    background: #2c5aa0;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.attachments-section .attachment-list .attachment-item .attachment-actions .download-btn:hover {
    background: #1e3f73;
}

.attachments-section .section-title {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}



/* 교육신청 버튼을 목록으로 버튼과 비슷한 크기로 조정 */
.education-detail-container .content-actions .btn-primary {
    padding: 0.75rem 1.5rem !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    border-radius: 6px !important;
    width: auto !important;
    flex: none !important;
    display: inline-block !important;
}

.education-detail-container .content-actions .btn-primary {
    background: #2c5aa0;
    color: white;
}

.education-detail-container .content-actions .btn-primary:hover {
    background: #1e3f73;
}

.education-detail-container .content-actions .btn-primary.disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.education-detail-container .content-actions .btn-secondary {
    background: #6c757d;
    color: white;
}

.education-detail-container .content-actions .btn-secondary:hover {
    background: #545b62;
}

.education-detail-container .navigation-buttons {
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.education-detail-container .navigation-buttons .nav-btn {
    padding: 0.6rem 1.5rem;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: #495057;
    cursor: pointer;
    transition: all 0.2s ease;
}

.education-detail-container .navigation-buttons .nav-btn:hover {
    background: #f8f9fa;
    border-color: #2c5aa0;
    color: #2c5aa0;
}

.education-detail-container .navigation-buttons .nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.education-detail-container .content-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.back-to-list-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    color: #495057;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.back-to-list-btn:hover {
    background: #f8f9fa;
    border-color: #2c5aa0;
    color: #2c5aa0;
}

/* === Breadcrumb Navigation === */
.breadcrumb-wrapper {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    width: 100%;
    padding: 0.75rem 0;
    margin: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.breadcrumb {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 14px;
    color: white;
}

.breadcrumb .breadcrumb-nav {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.breadcrumb .breadcrumb-nav .breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.breadcrumb .breadcrumb-nav .breadcrumb-item>a {
    opacity: 0.8;
}

.breadcrumb-item:not(:last-child):after {
    content: ">";
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: normal;
    font-size: 12px;
}

.breadcrumb-nav .breadcrumb-item a {
    color: white;
    text-decoration: none;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    transition: all 0.3s ease;
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    position: relative;
    /*background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);*/
}

.breadcrumb-nav .breadcrumb-item a:hover {
    background: rgba(255, 255, 255, 0.2);
    text-decoration: none;
    transform: translateY(-1px);
}

.breadcrumb-nav .breadcrumb-item a svg {
    width: 16px;
    height: 16px;
    opacity: 0.9;
}

.breadcrumb-item.current {
    color: white;
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
}

.breadcrumb-nav .breadcrumb-item.dropdown.current>a {
    color: white;
    font-weight: 600;
}

/* Dropdown functionality */
.breadcrumb-item.dropdown {
    position: relative;
}

.breadcrumb-nav .breadcrumb-item.dropdown>a:after {
    content: "▼";
    font-size: 10px;
    margin-left: 0.25rem;
    opacity: 0.8;
    transition: transform 0.3s ease;
}

.breadcrumb-nav .breadcrumb-item.dropdown.open>a:after {
    transform: rotate(180deg);
}

.breadcrumb-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    min-width: 200px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.breadcrumb-item.dropdown.open .breadcrumb-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.breadcrumb-nav .breadcrumb-dropdown .breadcrumb-dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f1f5f9;
    background: transparent;
    border-radius: 0;
    transform: none;
}

.breadcrumb-nav .breadcrumb-dropdown .breadcrumb-dropdown-item:last-child {
    border-bottom: none;
}

.breadcrumb-nav .breadcrumb-dropdown .breadcrumb-dropdown-item:hover {
    background: #f8fafc;
    color: #2563eb;
    transform: none;
}

/* Content section margin adjustment */
main>.content-section {
    display: block;
    padding: 2rem;
    margin-top: 0;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

/* KTAS 개요 페이지 스타일 */
.overview-section {
    background: white;
    padding: 0;
    margin:0;
}
.overview-section > h3 {
   margin:0;
}

.overview-intro {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.overview-intro h2 {
    color: #2c5aa0;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.overview-content {
    display: grid;
    gap: 2rem;
}


.content-section h3.sub-title {
    color: #2c5aa0;
    font-size: 1.3rem;
    margin-bottom: 0;
    margin-top:2rem;
    font-weight: 600;
}

.content-section p {
    margin:0;
    padding:0;
    line-height: 1.5;
}


.table-container .table-header {
    margin-top:2rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}
.table-container .table-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
}

.ktas-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.ktas-table th {
 /*   background: #f7fafc;*/
    padding: 15px 12px;
    text-align: center;
    font-weight: 600;
    background-color:#2d3748;
    color: #fff;
    white-space: nowrap;
    border:1px solid #e2e8f0;
    border-bottom-width:2px;
    border-bottom-color:#2d3748;
}
.ktas-table th:first-child {
    border-left-color:#2d3748;
}
.ktas-table th:last-child {
    border-right-color:#2d3748;
}

.ktas-table tr td {
    padding: 15px 12px;
    border: 1px solid #2d3748;
    vertical-align: middle;
    font-size: 15px;
    line-height: 1.6;
}
.ktas-table tr td:last-child {
    text-align:center;
}


.ktas-table .level-number {
    font-weight: 500;
    text-align: center;
    width: 80px;
}

/* KTAS 단계별 배경색 */
.ktas-level-1 .level-number {
    background: #2196f3;
    color: white;
}

.ktas-level-2 .level-number {
    background: #d32f2f;
    color: white;
}

.ktas-level-3 .level-number {
    background: #ffd03f;
}

.ktas-level-4 .level-number {
    background: #4caf50;
    color: white;
}

.ktas-level-5 .level-number {
    background: #f6f6f6;

}

/* 로그인/회원가입 페이지 스타일 */
.auth-main {
    padding: 4rem 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafe 0%, #e8f2ff 50%, #f0f7ff 100%);
    position: relative;
    overflow: hidden;
}

.auth-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="1400" height="800" viewBox="0 0 1400 800" fill="none"><defs><linearGradient id="medGrad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%234f9cf9;stop-opacity:0.12"/><stop offset="100%" style="stop-color:%2365c3f7;stop-opacity:0.08"/></linearGradient></defs><g opacity="0.4"><g transform="translate(80,50)"><rect x="0" y="0" width="120" height="80" rx="8" fill="white" stroke="%234f9cf9" stroke-width="2" opacity="0.7"/><rect x="10" y="10" width="100" height="6" rx="3" fill="%234f9cf9" opacity="0.5"/><rect x="10" y="25" width="80" height="4" rx="2" fill="%2396a8b5" opacity="0.4"/><rect x="10" y="35" width="90" height="4" rx="2" fill="%2396a8b5" opacity="0.4"/><circle cx="90" cy="55" r="12" fill="%23ff6b6b" opacity="0.6"/><path d="M83 55h14M90 48v14" stroke="white" stroke-width="3"/></g><g transform="translate(250,80)"><rect x="0" y="0" width="80" height="60" rx="6" fill="white" stroke="%2300b894" stroke-width="2" opacity="0.7"/><circle cx="40" cy="30" r="15" fill="%2300b894" opacity="0.6"/><rect x="10" y="45" width="60" height="3" rx="1" fill="%2300b894" opacity="0.5"/><rect x="15" y="52" width="50" height="3" rx="1" fill="%2300b894" opacity="0.4"/></g><g transform="translate(400,60)"><rect x="0" y="0" width="100" height="70" rx="8" fill="white" stroke="%23ffd93d" stroke-width="2" opacity="0.7"/><rect x="10" y="10" width="80" height="8" rx="4" fill="%23ffd93d" opacity="0.6"/><rect x="10" y="25" width="60" height="5" rx="2" fill="%2396a8b5" opacity="0.4"/><rect x="10" y="35" width="70" height="5" rx="2" fill="%2396a8b5" opacity="0.4"/><circle cx="75" cy="50" r="8" fill="%23ff6b6b" opacity="0.5"/><path d="M70 50h10M75 45v10" stroke="white" stroke-width="2"/></g><g transform="translate(600,90)"><circle cx="40" cy="40" r="35" fill="white" stroke="%234f9cf9" stroke-width="3" opacity="0.7"/><circle cx="40" cy="40" r="25" fill="%234f9cf9" opacity="0.3"/><circle cx="40" cy="40" r="15" fill="%234f9cf9" opacity="0.5"/><circle cx="40" cy="40" r="5" fill="white"/></g><g transform="translate(800,70)"><rect x="0" y="0" width="90" height="65" rx="6" fill="white" stroke="%23e17055" stroke-width="2" opacity="0.7"/><rect x="10" y="10" width="70" height="6" rx="3" fill="%23e17055" opacity="0.6"/><rect x="10" y="25" width="50" height="4" rx="2" fill="%2396a8b5" opacity="0.4"/><rect x="10" y="35" width="60" height="4" rx="2" fill="%2396a8b5" opacity="0.4"/><rect x="60" y="45" width="20" height="15" rx="3" fill="%23e17055" opacity="0.5"/></g></g><g opacity="0.3"><g transform="translate(950,100)"><rect x="0" y="0" width="110" height="75" rx="8" fill="white" stroke="%2365c3f7" stroke-width="2" opacity="0.6"/><rect x="10" y="10" width="90" height="8" rx="4" fill="%2365c3f7" opacity="0.5"/><rect x="10" y="25" width="70" height="5" rx="2" fill="%2396a8b5" opacity="0.3"/><rect x="10" y="35" width="80" height="5" rx="2" fill="%2396a8b5" opacity="0.3"/><circle cx="80" cy="55" r="10" fill="%23ff6b6b" opacity="0.5"/><path d="M75 55h10M80 50v10" stroke="white" stroke-width="2"/></g><g transform="translate(1150,80)"><rect x="0" y="0" width="85" height="55" rx="6" fill="white" stroke="%2300b894" stroke-width="2" opacity="0.6"/><rect x="10" y="10" width="65" height="6" rx="3" fill="%2300b894" opacity="0.5"/><rect x="10" y="23" width="45" height="4" rx="2" fill="%2396a8b5" opacity="0.3"/><rect x="10" y="33" width="55" height="4" rx="2" fill="%2396a8b5" opacity="0.3"/><circle cx="65" cy="43" r="8" fill="%2300b894" opacity="0.4"/></g><g transform="translate(50,350)"><rect x="0" y="0" width="130" height="85" rx="10" fill="white" stroke="%234f9cf9" stroke-width="2" opacity="0.6"/><rect x="15" y="15" width="100" height="10" rx="5" fill="%234f9cf9" opacity="0.5"/><rect x="15" y="35" width="80" height="6" rx="3" fill="%2396a8b5" opacity="0.3"/><rect x="15" y="50" width="90" height="6" rx="3" fill="%2396a8b5" opacity="0.3"/><circle cx="100" cy="65" r="12" fill="%23ff6b6b" opacity="0.4"/><path d="M92 65h16M100 57v16" stroke="white" stroke-width="3"/></g><g transform="translate(300,380)"><circle cx="35" cy="35" r="30" fill="white" stroke="%2365c3f7" stroke-width="2" opacity="0.6"/><circle cx="35" cy="35" r="22" fill="%2365c3f7" opacity="0.2"/><circle cx="35" cy="35" r="14" fill="%2365c3f7" opacity="0.3"/><circle cx="35" cy="35" r="6" fill="white"/></g><g transform="translate(500,350)"><rect x="0" y="0" width="95" height="70" rx="8" fill="white" stroke="%23ffd93d" stroke-width="2" opacity="0.6"/><rect x="10" y="10" width="75" height="8" rx="4" fill="%23ffd93d" opacity="0.4"/><rect x="10" y="25" width="55" height="5" rx="2" fill="%2396a8b5" opacity="0.3"/><rect x="10" y="35" width="65" height="5" rx="2" fill="%2396a8b5" opacity="0.3"/><rect x="65" y="50" width="20" height="15" rx="3" fill="%23ffd93d" opacity="0.3"/></g></g><g opacity="0.2"><g transform="translate(700,350)"><rect x="0" y="0" width="105" height="65" rx="8" fill="white" stroke="%2300b894" stroke-width="2" opacity="0.5"/><rect x="10" y="10" width="85" height="7" rx="3" fill="%2300b894" opacity="0.4"/><rect x="10" y="25" width="65" height="5" rx="2" fill="%2396a8b5" opacity="0.2"/><rect x="10" y="35" width="75" height="5" rx="2" fill="%2396a8b5" opacity="0.2"/><circle cx="80" cy="50" r="8" fill="%2300b894" opacity="0.3"/></g><g transform="translate(900,380)"><circle cx="30" cy="30" r="25" fill="white" stroke="%23e17055" stroke-width="2" opacity="0.5"/><circle cx="30" cy="30" r="18" fill="%23e17055" opacity="0.15"/><circle cx="30" cy="30" r="10" fill="%23e17055" opacity="0.2"/><circle cx="30" cy="30" r="4" fill="white"/></g></g></svg>');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0.9;
}

.auth-main>* {
    position: relative;
    z-index: 1;
}

.auth-container {
    max-width: 1440px;
    min-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 15rem;
}

.auth-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 800px;
}

.auth-header {
    text-align: left;
    margin-bottom: 2rem;
    color: #333;
}

.auth-header h1 {
    font-size: 2rem;
    color: #333;
    font-weight: 500;
}

.auth-header h1 strong {
    font-weight: 800;
}

.auth-header p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.auth-illustration {
    margin-bottom: 2rem;
}

.auth-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    width: 100%;
    border: 1px solid #e0e0e0;
    border-top: 3px solid #1e40af
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.auth-form .form-row {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.auth-form .form-row:last-of-type {
    margin-bottom: 0;
}

.auth-form .form-group {
    flex: 1;
    margin: 0;
}

.auth-form * {
    user-select: none;
}

.auth-form .form-group input {
    width: 100%;
    padding: 1.2rem 1.2rem 1.2rem 3rem;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"/><circle cx="12" cy="7" r="4"/></svg>') no-repeat 12px center !important;
    background-size: 16px 16px !important;
}



.auth-form .form-group input[type="password"] {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="11" width="18" height="11" rx="2" ry="2"/><circle cx="12" cy="16" r="1"/><path d="M7 11V7a5 5 0 0 1 10 0v4"/></svg>');
    background-size: 16px 16px;
    background-position: 12px center;
    background-repeat: no-repeat;
}

.auth-form .form-group input:focus {
    outline: none;
    border-color: #3b82f6;
}

.auth-form .form-group input::placeholder {
    color: #9ca3af;
}


.auth-form .auth-btn {
    width: 120px;
    background: #1e40af;
    color: white;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-left: 1rem;
    flex-shrink: 0;
    align-self: stretch;
}

.auth-btn:hover {
    background: #1d4ed8;
}

.auth-links {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.auth-links a {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.auth-links a:hover {
    color: #3b82f6;
}

.auth-links .divider {
    margin: 0 1rem;
    color: #d1d5db;
}

ster-main {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: calc(100vh - 160px);
    padding: 2rem 0;
}

.register-container {
    max-width: 1440px;
    min-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.register-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    padding: 2rem;
    margin-top: 2rem;
}

.register-header {
    text-align: center;
    margin-bottom: 2rem;
}

.register-header h1 {
    color: #2c5aa0;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.register-header p {
    color: #666;
    font-size: 1rem;
}

.register-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    margin-top:2rem;
    gap: 2rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    max-width: 200px;
}

.step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 20px;
    left: 60%;
    width: 80%;
    height: 2px;
    background: #e9ecef;
    z-index: -1;
}

.step.active:not(:last-child):after {
    background: #2c5aa0;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: #2c5aa0;
    color: white;
}

.step-text {
    font-size: 14px;
    color: #666;
    text-align: center;
    font-weight: 500;
}

.step.active .step-text {
    color: #2c5aa0;
    font-weight: 600;
}

.register-step-content {
    max-width: 800px;
    margin: 0 auto;
    border-top: var(--ms-basic-border);
    padding-top:20px;
}

.register-main .register-step-content h2 {
    color: #2c5aa0;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.register-step-content .terms-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    max-height: 400px;
    overflow-y: auto;
    font-size:0.9rem;
}

.register-step-content .terms-section h3 {
    color: #2c5aa0;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.register-step-content  .terms-section .terms-article {
    margin-bottom: 1.5rem;
    font-size:0.9rem;
}

.register-step-content  .terms-section .terms-article h4 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.register-step-content .terms-section .terms-article p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.register-step-content .terms-section .terms-article ul,
.register-step-content .terms-section .terms-article ol {
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}
.register-step-content .terms-section .terms-article ol {
    list-style: none;
}

.register-step-content .terms-section .terms-article li {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.3rem;
}

.register-step-content .terms-agreement {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin-bottom: 2rem;
}

.register-step-content .terms-agreement .agreement-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.register-step-content .terms-agreement .agreement-item:last-child {
    margin-bottom: 0;
}

.register-step-content .terms-agreement .agreement-item label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    color: #333;
}

.register-step-content .terms-agreement .agreement-item input[type="checkbox"] {
    margin-right: 0.5rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.verification-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.verification-method {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.verification-method h3 {
    color: #2c5aa0;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.verification-method p {
    color: #666;
    margin-bottom: 1.5rem;
}

.verification-result {
    padding:30px 20px;
    border-radius: 8px;
    background-color:#f8f9fa;
}
.verification-result .title {}
.verification-result .message {}
.verification-result .message strong {}
.verification-result .btn-primary {
    flex: 0 0 auto;
}
.register-main .verification-result .btn-outline {
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1rem;
}
.verification-result .form-group label {
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}
.verification-result .form-group .required:after {
    content: '*';
    color: #dc3545;
    margin-left: 2px;
}
.verification-result .form-group label .desc {
    font-size: 0.85rem;
    color: #aaa;
    margin-left: 1rem;
    font-weight: 400;
}
.register-form {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.register-form * {
    user-select: none;
}

.register-form .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom:4px;
}

.register-form .form-group label {
    margin-bottom: 0.5rem;
    color: #333;
    font-size:0.95rem;
    font-weight: 500;
    display: flex;
    align-items:center;
}

.register-form .form-group label .desc {
    font-size:0.85rem;
    color: #aaa;
    margin-left:1rem;
    font-weight:400;
}

.register-form .required::after {
    content: '*';
    color: #dc3545;
    margin-left: 2px;
}

.register-form .input-group {
    display: flex;
    gap: 0.5rem;
    align-items:center;
}


.register-form .form-group .radio-group {
    gap: 16px;
}

.register-form .form-group .radio-group .radio-option {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #333;
}

.register-form .form-group .radio-group .radio-option input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0;
}

.register-form .input-group input {
   width:100%;
}

.register-form .input-group button {
    padding:14px 16px;
    line-height:1;
}

.register-form .input-group .separator {
    color: #6b7280;
    height:auto;
}


.register-form .form-group .form-desc {
    font-size:0.85rem;
    color: #aaa;
}



.register-form input,
.register-form select {
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    width:auto;
}

.register-form input:focus,
.register-form select:focus {
    outline: none;
    border-color: #2c5aa0;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.register-main .register-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.register-main .btn-primary {
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.register-main .btn-primary:hover:not(:disabled) {
    background: #1d4ed8;
}

.register-main .btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
}
.register-main .btn-submit {
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    background: #2563eb;
}

.register-main .btn-submit:hover {
    background: #1d4ed8;
}

.register-main .btn-submit:hover svg g [fill] {
    fill: var(--ms-color-yellow) !important;
}

.register-main .btn-secondary {
    background: #f3f4f6;
    color: #6b7280;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}


.register-main .btn-secondary:hover {
    background: #e5e7eb;
    color: #374151;
}

.register-main .btn-outline {
    background: white;
    color: #2c5aa0;
    border: 1px solid #2c5aa0;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.register-main .btn-outline:not(:disabled):hover {
    background: #2c5aa0;
    color: white;
}

.register-main .btn-outline:disabled {
   cursor:default;
    background-color: #5c708f;
    border-color: #5c708f;
    color: #fff;
}

.register-main .completion-message {
    text-align: center;
    margin-bottom: 2rem;
}

.register-main .success-icon {
    margin-bottom: 1rem;
}

.register-main .completion-message h3 {
    color: #2c5aa0;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.register-main .completion-message p {
    color: #666;
    font-size: 1rem;
}

/* 내정보 수정 페이지 스타일 */
.profile-main {
    padding: 2rem 0;
    background: #f8f9fa;
    min-height: calc(100vh - 200px);
}

.profile-main .profile-container {
    max-width: 1440px;
    min-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.profile-main .profile-header {
    margin-bottom: 1.5rem;
}

.profile-main .profile-header h1 {
    font-size: 28px;
    color: #333;
    font-weight: 600;
    margin: 0;
}

.profile-main .profile-header h1 span {
    font-weight: 400;
    color: #666;
}

.profile-main .profile-notice {
    background: #e8f2ff;
    border: 1px solid #b3d7ff;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.profile-main .profile-notice p {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.profile-main .profile-notice strong {
    color: #2563eb;
    font-weight: 600;
}

.profile-main .profile-form {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.profile-main .form-section {
    padding: 1.5rem;
}

.profile-main .form-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    min-height: 36px;
}

.profile-main .form-row:last-child {
    margin-bottom: 0;
}

.profile-main .form-label {
    width: 120px;
    padding: 6px 12px 6px 0;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    min-height: 36px;
    margin: 0;
}

.profile-main .form-label.required::after {
    content: '*';
    color: #dc3545;
    margin-left: 4px;
}

.profile-main .form-input {
    flex: 1;
    padding: 6px 12px;
    min-height: 36px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
}

.profile-main .form-input input[type="text"],
.profile-main .form-input input[type="email"],
.profile-main .form-input select {
    width: 100%;
    max-width: 300px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.4;
}

.profile-main .form-input input[readonly] {
    background: #f8f9fa;
    color: #666;
}

.profile-main .birth-input {
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px;
}

.profile-main .birth-input select {
    width: auto;
    max-width: 80px;
}

.profile-main .birth-input span {
    font-size: 14px;
    color: #666;
}

.profile-main .radio-group {
    flex-direction: row !important;
    align-items: center !important;
    gap: 20px;
}

.profile-main .radio-label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.profile-main .radio-label input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0;
}

.profile-main .affiliation-input {
    gap: 12px;
}

.profile-main .affiliation-input select {
    max-width: 150px;
}

.profile-main .affiliation-detail {
    width: 100%;
    margin-top: 12px;
}

.profile-main .affiliation-detail input {
    margin-bottom: 8px;
}

.profile-main .phone-input {
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 8px;
    flex-wrap: wrap;
}

.profile-main .phone-input select {
    width: auto;
    max-width: 80px;
}

.profile-main .phone-input input {
    width: auto;
    max-width: 80px;
}

.profile-main .phone-input span {
    padding: 8px 0;
    font-size: 14px;
    color: #666;
}

.profile-main .phone-input .form-note {
    width: 100%;
    margin-top: 8px;
}

.profile-main .stamp-input .stamp-upload {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.profile-main .btn-upload {
    padding: 8px 16px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    color: #333;
}

.profile-main .btn-upload:hover {
    background: #e9ecef;
}

.profile-main .file-name {
    font-size: 14px;
    color: #666;
}

.profile-main .form-note {
    font-size: 13px;
    color: #666;
    margin: 4px 0 0 0;
    line-height: 1.4;
}

.profile-main .form-note.error {
    color: #dc3545;
}

.profile-main .form-actions {
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.profile-main .btn {
    padding: 12px 32px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
}

.profile-main .btn-cancel {
    background: #6c757d;
    color: white;
}

.profile-main .btn-cancel:hover {
    background: #5a6268;
}

.profile-main .btn-submit {
    background: #2563eb;
    color: white;
}

.profile-main .btn-submit:hover {
    background: #1d4ed8;
}

/* 교육신청/이수이력 페이지 스타일 */
.education-history-main { }

.education-history-main .apply-notice {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 0.5rem;
}

.education-history-main .apply-notice .notice-content {
    margin-bottom: 1rem;
}

.education-history-main .apply-notice .notice-content p {
    margin: 0 0 0.3rem 0;
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}

.education-history-main .apply-notice .notice-content .status-info {
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid #e9ecef;
}

.education-history-main .apply-notice .notice-content .status-info p {
    margin: 0.25rem 0;
    font-size: 13px;
    color: #666;
}

.education-history-main .apply-notice .notice-content .status-info p b {
    color: #1d4ed8;
    font-weight:normal;
}

.education-history-main .apply-notice .notice-content .text-orange {
    color: #ff8c00 !important;
}

.education-history-main .apply-notice .download-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.education-history-main .apply-notice .btn-download {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.education-history-main .apply-notice .btn-download.red {
    background: #dc3545;
}

.education-history-main .apply-notice .btn-download.red:hover {
    background: #c82333;
}

.education-history-main .apply-notice .btn-download.orange {
    background: #fd7e14;
}

.education-history-main .apply-notice .btn-download.orange:hover {
    background: #e8690b;
}

.education-history-main .apply-notice .btn-download.pink {
    background: #e83e8c;
}

.education-history-main .apply-notice .btn-download.pink:hover {
    background: #dc3575;
}
.exam-main .exam-button-group,
.education-history-main .exam-button-group {
    display: block;
    text-align:center;
    margin-top:3rem;
}

.exam-main .exam-button-group button,
.education-history-main .exam-button-group button {
    font-size:16px;
    padding: 16px 32px;
    border-radius: 8px;
}

.exam-main .exam-button-group button.btn-primary,
.education-history-main .exam-button-group button.btn-primary {
    font-weight:600;
}


.exam-main {
    margin: 0 auto;
    min-height: 100vh;
    padding-bottom:40px;
}
.exam-main .container {
    display: flex;
    margin:0;
    gap:40px;
    justify-content: center;
}

.exam-main .question-quick-button-aside {
    width:200px;
    height:100%;
    transition: transform 0.3s ease-out;
}

.exam-main .question-quick-button-aside .aside-title {
    color:#aeaeae;
    font-weight:400;
    margin-bottom:8px;
}
.exam-main .question-quick-button-aside ul.quick-button-list {
    list-style: none;
    background-color:#fff;
    border: 1px solid rgba(17, 32, 49, 0.2);
    border-radius:7px;
    display: flex;
    flex-wrap:wrap;
}


.exam-main .question-quick-button-aside ul.quick-button-list li.quick-button-item {
    padding: 7px 10px 7px 20px;
    font-size:14px;
    cursor:pointer;
    width:50%;
    border-bottom: 1px solid rgba(17, 32, 49, 0.2);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.exam-main .question-quick-button-aside ul.quick-button-list li.quick-button-item[data-correct="true"] {
    color:#1e40af;
    font-weight:500;
}

.exam-main .question-quick-button-aside ul.quick-button-list li.quick-button-item[data-correct="false"] {
    color:#dc3545;
    font-weight:500;
}

.exam-main .question-quick-button-aside ul.quick-button-list li.quick-button-item:hover {
    background-color: rgba(17, 32, 49, 0.05);
}

.exam-main .question-quick-button-aside ul.quick-button-list li.quick-button-item:nth-child(even) {
    border-left: 1px solid rgba(17, 32, 49, 0.2);
}

.exam-main .question-quick-button-aside ul.quick-button-list li.quick-button-item:last-child,
.exam-main .question-quick-button-aside ul.quick-button-list li.quick-button-item:nth-last-child(2) {
    border-bottom:none;
}
.exam-main .question-quick-button-aside ul.quick-button-list li.quick-button-item .status {
    width:100%;
}
.exam-main .question-quick-button-aside ul.quick-button-list li.quick-button-item .title {
    position: relative;
    width:100%;
}

.exam-main .question-quick-button-aside ul.quick-button-list li.quick-button-item[data-checked="true"] .title:after {
    font-family: 'Line Awesome Free';
    font-weight: 900;
    content: "\f00c";
    color:#1e40af;
    position: absolute;
    right:0;
}

.exam-main .question-quick-button-aside ul.quick-button-list li.quick-button-item[data-correct="false"] .title:after{
    color:#dc3545;
}

.main-content.exam-main .content-wrapper  {
    max-width:1000px;
    flex: 1 1 auto;
    margin:0;
    height:100%;
}

.main-content.exam-main .content-wrapper .content-section .section-header  {
    display: flex;
    align-items:center;
    border-bottom: 2px solid #e9ecef;
    padding-bottom:1rem;
    margin-bottom:2rem;
}

.main-content.exam-main .content-wrapper .content-section .section-header h1 {
    border-bottom:none;
    padding-bottom:0;
    margin-bottom:0;
}

.main-content.exam-main .content-wrapper .content-section .section-header .exam-timer {
    margin-left:auto;
    font-size:2rem;
    font-weight:700;
    padding-bottom:0;
    margin-bottom:0;
}


.exam-main ul.exam-question-list {
    list-style: none;
}

.exam-main ul.exam-question-list * {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.exam-main ul.exam-question-list li.question-item{
    margin-bottom:20px;
    padding:20px 40px;
    border: 1px solid rgba(17, 32, 49, 0.2);
    border-radius:14px;
}
.exam-main ul.exam-question-list li.question-item[data-correct="true"] {
    border: 1px solid #1e40af;
    background: #f6f6f6;
}
.exam-main ul.exam-question-list li.question-item .question-number {
    font-size:24px;
    font-weight:700;
}
.exam-main ul.exam-question-list li.question-item .question-contents {
    padding-top:16px;
    font-size:15px;
    padding-bottom:16px;
    border-bottom: 1px dashed rgba(17, 32, 49, 0.2);
}
.exam-main ul.exam-question-list li.question-item .question-options {
    padding-top:16px;
}
.exam-main ul.exam-question-list li.question-item .question-options .radio-btn-group { display: flex;}
.exam-main ul.exam-question-list li.question-item .question-options .radio-btn-group label { display: block; flex: 1 1 0; cursor: pointer;}
.exam-main ul.exam-question-list li.question-item .question-options .radio-btn-group input { display: none; }
.exam-main ul.exam-question-list li.question-item .question-options .radio-btn-group label input + span {
    border: 1px solid rgba(17, 32, 49, 0.2);
    display: block;
    text-align: center;
    font-size: 14px;
    padding-top: 8px;
    padding-bottom: 8px;
    user-select: none;
    position: relative;
}
.exam-main ul.exam-question-list li.question-item .question-options .radio-btn-group label input:disabled + span {
    background: #f6f6f6;
}

.exam-main ul.exam-question-list li.question-item .question-options .radio-btn-group label input:checked + span {
    background: #1e40af;
    color: #fff;
    font-weight:600;
}


.exam-main ul.exam-question-list li.question-item .question-options .radio-btn-group label input:checked + span:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f00c";
    color:#fff;
    position: absolute;
    left:20px;

}

.exam-main ul.exam-question-list li.question-item .question-options .radio-btn-group label:nth-of-type(1) input + span {
    border-radius: 5px 0 0 5px;
}
.exam-main ul.exam-question-list li.question-item .question-options .radio-btn-group label:nth-last-of-type(1) input + span {
    border-radius: 0 5px 5px 0;
}



.table-container {
    margin-bottom:1rem;
    overflow-x: auto;
}

.table-container .table-header {
    text-align: center;
    margin-bottom: 1.5rem;
    margin-top:2rem;
    padding-bottom:0;
}
.table-container .table-header .title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 8px;
}


.table-container .table-header .table-action {
    margin-top:1.5rem;
    display: flex;
    gap: 0.75rem;
}
.table-container .table-header .table-action .btn {
    display: flex;
    align-items:center;
    justify-content: center;
}

.table-container .table-header .table-action .btn-outline {
    background: white;
    color: #2c5aa0;
    border: 1px solid #2c5aa0;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.table-container .table-header .table-action .btn-primary {
    background: #2c5aa0;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    flex: 1;
}

.table-container .table-header .table-action .btn svg {
    margin-right:4px;
}

.table-container .table-filter {
    background: white;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.table-container .table-filter .filter-tabs {
    display: flex;
    gap: 0.5rem;
}

.table-container .table-filter .filter-tabs .item {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 1px solid #dee2e6;
    color: #495057;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 8px;
    text-decoration: none;
}

.table-container .table-filter .filter-tabs .item.active {
    background: #2c5aa0;
    color: white;
    border-color: #2c5aa0;
}

.table-container .table-filter .filter-tabs .item:hover {
    background: #f8f9fa;
}

.table-container .table-filter .filter-tabs .item.active:hover {
    background: #2c5aa0;
}

.table-container .table-filter .filter-options {
    display: flex;
    gap: 1rem;
}

.table-container .table-filter .filter-options .filter-select {
    padding: 0.75rem 1rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 0.9rem;
    background: white;
    cursor: pointer;
}

.table-container .table-filter .filter-options .filter-select:focus {
    outline: none;
    border-color: #2c5aa0;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.table-container .data-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e9ecef;
}

.table-container .data-table th,
.table-container .data-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.table-container .data-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.table-container .data-table td {
    font-size: 14px;
    color: #333;
}

.table-container .data-table:not(.no-hover) tbody tr:hover {
    background: #f8f9fa;
}

.education-history-main .badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.education-history-main .badge-primary {
    background: #e3f2fd;
    color: #1976d2;
}

.education-history-main .badge-success {
    background: #e8f5e8;
    color: #28a745;
}

.education-history-main .badge-info {
    background: #e1f5fe;
    color: #0277bd;
}

.education-history-main .status-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.education-history-main .status-active {
    background: #e8f5e8;
    color: #28a745;
}

.education-history-main .status-warning {
    background: #fff3cd;
    color: #856404;
}

.education-history-main .status-expired {
    background: #f8d7da;
    color: #721c24;
}


.table-container .data-table td .score {
    font-weight: 600;
}

.table-container .data-table td .score.excellent {
    color: #28a745;
}

.table-container .data-table td .score.good {
    color: #ffc107;
}

.table-container .data-table td .score.fail {
    color: #dc3545;
}

.table-container .data-table td .score.pending {
    color: #6c757d;
}

.education-history-main .status-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    display: inline-block;
}

.education-history-main .status-badge.completed {
    background: #d4edda;
    color: #155724;
}

.education-history-main .status-badge.in-progress {
    background: #fff3cd;
    color: #856404;
}

.education-history-main .status-badge.failed {
    background: #f8d7da;
    color: #721c24;
}

.table-container .data-table tbody tr td .btn-download {
    padding: 0.5rem 1rem;
    background: #2c5aa0;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.table-container .data-table tbody tr td .btn-download:hover {
    background: #1e3a8a;
    transform: translateY(-1px);
}

.table-container .data-table tbody tr td .btn-download:disabled,
.table-container .data-table tbody tr td .btn-download:disabled:hover{
    background: #6c757d;
    color:#ddd;
    cursor: not-allowed;
}


.table-container .data-table tbody tr td .btn-refund {
    padding: 0.5rem 1rem;
    background: #a02c72;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.table-container .data-table tbody tr td .btn-refund:hover {
    background: #ae2678;
    transform: translateY(-1px);
}

.table-container .data-table tbody tr td .btn-refund:disabled,
.table-container .data-table tbody tr td .btn-refund:disabled:hover{
    background: #a4688b;
    color:#ddd;
    cursor: not-allowed;
}


.table-container .data-table tbody tr td .btn-red {
    padding: 0.5rem 1rem;
    background: #dd4545;
    border: 1px solid #dd4545;
    color: #fff;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.table-container .data-table tbody tr td .btn-red:hover {
    background: #dd4545;
    border-color: #dd4545;
    transform: translateY(-1px);
}

.table-container .data-table tbody tr td .btn-red:disabled,
.table-container .data-table tbody tr td .btn-red:disabled:hover{
    background: #b54e4e;
    color:#ddd;
    cursor: not-allowed;
}

.table-container .data-table .btn-icon {
    background: none;
    border: none;
    padding: 4px;
    border-radius: 4px;
    cursor: pointer;
    color: #666;
    margin: 0 2px;
}

.table-container .data-table .btn-icon:hover {
    background: #f8f9fa;
    color: #333;
}

.table-container .data-table .btn-icon.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 회원가입 기본정보 입력 페이지 스타일 */
.register-main {
    padding: 2rem 0;
    background: #f8f9fa;
    min-height: calc(100vh - 200px);
}

.register-main .register-container {
    max-width: 1000px;
    min-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.register-main .register-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    padding: 12px 16px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #856404;
}

.register-main .notice-icon {
    color: #f39c12;
    font-weight: bold;
}

.register-main .register-form {
    background: white;
    overflow: hidden;
}

.register-main .form-section {
    border-bottom: 1px solid #e9ecef;
}

.register-main .form-section:last-of-type {
    border-bottom: none;
}

.register-main .section-title {
    background: #f8f9fa;
    border-bottom: 2px solid #2c5aa0;
    padding: 16px 24px;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.register-main .form-row {
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid #f1f3f4;
    min-height: 50px;
}

.register-main .form-row:last-child {
    border-bottom: none;
}

.register-main .form-label {
    width: 140px;
    background: #f8f9fa;
    padding: 15px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    border-right: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    margin: 0;
}

.register-main .form-label.required::before {
    content: '*';
    color: #dc3545;
    margin-right: 4px;
}

.register-main .form-input {
    flex: 1;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.register-main .input-field {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 1.4;
    background: white;
    max-width: 300px;
}

.register-main .input-field:focus {
    outline: none;
    border-color: #2c5aa0;
    box-shadow: 0 0 0 2px rgba(44, 90, 160, 0.1);
}

.register-main .input-field[readonly] {
    background: #f8f9fa;
    color: #666;
}

.register-main .select-field {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 1.4;
    background: white;
    cursor: pointer;
}

.register-main .btn-check {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    white-space: nowrap;
}

.register-main .btn-check:hover {
    background: #e9ecef;
}

.register-main .phone-input {
    gap: 4px;
}

.register-main .phone-input .select-field {
    width: 70px;
}

.register-main .phone-input .input-field {
    width: 80px;
    max-width: 80px;
}

.register-main .phone-input span {
    color: #666;
    padding: 0 4px;
}

.register-main .email-input {
    gap: 4px;
}

.register-main .email-input .input-field {
    width: 150px;
    max-width: 150px;
}

.register-main .email-input .select-field {
    width: 120px;
}

.register-main .email-input span {
    color: #666;
    padding: 0 4px;
}

.register-main .form-help-text {
    padding: 8px 20px 16px 160px;
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    background: white;
}

.register-main .marketing-content {
    padding: 20px;
    background: white;
}

.register-main .marketing-content p {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.register-main .consent-options {
    padding: 12px 20px 20px 20px;
    background: white;
}

.register-main .radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.register-main .radio-label input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0;
}

.register-main .form-actions {
    padding: 20px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.register-main .btn {
    padding: 12px 32px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 100px;
}

.register-main .btn-cancel {
    background: #6c757d;
    color: white;
}

.register-main .btn-cancel:hover {
    background: #5a6268;
}

.register-main .btn-submit {
    background: #2c5aa0;
    color: white;
}

.register-main .btn-submit:hover {
    background: #1e3f6f;
}

/* 내 정보관리 버전2 페이지 스타일 */
.profile-v2-main {
    padding: 2rem 0;
    background: #f8f9fa;
    min-height: calc(100vh - 200px);
}

.profile-v2-main .profile-v2-container {
    max-width: 1440px;
    min-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.profile-v2-main .profile-layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

/* Left Sidebar - 환자정보 */
.profile-v2-main .profile-sidebar {
    width: 280px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.profile-v2-main .sidebar-title {
    background: #f8f9fa;
    border-bottom: 2px solid #2c5aa0;
    padding: 16px 20px;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.profile-v2-main .profile-info {
    padding: 20px;
}

.profile-v2-main .info-row {
    display: flex;
    align-items: center;
    min-height: 32px;
    padding: 4px 0;
}

.profile-v2-main .info-row.last-row {
    margin-bottom: 0;
}

.profile-v2-main .info-label {
    font-size: 13px;
    color: #666;
    font-weight: 400;
}

.profile-v2-main .info-value {
    font-size: 0.95rem;
    color: #333;
    font-weight: 500;
}

.profile-v2-main .name-value {
    color: #2c5aa0;
    font-weight: 600;
}


.profile-v2-main .sidebar-buttons {
    padding: 20px;
    border-top: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-v2-main .btn-sidebar {
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
    color: #333;
    text-align: center;
}

.profile-v2-main .btn-sidebar:hover {
    background: #f8f9fa;
    border-color: #2c5aa0;
}

/* Right Content - 내 정보관리 */
.profile-v2-main .profile-content {
    flex: 1;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.profile-v2-main .content-title {
    background: #f8f9fa;
    border-bottom: 2px solid #2c5aa0;
    padding: 16px 24px;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.profile-v2-main .profile-form {
    padding: 24px;
}

.profile-form .form-group {
    margin-bottom: 24px;
}

.profile-form .form-row {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    min-height: 40px;
}

.profile-form .form-row .form-label {
    width: 140px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #333;
    margin: 0;
}

.profile-form .form-row .form-label.required::after {
    content: '*';
    color: #dc3545;
    margin-left: 2px;
}

.profile-form .form-row .form-value {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.profile-form .form-row .readonly-value {
    font-size: 0.9rem;
    color: #333;
    padding: 8px 0;
}


.profile-form .form-row .inline-field {
    gap: 4px;
    display: flex;
    align-items:center;
}

.profile-form .form-row .phone-fields,
.profile-form .form-row .email-fields {
    gap: 4px;
}

.profile-form .form-row .form-value .select-small {
    width: 90px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 6px 8px;
    font-size: 0.9rem;
    background: white;
}

.profile-form .form-row .form-value .select-medium {
    width: 150px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 6px 8px;
    font-size: 0.9rem;
    background: white;
}

.profile-form .form-row .form-value .input-medium {
    width: 100px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 6px 8px;
    font-size: 0.9rem;
}

.profile-form .form-row .form-value .input-large {
    width: 200px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 0.9rem;
}


.profile-form .form-row .form-value input::placeholder{
    color: rgba(17, 32, 49, 0.4) !important;
    font-size: 0.9rem;
}

.profile-form .form-row .form-value .separator {
    color: #666;
    font-size: 0.8rem;
    height:auto;
}

.profile-form .form-row .form-value.radio-group {
    gap: 16px;
}

.profile-form .form-row .form-value.radio-group .radio-option {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #333;
}

.profile-form .form-row .form-value.radio-group .radio-option input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0;
}

.profile-form .form-row .btn-verify {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    white-space: nowrap;
}

.profile-form .form-row .btn-verify:hover {
    background: #e9ecef;
}


.profile-form .form-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 2rem 0 1rem 0;
}

.profile-form .btn {
    padding: 12px 32px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 140px;
}

.profile-form .btn-submit {
    background: #2c5aa0;
    color: white;
}

.profile-form .btn-submit:hover {
    background: #1e3f6f;
}


.profile-form .btn-later {
    background: #6c757d;
    color: white;
}

.profile-form .btn-later:hover {
    background: #5a6268;
}

/* 확인 생성 섹션 */
.profile-form .verification-section {
    margin: 24px 0;
}

.profile-form .verification-section .verification-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

.profile-form .verification-section .verification-row .btn-search {
    background: #2c5aa0;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
}

.profile-form .verification-section .verification-row .btn-search:hover {
    background: #1e3f6f;
}

.profile-form .verification-section .verification-row a {
    color: #2c5aa0;
    text-decoration : none;
    font-size: 0.9rem;
    cursor: pointer;
}

.profile-form h4.border-b {
    border-bottom: 1px solid #e9ecef;
}



/* 도움말 섹션 */
.help-info-section {
    background: #4a9b8e;
    border-radius: 8px;
    padding: 20px;
    margin: 24px 0;
    color: white;
    position: relative;
}

.help-info-section .help-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.help-info-section .help-header .help-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: white;
}

.help-info-section .help-header .help-icon {
    width: 80px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.help-info-section .help-content {
    line-height: 1.6;
}

.help-info-section .help-list {
    margin: 0;
    padding-left: 16px;
    list-style: disc;
}

.help-info-section .help-list li {
    margin-bottom: 8px;
    font-size: 14px;
}

.help-info-section.type2 {
    background: #f6f6f6;
    color: #666;
}

.help-info-section.type2 .help-header .help-title {
    color: #333;
}

.help-info-section.type3 {
    background: #F64E60;
    color: #eee;
}

.help-info-section.type3 .help-header .help-title {
    color: #fff;
}





/* SNS 연동 섹션 */
.profile-v2-main .sns-section {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 2px solid #e9ecef;
}

.profile-v2-main .section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* 비밀번호 변경 페이지 스타일 */
.password-change-main {
    padding: 3rem 0;
    background: #f8f9fa;
    min-height: calc(100vh - 200px);
}

.password-change-main .password-change-container {
    max-width: 900px;
    min-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.password-change-main .password-change-content {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.password-change-main .page-header {
    text-align: center;
    padding: 3rem 2rem 2rem 2rem;
    background: white;
}

.password-change-main .page-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

.password-change-main .page-subtitle {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0.5rem 0 2rem 0;
    line-height: 1.4;
}

.password-change-main .title-divider {
    width: 100%;
    height: 3px;
    background: #2c5aa0;
    margin: 0 auto;
}

.password-form {
    padding: 2rem 3rem;
}

.password-form .form-section {
    margin-bottom: 2rem;
}

.password-form .form-section .form-row {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1.5rem;
}

.password-form .form-section .form-row .form-label {
    width: 100px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-align: right;
    flex-shrink: 0;
}

.password-form .form-section .form-row .form-input {
    width: 300px;
    padding: 10px 16px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: white;
}

.password-form .form-section .form-row .form-input:focus {
    outline: none;
    border-color: #2c5aa0;
}

.password-form .form-section .form-help {
    margin-left: 130px;
    margin-bottom: 0.5rem;
}

.password-form .help-text {
    font-size: 13px;
    color: #2c5aa0;
    line-height: 1.4;
}

.password-form .form-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 2rem 0 1rem 0;
}

.password-form .btn {
    padding: 12px 32px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 140px;
}

.password-form .btn-submit {
    background: #2c5aa0;
    color: white;
}

.password-form .btn-submit:hover {
    background: #1e3f6f;
}

.password-form .btn-later {
    background: #6c757d;
    color: white;
}

.password-form .btn-later:hover {
    background: #5a6268;
}



/* 이수증 관리 페이지 추가 스타일 */

.license-main .content-wrapper .content-body {
    gap:1rem;
}
.license-main .summary-section {
    margin-bottom: 0;
}

.license-main .summary-section .summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.license-main .summary-section .summary-grid .summary-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.license-main .summary-section .summary-grid .summary-card .summary-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e8f5e8;
    color: #28a745;
    display: flex;
    align-items: center;
    justify-content: center;
}

.license-main .summary-section .summary-grid .summary-card .summary-icon.warning {
    background: #fff3cd;
    color: #856404;
}

.license-main .summary-section .summary-grid .summary-card .summary-icon.danger {
    background: #f8d7da;
    color: #721c24;
}

.license-main .summary-section .summary-grid .summary-card .summary-content {
    flex: 1;
}

.license-main .summary-section .summary-grid .summary-card .summary-content .summary-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 0.25rem;
}

.license-main .summary-section .summary-grid .summary-card .summary-content .summary-value {
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.license-main .table-container {
    margin-bottom:1rem;
}

.license-main .table-container .table-header {
    text-align: center;
    margin-bottom: 1.5rem;
    margin-top:2rem;
    padding-bottom:0;
}
.license-main .table-container .table-header .title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 8px;
}


.license-main .table-container .table-header .table-action {
    margin-top:1.5rem;
    display: flex;
    gap: 0.75rem;
}
.license-main .table-container .table-header .table-action .btn {
    display: flex;
    align-items:center;
    justify-content: center;
}

.license-main .table-container .table-header .table-action .btn-outline {
    background: white;
    color: #2c5aa0;
    border: 1px solid #2c5aa0;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.license-main .table-container .table-header .table-action .btn-primary {
    background: #2c5aa0;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    flex: 1;
}

.license-main .table-container .table-header .table-action .btn svg {
    margin-right:4px;
}


.license-main .table-container .data-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.license-main .table-container .data-table th,
.license-main .table-container .data-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.license-main .table-container .data-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.license-main .table-container .data-table td {
    font-size: 14px;
    color: #333;
}

.license-main .table-container .data-table tbody tr:hover {
    background: #f8f9fa;
}

.license-main .badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.license-main .badge-primary {
    background: #e3f2fd;
    color: #1976d2;
}

.license-main .badge-success {
    background: #e8f5e8;
    color: #28a745;
}

.license-main .badge-info {
    background: #e1f5fe;
    color: #0277bd;
}

.license-main .status-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.license-main .status-active {
    background: #e8f5e8;
    color: #28a745;
}

.license-main .status-warning {
    background: #fff3cd;
    color: #856404;
}

.license-main .status-expired {
    background: #f8d7da;
    color: #721c24;
}

.license-main .table-container .data-table .btn-icon {
    background: none;
    border: none;
    padding: 4px;
    border-radius: 4px;
    cursor: pointer;
    color: #666;
    margin: 0 2px;
}

.license-main .table-container .data-table .btn-icon:hover {
    background: #f8f9fa;
    color: #333;
}

.license-main .table-container .data-table .btn-icon.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/*****************************
    MS TABS & TAB BUTTONS
 *****************************/
.ms-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e2e8f0;
}

.ms-tabs .ms-tab-btn {
    background: none;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    color: #718096;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.ms-tabs .ms-tab-btn:hover {
    color: #2c5aa0;
    background: #f7fafc;
}

.ms-tabs .ms-tab-btn.active {
    color: #2c5aa0;
    border-bottom-color: #2c5aa0;
    background: #f7fafc;
}

.ms-tab-content {
    display: none;
}

.ms-tab-content.active {
    display: block;
}


/**
 * COLORS
 */

.text-primary {
    color: var(--ms-color-primary) !important
}

.text-danger {
    color: var(--ms-color-danger) !important
}
.text-red {
    color:#dc3545 !important;
}
.text-blue {
    color:#004cd2 !important;
}
.text-dark {
    color:#333 !important;
}
.text-black {
    color:#333 !important;
}

.text-orange {
    color: #fd7e14 !important
}

.text-yellow {
    color: #faff7e;
}



.about-map-container {
    margin: 2rem 0;
    background-color: #f8f9fa;
    border-radius: 8px;
    text-align: center;
    min-height:400px;
    border: 1px solid #ccc;
}

.about-map-container .about-map-footer {
    border-top:1px solid #ccc;
    padding:2rem;
    margin-top:auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color:#f5f5f5;
}

.about-map-footer .map-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-map-footer .map-icon img{
    width:100%;
    height:100%;
}

.about-map-footer .address-info {
    margin-left:1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}
.about-map-footer .address-info h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #003668;
    margin:0;
    text-align:left;
}

.about-map-footer .address-info p {
    font-size: 1.05rem;
    color: #555;
}


.about-map-footer .tel-info. {

}


.traffic-section {
    display: flex;
    justify-content: space-between;
}

.traffic-section .traffic-info-wrap {
    flex: 1 1 0;
    align-self: center;
}

.traffic-section .traffic-info-header {
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
}
.traffic-section .traffic-info-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
}


.traffic-section .traffic-info-body {
    display: flex;
}

.traffic-section .traffic-info-body .transport-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.5rem;
    color: white;
    background: #f5f5f5;
    border: 1px dashed #003668;
    flex: 0 0 auto;
}

.traffic-section .traffic-info-body .traffic-information {
    margin-left:2rem;
    height:140px;
}



.info-box {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    margin-top: 0.5rem;
}

.warning-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    padding: 1rem;
    margin-top: 1rem;
}

.warning-box p {
    margin-bottom: 0.5rem;
}


.education-registration-complete-section {
    width: 100%;
    text-align: center;
    margin-top: 100px;
}


.education-registration-complete-section .success-icon {
    width: 80px;
    height: 80px;
    background: #2563eb;
    border-radius: 50%;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.education-registration-complete-section .success-icon::before {
    content: '✓';
    color: white;
    font-size: 40px;
    font-weight: bold;
}

.education-registration-complete-section .success-message {
    font-size: 18px;
    color: #333;
    margin-bottom: 50px;
}

.education-registration-complete-section .success-message strong {
    color: #2563eb;
    font-weight: 600;
}

.education-registration-complete-section .button-group {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.education-registration-complete-section .button-group .btn-complete {
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    background: #2563eb;
    color: white;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.2s;
}

.education-registration-complete-section .button-group .btn-complete:hover {
    background: #1d4ed8;
}

/*** 글쓰기 폼 ***/
.article-write-main .write-form {
    background: white;
}

.article-write-main .write-form .form-group {
    margin-bottom: 1.5rem;
}

.article-write-main .write-form .form-group .form-label {
    display: block;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.article-write-main .write-form .form-group .form-label.required:after {
    content: '*';
    color: #dc3545;
    margin-left: 2px;
}

.article-write-main .write-form .form-group .form-input,
.article-write-main .write-form .form-group .form-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.article-write-main .write-form .form-group .form-input:focus,
.article-write-main .write-form .form-group .form-select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.article-write-main .write-form .form-group .form-select {
    padding-right: 2.5rem;
}

/* 에디터 */
.article-write-main .write-form .form-group .editor-toolbar {
    border: 1px solid #dee2e6;
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    background: #f8f9fa;
    padding: 0.5rem;
    display: flex;
    gap: 0.25rem;
    align-items: center;
}


/* 파일 업로드 */
.article-write-main .write-form .form-group .file-upload-area {
    position: relative;
}

.article-write-main .write-form .form-group .file-upload-area .file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.article-write-main .write-form .form-group .file-upload-area .file-upload-display {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    background: #fafafa;
    transition: all 0.2s ease;
}

.article-write-main .write-form .form-group .file-upload-area .file-upload-display:hover {
    border-color: #007bff;
    background: #f0f8ff;
}

.article-write-main .write-form .form-group .file-upload-area .file-upload-display svg {
    color: #6c757d;
    margin-bottom: 1rem;
}

.article-write-main .write-form .form-group .file-upload-area .file-upload-display p {
    margin: 0.5rem 0;
    color: #495057;
    font-size: 0.9rem;
}

.article-write-main .write-form .form-group .file-upload-area .file-upload-display .file-info {
    font-size: 0.8rem !important;
    color: #6c757d !important;
}

.article-write-main .write-form .form-group .file-upload-area.dragover .file-upload-display {
    border-color: #007bff;
    background: #e3f2fd;
}

/* 파일 목록 */
.article-write-main .write-form .form-group .file-list {
    margin-top: 1rem;
}

.article-write-main .write-form .form-group .file-list .file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    background: white;
}

.article-write-main .write-form .form-group .file-list .file-info-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.article-write-main .write-form .form-group .file-list .file-icon {
    width: 24px;
    height: 24px;
    color: #6c757d;
}

.article-write-main .write-form .form-group .file-list .file-details {
    flex: 1;
}

.article-write-main .write-form .form-group .file-list .file-name {
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
}

.article-write-main .write-form .form-group .file-list .file-size {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.article-write-main .write-form .form-group .file-list .file-remove {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.article-write-main .write-form .form-group .file-list .file-remove:hover {
    background: #fee;
}

/* 버튼 영역 */
.article-write-main .write-form .form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #dee2e6;
}

.article-write-main .write-form .form-actions .action-left,
.article-write-main .write-form .form-actions .action-right {
    display: flex;
    gap: 0.75rem;
}

.article-write-main .write-form .form-actions .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.article-write-main .write-form .form-actions .btn-primary {
    background: #007bff;
    color: white;
}

.article-write-main .write-form .form-actions .btn-primary:hover {
    background: #0056b3;
}

.article-write-main .write-form .form-actions .btn-secondary {
    background: #6c757d;
    color: white;
}

.article-write-main .write-form .form-actions .btn-secondary:hover {
    background: #545b62;
}

.article-write-main .write-form .form-actions .btn-outline {
    background: white;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

.article-write-main .write-form .form-actions .btn-outline:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
    color: #495057;
}



.modal .modal-body .container {
    max-width: unset;
    min-width: unset;
    margin:0;
    padding-left: 24px;
    padding-right: 24px;
}


.modal .modal-body .form-group {
    margin: 16px 0;
}

.modal .modal-body .form-group .form-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: rgba(17, 32, 49, 0.6);
    margin-bottom: 8px;
}
.modal .modal-body .form-group .form-control {
    border-radius: 4px;
    border: solid 1px rgba(17, 32, 49, 0.2);
    background-color: #fff;
    padding: 6px 8px;
    height: 32px;
    width: 100%;
    font-size:14px;
}

.modal .modal-body .form-group .form-control:hover,
.modal .modal-body .form-group .form-control:focus{
    box-shadow: none;
    border-color: #5697ff;
    outline: none;
}



.modal .modal-body .form-group .radio-btn-group {
    display: flex
}

.modal .modal-body .form-group .radio-btn-group + .radio-btn-group {
    margin-top: 8px
}

.modal .modal-body .form-group .radio-btn-group label {
    display: block;
    flex: 1 1 0;
    cursor: pointer
}

.modal .modal-body .form-group .radio-btn-group label input {
    display: none;
}

.modal .modal-body .form-group .radio-btn-group label input + span {
    border: 1px solid rgba(17, 32, 49, 0.2);
    display: block;
    text-align: center;
    font-size: 13px;
    padding-top: 7px;
    padding-bottom: 7px;
    user-select: none;
}

.modal .modal-body .form-group .radio-btn-group label:nth-of-type(1) input + span {
    border-radius: 5px 0 0 5px
}

.modal .modal-body .form-group .radio-btn-group label:nth-last-of-type(1) input + span {
    border-radius: 0 5px 5px 0
}

.modal .modal-body .form-group .radio-btn-group label input:checked + span {
    background: #5697ff;
    color: #fff;
}

.modal .modal-body .form-group .radio-btn-group label input:disabled + span {
    background: #f5f5f5;
    border-color: #ddd;
    color: #aaa;
    opacity: 0.7;
}


select.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0 8px;
}

select.form-control::-ms-expand {
    display: none;
}

select.form-control {
    padding-right: 32px;
    background-size: 24px;
    background: white url(../../images/icon-arrow-drop-down-b.svg) no-repeat calc(100% - 10px) 50%;
}

select.form-control:disabled,
select.form-control[readonly],
select.form-control.disabled {
    border-color: #dddddd;
    background-size: 24px;
    background: #f5f5f5 url(/static/images/icon-arrow-drop-down-b-disabled.svg) no-repeat calc(100% - 10px) 50%;
}


.modal .modal-footer button {
    border-radius: 8px;
}
.modal .modal-footer .btn-outline {
    background: #ffffff;
    border: 1px solid #cfd2d6;
    color: #6e8094;
}
.modal .modal-footer .btn-outline:hover {
    background: #e7eaef;
    border-color: #cfd2d6;
}

.exam-result-container{
    padding:2rem;
    text-align:center;
    display: flex;
    flex-direction: column;
    height:100%;
}

.exam-result-container * {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.exam-result-container .result-icon{
    width: 80px;
    height: 80px;
    background: #2563eb;
    border-radius: 50%;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exam-result-container[data-result='PASS'] .result-icon{
    background: #2563eb;
}

.exam-result-container[data-result='FAIL'] .result-icon{
    background: #dc3545;
}

.exam-result-container .result-icon::before {
    content: '✓';
    color: white;
    font-size: 40px;
    font-weight: bold;
}

.exam-result-container .title {}
.exam-result-container .title .result-text {}
.exam-result-container[data-result='PASS'] .title .result-text { color: #2563eb; }
.exam-result-container[data-result='FAIL'] .title .result-text { color: #dc3545; }
.exam-result-container .sub-title { margin-top:5px;}
.exam-result-container table.exam-score-table {
    margin-top:3rem;
    width:100%;
    text-align:center;
}

.exam-result-container table.exam-score-table thead th {
    font-weight:500;
    width:50%;
}
.exam-result-container table.exam-score-table tbody td {
    font-size:48px;
    line-height:1.3;
    font-weight:700;
}

.exam-result-container[data-result='FAIL'] table.exam-score-table tbody td.score {
    color: #dc3545;
}
.exam-result-container[data-result='PASS'] table.exam-score-table tbody td.score {
    color: #2563eb;
}

.exam-result-container .button-group {
    display: flex;
    align-items:center;
    margin-top:auto;
}

.exam-result-container .button-group button {
    font-size:16px;
    font-weight:500;
    padding:16px 32px;
}



.terms-container {}
.terms-container ul {
    list-style: none;
}

.terms-container ul ul ul {
    padding-left:10px;
}

.terms-container ul ul {
    margin-bottom:1rem;
}

.terms-container ul li {
    line-height:1.7;
}
.terms-container ul.intro {

}

.terms-container ul li.h1 {
    font-weight:bold;
    font-size:1.25rem;
    margin-bottom:1rem;
    margin-top:2.5rem;
}

.terms-container ul li.h2 {
    font-weight: bold;
    font-size: 1rem;
}



/* 퀴즈 모달 컨테이너 */
.modal .quiz-modal {
    width: 650px;
    max-width: 650px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding:0;
    display: flex;
    flex-direction: column;
}

/* --- .quiz-modal 내부로 중첩된 CSS 시작 --- */

/* 헤더 */
.quiz-modal .quiz-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-top:32px;
    padding-left: 32px;
    padding-right:32px;
}

.quiz-modal .quiz-modal-header .header-title {
    font-size: 16px;
    font-weight: 500;
    color: #1f2937;
    margin: 0;
}

.quiz-modal .quiz-modal-header .status-badge {
    padding: 4px 12px;
    background-color: #dbeafe;
    color: #1e40af;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* 문제 */
.quiz-modal .question-title {
    font-size: 16px;
    font-weight: 500;
    color: #1f2937;
    line-height: 1.5;
    margin: 0 0 24px 0;
}
.quiz-modal .question-sub-title {
    font-size: 16px;
    font-weight: 400;
    color: #1f2937;
    line-height: 1.5;
    margin: 10px 0 10px;
}


.quiz-modal .quiz-modal-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-left: 32px;
    padding-right:32px;
    padding-bottom:32px;
    overflow-y:auto;
}
/* 옵션 항목 스타일 */
.quiz-modal .quiz-modal-body .options-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.quiz-modal .quiz-modal-body .quiz-option-item {
    padding: 16px;
    border: 2px solid #e5e7eb; /* 기본 연회색 테두리 */
    border-radius: 8px;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
    background-color: white;
    cursor: pointer;
}

/* 라디오 버튼 모양 스타일 */
.quiz-modal .quiz-modal-body .quiz-option-item .option-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-width: 2px;
    border-style: solid;
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
    border-color: #9ca3af; /* 기본 회색 윤곽선 */
}

.quiz-modal  .quiz-modal-body .quiz-option-item .option-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
    background-color: transparent;
}

.quiz-modal .quiz-modal-body .quiz-option-item .option-text {
    flex: 1;
    font-size: 16px;
    color: #374151;
}

/* --- 상태별 스타일 --- */

/* 1. 선택됨 상태 */
.quiz-modal .quiz-modal-body .quiz-option-item.selected {
    border-color: #3b82f6 !important;
    background-color: #eff6ff !important;
}
.quiz-modal .quiz-modal-body .quiz-option-item.selected .option-circle { border-color: #3b82f6; }
.quiz-modal .quiz-modal-body .quiz-option-item.selected .option-dot { background-color: #3b82f6; }

/* 2. 정답 상태 */
.quiz-modal .quiz-modal-body .quiz-option-item.correct {
    border-color: #10b981 !important;
    background-color: #ecfdf5 !important;
}
.quiz-modal .quiz-modal-body .quiz-option-item.correct .option-circle { border-color: #10b981; }
.quiz-modal .quiz-modal-body .quiz-option-item.correct .option-dot { background-color: #10b981; }

/* 3. 오답 상태 */
.quiz-modal .quiz-modal-body .quiz-option-item.incorrect {
    border-color: #ef4444 !important;
    background-color: #fef2f2 !important;
}
.quiz-modal .quiz-modal-body .quiz-option-item.incorrect .option-circle { border-color: #ef4444; }
.quiz-modal .quiz-modal-body .quiz-option-item.incorrect .option-dot { background-color: #ef4444; }

/* 4. 비활성화 및 호버 */
.quiz-modal .quiz-option-item.disabled {
    cursor: default !important;
    background-color: #f3f4f6 !important;
}
.quiz-modal .quiz-option-item:hover:not(.disabled) {
    border-color: #d1d5db;
    background-color: #f9fafb;
}

/* 해설 영역 */
.quiz-modal .quiz-modal-body .explanation-box {
    padding: 16px;
    background-color: #f9fafb;
    border-radius: 8px;
    margin-bottom: 24px;
}
.quiz-modal .quiz-modal-body .explanation-box h3 {
    font-size: 16px;
    font-weight: 500;
    color: #374151;
    margin: 0 0 8px 0;
}
.quiz-modal .quiz-modal-body .explanation-box p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

/* 버튼 */
.quiz-modal .quiz-modal-body .button-container {
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
}

.quiz-modal .quiz-modal-body .quiz-button {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.quiz-modal .quiz-modal-body .quiz-button.primary {
    background-color: #3b82f6;
    color: white;
    cursor: pointer;
}
.quiz-modal .quiz-modal-body .quiz-button.primary:hover {
    background-color: #2563eb;
}

.quiz-modal .quiz-modal-body .quiz-button.disabled {
    background-color: #d1d5db;
    color: #9ca3af;
    cursor: not-allowed;
}

/* 반응형 디자인 */
@media (max-width: 700px) {
    .quiz-modal {
        padding: 20px;
    }
}

/* 완료 콘텐츠 영역 */
.quiz-modal .quiz-modal-comp {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-left: 32px;
    padding-right:32px;
    padding-bottom:32px;
}

.quiz-modal .quiz-modal-comp .icon-large {
    font-size: 96px;
    margin-bottom: 16px;
}

.quiz-modal .quiz-modal-comp h2 {
    font-size: 24px;
    font-weight: 500;
    color: #1f2937;
    margin: 0 0 16px 0;
}

.quiz-modal .quiz-modal-comp p {
    font-size: 16px;
    color: #6b7280;
    margin: 0 0 32px 0;
    line-height: 1.5;
    max-width: 400px;
}

/* 버튼 스타일 */
.quiz-modal .quiz-modal-comp .complete-button {
    padding: 12px 32px;
    background-color: #10b981; /* bg-green-500 */
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}
.quiz-modal .quiz-modal-comp .complete-button:hover {
    background-color: #059669; /* hover:bg-green-600 */
}