/* 공자아카데미 메인 페이지 스타일 */

:root {
    --sidebar-width: 320px;
    --submenu-width: 320px;
    --primary-red: #ff6561;
    --primary-blue: #5c7cfa;
    --dark-bg: #383838;
    --submenu-bg: #3d3d3d;
    --footer-bg: #484848;
    --light-gray: #f8f9fa;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans KR', sans-serif;
    overflow-x: hidden;
}

/* ========================================
   좌측 사이드바
======================================== */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--dark-bg);
    color: white;
    z-index: 1000;
    overflow-y: auto;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.sidebar.closed {
    transform: translateX(calc(-1 * var(--sidebar-width)));
}

.sidebar-logo {
    padding: 30px 20px;
    text-align: center;
}

.sidebar-logo img {
    max-width: 220px;
    height: auto;
    margin-bottom: 15px;
}

.sidebar-logo h2 {
    color: white;
    font-size: 16px;
    margin: 0;
    font-weight: 500;
    line-height: 1.4;
}

/* SNS 아이콘 */
.sidebar-sns {
    padding: 0px 20px 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-sns a {
    color: white;
    font-size: 24px;
    transition: opacity 0.3s;
}

.sidebar-sns a img {
    width: 38px;
    height: auto;
}

.sidebar-sns a:hover {
    opacity: 0.7;
}

/* 사이드바 메뉴 */
.sidebar-menu {
    padding: 0;
    margin: 0;
    list-style: none;
    flex: 1;
    overflow-y: auto;
}

.sidebar-menu .menu-item {
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-menu .menu-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: all 0.3s;
    cursor: pointer;
}

.sidebar-menu .menu-link:hover {
    background: rgba(255,255,255,0.05);
}

.sidebar-menu .menu-link i.bi-chevron-down {
    font-size: 14px;
    color: #fff;
    transition: transform 0.3s;
}

/* 서브메뉴 - 오른쪽 슬라이드 */
.sidebar-menu .submenu {
    position: fixed;
    left: var(--sidebar-width);
    top: 0;
    width: var(--submenu-width);
    height: 100vh;
    background: var(--submenu-bg);
    padding: 0;
    margin: 0;
    list-style: none;
    transform: translateX(-100%);
    transition: transform 0.3s ease, opacity 0.3s ease;
    overflow-y: auto;
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    box-sizing: border-box;
}

.sidebar-menu .submenu.show {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
}

/* 서브메뉴 구조 */
.sidebar-menu .submenu {
    display: flex;
    flex-direction: column;
}

/* 서브메뉴 상단 영역 (빈 공간) */
.sidebar-menu .submenu .submenu-top-area {
    flex: 0 0 auto;
    overflow: hidden;
}

.sidebar-menu .submenu .submenu-clicked-menu {
    display: none;
}

/* 서브메뉴 헤더 (첫 번째 메뉴 위치에 고정) */
.sidebar-menu .submenu .submenu-header {
    background: var(--footer-bg);
    border-top: 2px solid rgba(255,255,255,0.2);
    border-bottom: 2px solid rgba(255,255,255,0.2);
    padding: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 10;
    flex-shrink: 0;
}

.sidebar-menu .submenu .submenu-back {
    background: transparent;
    border: none;
    color: white;
    font-size: 20px;
    padding: 18px 20px;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-menu .submenu .submenu-back:hover {
    background: rgba(255,255,255,0.1);
}

.sidebar-menu .submenu .submenu-title {
    color: white;
    font-size: 16px;
    font-weight: 600;
    flex: 1;
}

/* 서브메뉴 콘텐츠 (아래쪽 영역) */
.sidebar-menu .submenu .submenu-content {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 10px;
}

.sidebar-menu .submenu li {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.sidebar-menu .submenu a {
    display: block;
    padding: 18px 25px;
    color: white;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s;
}

.sidebar-menu .submenu a:hover {
    background: rgba(255,255,255,0.1);
    padding-left: 30px;
    color: #ff8561;
}

/* 로그인 버튼 */
.sidebar-login {
    padding: 20px;
    background: var(--dark-bg);
}

.sidebar-login .btn {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: none;
    color: white;
    font-size: 14px;
    font-weight: 400;
    border-radius: 5px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.sidebar-login .btn:hover {
    background: rgba(255,255,255,0.1);
}

.sidebar-login .btn i {
    font-size: 16px;
}

/* 하단 링크 */
.sidebar-footer {
    padding: 20px;
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    background: var(--footer-bg);
    line-height: 1.8;
}

.sidebar-footer .footer-links {
    margin-bottom: 10px;
    display: block;
    gap: 10px;
    /* justify-content: center; */
}

.sidebar-footer .footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
}

.sidebar-footer .footer-links a:hover {
    color: white;
}

.sidebar-footer .footer-contact {
    margin-top: 15px;
    font-size: 10px;
    line-height: 1.6;
}

.sidebar-footer .footer-contact p {
    margin: 5px 0;
}

.sidebar-footer .footer-copyright {
    margin-top: 15px;
    font-size: 10px;
    color: rgba(255,255,255,0.5);
    text-align: center;
}

/* ========================================
   메인 콘텐츠 영역
======================================== */
.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    transition: margin-left 0.3s ease;
}

.main-content.expanded {
    margin-left: 0;
}

/* 토글 버튼 */
.sidebar-toggle {
    position: fixed;
    left: var(--sidebar-width);
    top: 20px;
    z-index: 1001;
    background: #484848;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: all 0.3s;
    display: none; /* PC에서는 기본적으로 숨김 */
    align-items: center;
    justify-content: center;
}

.sidebar-toggle.closed {
    left: 0;
}

.sidebar-toggle:hover {
    background: #383838;
}

/* ========================================
   메인 슬라이드
======================================== */
/* 상단 로고 버튼 */
.top-logo-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.top-logo-btn .btn {
    background: rgba(255,255,255,0.9);
    border: none;
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* 메인 슬라이드 */
.main-slider {
    height: 683px;
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.main-slider .carousel-inner {
    max-width: 993px;
    height: 100%;
}

.main-slider .carousel-item {
    height: 683px;
}

.main-slider .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-slider .carousel-indicators {
    max-width: 993px;
    margin-left: 0;
    margin-right: auto;
    left: 0;
    right: auto;
    width: 993px;
    z-index: 10;
}

.main-slider .carousel-control-prev,
.main-slider .carousel-control-next {
    width: 50px;
    height: 100%;
    opacity: 1;
    z-index: 10;
}

.main-slider .carousel-control-prev-icon,
.main-slider .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    background-size: 60% 60%;
}

.main-slider .carousel-control-prev:hover .carousel-control-prev-icon,
.main-slider .carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
}

.main-slider .carousel-control-prev {
    left: 0;
    right: auto;
}

.main-slider .carousel-control-next {
    left: auto;
    right: calc(100% - 993px);
}

/* 1541px ~ 1920px: 슬라이드를 우측 패널 왼쪽까지 확장 */
@media (min-width: 1542px) and (max-width: 1920px) {
    .main-slider .carousel-inner {
        max-width: calc(100% - 548px); /* 우측 패널 제외 */
    }

    .main-slider .carousel-control-next {
        right: 548px; /* 우측 패널 바로 왼쪽 */
    }

    .main-slider .carousel-indicators {
        width: calc(100% - 548px);
        max-width: none;
    }
}

/* 1541px 이하: 중간 화면 크기 */
@media (max-width: 1541px) {
    .main-slider .carousel-inner {
        max-width: 100%;
    }

    .main-slider .carousel-control-next {
        right: 548px; /* 우측 패널 너비만큼 */
    }

    .main-slider .carousel-indicators {
        width: calc(100% - 548px);
        max-width: none;
    }
}

@media (max-width: 1313px) {
    .main-slider .carousel-control-next {
        right: 0;
    }

    .main-slider .carousel-indicators {
        width: 100%;
    }

    .right-panel {
        position: static;
        width: 100%;
    }

    .main-slider {
        height: 500px;
    }

    .main-slider .carousel-item {
        height: 500px;
    }
}

.main-slider .carousel-caption {
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    max-width: 800px;
}

.main-slider .carousel-caption h3 {
    font-size: 24px;
    font-weight: 400;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.main-slider .carousel-caption p {
    font-size: 36px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: -1px;
}

/* ========================================
   우측 패널
======================================== */
.right-panel {
    position: absolute;
    right: 0;
    top: 0;
    width: 548px;
    height: 100%;
    background: #f5f5f5;
    padding: 30px;
    /* box-shadow: -5px 0 15px rgba(0,0,0,0.1); */
}

/* 문화 프로그램 상단 버튼 */
.top-logo-btn .btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-logo-btn .btn i {
    font-size: 18px;
}

/* 아이콘 메뉴 그리드 */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}

.icon-item {
    background: #ffffff;
    border: 1px solid #d0e4f7;
    border-radius: 8px;
    padding: 20px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    color: #333;
    min-height: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.icon-item:hover {
    background: #bdd3ff;
    border-color: #bdd3ff;
    transform: translateY(-3px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.icon-item i {
    font-size: 36px;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.icon-item span {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #3d519c;
    line-height: 1.5;
    margin-top: 15px;
}

.icon-item img {
    width: 40px;
    height: 40px;
}

/* 박스 섹션 */
.info-boxes-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.info-box {
    border-radius: 0;
    padding: 10px 20px 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.info-box.orange {
    background-image: url('../img/main/sugang-icon.png');
    background-color: linear-gradient(135deg, #ff8561 0%, #ff6b6b 100%);
    color: white;
}

.info-box.blue {
    background-image: url('../img/main/dangi-icon.png');
    background-color: linear-gradient(135deg, #7ea8ff 0%, #6b8fe6 100%);
    color: white;
}

.info-box h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.info-box p {
    font-size: 14px;
    margin: 0 0 60px 0;
    line-height: 1.7;
    text-align: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 992px) {
    .info-box.orange p,
    .info-box.blue p {
        text-align: left;
    }
}

.info-box .btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: white;
    border: none;
    border-radius: 0;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.info-box.orange .btn {
    color: #ff6b6b;
}

.info-box.orange .btn:hover {
    background: #e65522;
    color: white;
}

.info-box.blue .btn {
    color: #6b8fe6;
}

.info-box.blue .btn:hover {
    background: #3d519c;
    color: white;
}

.info-box .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* 우측 패널 하단 안내 */
.right-panel-notice {
    text-align: center;
    font-size: 11px;
    color: #888;
    margin-top: 10px;
    padding: 5px;
}

/* ========================================
   공지사항 & 중국어 강좌안내 섹션
======================================== */
.notice-course-section {
    padding: 60px 0;
    background: #ffffff;
}

.section-wrapper {
    /* max-width: 1400px; */
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* 공지사항 (왼쪽) */
.notice-section {
    background: #ffffff;
}

.notice-section .section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #333;
    text-align: left;
}

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

@media (min-width: 992px) {
    .notice-list {
        padding: 0 20px 20px;
        border: 1px solid #eaeaea;
    }
}

.notice-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid #eaeaea;
    transition: background 0.3s;
}

.notice-item:hover {
    background: #f8f9fa;
}

.notice-date {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    min-width: 90px;
}

.notice-title {
    flex: 1;
    font-size: 16px;
    color: #333;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notice-title:hover {
    color: #3d519c;
    text-decoration: underline;
}

.notice-item i {
    color: #eaeaea;
    font-size: 18px;
}

/* 중국어 강좌안내 (오른쪽) */
.course-section {
    /* background: #d4e3f7;
    padding: 40px; */
    border-radius: 0;
}

.course-section .section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #333;
    text-align: left;
}

.course-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    background:#bdd3ff;
	padding:15px;
}

.course-item {
    background: #ffffff;
    padding: 0;
    border-radius: 0;
    display: grid;
    grid-template-columns: 180px 1fr 80px;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s;
	margin-bottom: 10px;
}

.course-item:hover {
    background: #f8f9fa;
}

.course-icon {
    background: #eaf1ff;
    color: #333;
    padding: 35px 20px;
    font-weight: 700;
    font-size: 18px;
    text-align: center;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-icon span {
    color: #3d519c;
    font-size: 20px;
    font-weight: 500;
}

.course-info {
    padding: 0 30px;
    font-size: 16px;
    color: #333;
}

.course-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.course-link i {
    color: #3d519c;
    font-size: 40px;
    transition: transform 0.3s;
}

.course-link:hover i {
    transform: scale(1.1);
}

/* 반응형 */
@media (max-width: 992px) {
    .section-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .course-section {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .notice-course-section {
        padding: 40px 0;
    }

    .section-wrapper {
        padding: 0 15px;
    }

    .notice-section .section-title,
    .course-section .section-title {
        font-size: 20px;
    }

    .notice-list {
        padding: 0;
        border: none;
    }

    .notice-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 15px 0;
    }

    .notice-date {
        min-width: auto;
        font-size: 12px;
    }

    .notice-title {
        font-size: 14px;
        white-space: normal;
    }

    .notice-item i {
        display: none;
    }

    .course-section {
        padding: 0;
    }

    .course-list {
        padding: 15px;
        background: #bdd3ff;
    }

    .course-item {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0;
        background: #ffffff;
        margin-bottom: 10px;
    }

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

    .course-icon {
        width: 100%;
        padding: 20px;
        background: #eaf1ff;
    }

    .course-icon span {
        font-size: 18px;
        color: #3d519c;
    }

    .course-info {
        padding: 20px 15px;
        font-size: 14px;
        background: #ffffff;
    }

    .course-link {
        padding: 15px;
        background: #ffffff;
    }

    .course-link i {
        font-size: 35px;
    }
}

/* 더보기 버튼 스타일 */
.btn-outline-primary {
    border-color: #eaeaea !important;
    color: #918d8d !important;
    border-radius: 0 !important;
}

.btn-outline-primary:hover {
    background-color: #918d8d !important;
    border-color: #918d8d !important;
    color: white !important;
}

/* ========================================
   갤러리 섹션
======================================== */
.gallery-section {
    padding: 60px 0;
    background: #ffffff;
    width: 100%;
}

.gallery-container {
    width: 100%;
    padding: 0 20px;
}

.gallery-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 0;
    color: #333;
    text-align: left;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

.gallery-item {
    overflow: hidden;
    border-radius: 0;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 40px 0;
    }

    .gallery-title {
        font-size: 24px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .gallery-item img {
        height: 120px;
    }
}

/* ========================================
   콘텐츠 섹션
======================================== */
/* 섹션 타이틀 */
.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #333;
    text-align: center;
}

/* 강좌 카드 */
.course-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.course-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.course-card .card-body {
    padding: 20px;
}

.course-card h5 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.course-card p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* ========================================
   반응형 디자인
======================================== */
@media (max-width: 1400px) {
    .right-panel {
        width: 398px;
        padding: 20px;
    }

    .icon-grid {
        gap: 10px;
    }
}

@media (max-width: 1200px) {
    .main-slider {
        height: 500px;
    }

    .main-slider .carousel-inner {
        max-width: 100%;
    }

    .main-slider .carousel-indicators {
        max-width: 100%;
        width: 100%;
    }

    .main-slider .carousel-control-prev {
        left: 0;
    }

    .main-slider .carousel-control-next {
        right: 0;
        left: auto;
    }

    .main-slider .carousel-item {
        height: 500px;
    }

    .right-panel {
        width: 320px;
        padding: 15px;
    }

    .icon-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --sidebar-width: 0;
    }

    .sidebar {
        position: fixed !important;
        left: 0 !important;
        top: 0 !important;
        width: 70% !important;
        max-width: 280px !important;
        height: 100vh !important;
        transform: translateX(-100%) !important;
        z-index: 2000 !important;
        transition: transform 0.3s ease !important;
    }

    .sidebar.show {
        transform: translateX(0) !important;
        box-shadow: 2px 0 10px rgba(0,0,0,0.3) !important;
    }

    .sidebar.closed {
        transform: translateX(-100%) !important;
    }

    /* 모바일에서 로고와 SNS 아이콘 간격 조정 */
    .sidebar-logo {
        padding: 20px 20px 10px;
    }

    .sidebar-sns {
        padding: 0px 20px 20px;
        gap: 12px;
    }

    .sidebar-menu .submenu {
        position: fixed;
        left: 0;
        top: 0;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: var(--submenu-bg);
        z-index: 2100;
        transform: translateX(-100%);
        transition: transform 0.3s ease, opacity 0.3s ease;
        visibility: hidden;
        opacity: 0;
        box-shadow: 2px 0 10px rgba(0,0,0,0.3);
    }

    .sidebar-menu .submenu.show {
        transform: translateX(0);
        visibility: visible;
        opacity: 1;
    }

    /* 모바일 서브메뉴 상단 영역 */
    .sidebar-menu .submenu .submenu-top-area {
        background: var(--submenu-bg);
    }

    /* 모바일 서브메뉴 헤더 강조 */
    .sidebar-menu .submenu .submenu-header {
        background: var(--footer-bg);
        border-bottom: 2px solid rgba(255,255,255,0.3);
    }

    .sidebar-menu .submenu .submenu-back {
        padding: 20px;
    }

    .sidebar-menu .submenu .submenu-title {
        font-size: 17px;
        font-weight: 700;
    }

    /* 모바일 서브메뉴 콘텐츠 */
    .sidebar-menu .submenu .submenu-content {
        background: var(--submenu-bg);
    }

    .main-content {
        margin-left: 0;
    }

    .sidebar-toggle {
        display: flex; /* 모바일에서는 표시 */
        left: 0;
        top: 10px;
        z-index: 2500;
        border-radius: 0 5px 5px 0;
    }

    .main-slider {
        height: auto;
        min-height: 400px;
    }

    .main-slider .carousel {
        height: 400px;
    }

    .main-slider .carousel-item {
        height: 400px;
    }

    .main-slider .carousel-caption h3 {
        font-size: 18px;
    }

    .main-slider .carousel-caption p {
        font-size: 24px;
    }

    .right-panel {
        position: static;
        width: 100%;
        padding: 20px;
        background: #f5f5f5;
    }

    .icon-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-boxes-wrapper {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* 모바일에서 info-box 스타일 개선 */
    .info-box {
        padding: 10px 20px 20px;
        min-height: 310px;
        box-shadow: none;
        position: relative;
        background-size: cover;
        background-position: center;
    }

    /* 텍스트 가독성을 위한 상단 그라데이션 오버레이 */
    .info-box::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 120px;
        background: linear-gradient(to bottom, rgba(0,0,0,0.3), transparent);
        z-index: 1;
        pointer-events: none;
    }

    .info-box h4 {
        font-size: 24px;
        margin-bottom: 8px;
        text-align: left;
        font-weight: 700;
        position: relative;
        z-index: 2;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    }

    .info-box p {
        font-size: 16px;
        margin: 20px 0 0 0;
        text-align: left;
        line-height: 1.5;
        position: relative;
        z-index: 2;
    }

    .info-box p.p1 {
        font-size: 16px;
        margin: 20px 0 0 80px;
        text-align: left;
        line-height: 1.5;
        position: relative;
        z-index: 2;
    }

    .info-box .btn {
        position: absolute;
        bottom: 20px;
        left: 20px;
        right: 20px;
        width: calc(100% - 40px);
        z-index: 10;
    }
}

/* 사이드바 오버레이 (모든 화면 크기) */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
}

.sidebar-overlay.show {
    display: block;
}

/* ========================================
   개인정보처리방침 모달
======================================== */
#privacyModal .modal-content {
    border-radius: 0.5rem;
}

#privacyModal .modal-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

#privacyModal .modal-body {
    background-color: #fff;
}

#privacyModal .privacy-content {
    color: #495057;
    font-size: 0.95rem;
}

#privacyModal .privacy-content p {
    margin-bottom: 1rem;
}

#privacyModal .modal-footer {
    padding: 1rem 1.5rem;
}

/* 스크롤바 스타일 */
#privacyModal .modal-body::-webkit-scrollbar {
    width: 8px;
}

#privacyModal .modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

#privacyModal .modal-body::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

#privacyModal .modal-body::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    #privacyModal .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }

    #privacyModal .modal-body {
        padding: 1.5rem !important;
        font-size: 0.9rem;
    }

    #privacyModal .modal-header {
        padding: 1rem;
    }

    #privacyModal .modal-title {
        font-size: 1.1rem;
    }
}

/* ========================================
   페이지 헤더 및 컨텐츠 (최소한의 커스텀)
======================================== */

/* 왼쪽 카테고리 박스 크기 */
.page-category-box {
    min-width: 238px;
    height: 120px;
    max-height: 120px;
}

/* 카테고리 박스 배경 이미지 */
.page-category-bg {
    background-image: url('../img/bg-menuline.png');
    background-repeat: repeat;
    background-position: center;
    background-color: #3d519c;
}

/* 본문 컨텐츠 패딩 (상 우 하 좌) */
.page-content-padding {
    padding: 20px 20px 20px 60px;
}

/* 본문 컨텐츠 내 제목 스타일 (파란색 세로 바) */
.container-xl h2,
.container-xl h3 {
    padding-left: 1rem;
    /*border-left: 4px solid #0d6efd;*/
	border-left: 5px solid #7699de;
    margin-bottom: 1.5rem;
}

/* 본문 컨텐츠 테이블 스타일 */
.container-xl table {
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.container-xl table th {
    background-color: #0d6efd;
    color: white;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .page-category-box {
        min-width: 100%;
        min-height: 100px;
    }

    .page-content-padding {
        padding: 20px;
    }
}

/* ========================================
   연혁 타임라인 스타일
======================================== */
.history-timeline {
    position: relative;
    padding: 40px 0;
    margin: 0 auto;
}

/* 데스크탑 스타일 */
@media (min-width: 768px) {
    /* 연도 그룹 */
    .history-year {
        position: relative;
        margin-bottom: 40px;
        display: flex;
        align-items: flex-start;
        gap: 60px;
    }

    /* 연도 라벨 (왼쪽) */
    .history-year-label {
        flex-shrink: 0;
        width: 70px;
        font-size: 32px;
        font-weight: 300;
        color: #3d519c;
        text-align: left;
        line-height: 1.6;
        padding-top: 0;
        position: relative;
    }

    /* 연도 아래 세로선 */
    .history-year-label::after {
        content: '';
        position: absolute;
        left: 245px;
        top: 30px;
        width: 1px;
        height: calc(100% + 40px);
        background: #d3d3d3;
        display: block;
    }

    /* 이벤트 목록 (오른쪽) */
    .history-events {
        flex: 1;
        position: relative;
        padding-top: 8px;
    }

    /* 개별 이벤트 */
    .history-item {
        position: relative;
        margin-top: 8px;
        padding-left: 0;
        min-height: 20px;
        line-height: 1.6;
        display: flex;
        align-items: center;
    }

    /* 가로선 */
    .history-line {
        position: absolute;
        left: 0;
        width: 150px;
        height: 1px;
        background: #d3d3d3;
        display: block;
    }

    /* 왼쪽 회색 동그라미 */
    .history-dot-left {
        position: absolute;
        left: -2px;
        width: 9px;
        height: 9px;
        background: #d0d0d0;
        border-radius: 50%;
        z-index: 2;
        display: block;
    }

    /* 오른쪽 파란 동그라미 */
    .history-dot-right {
        position: absolute;
        left: 148px;
        width: 16px;
        height: 16px;
        border: 2px solid #7699de;
        border-radius: 50%;
        z-index: 2;
        display: block;
    }

    /* 같은 날짜의 추가 항목 */
    .history-item-sub {
        margin-left: 120px;
    }

    .history-item-sub .history-line {
        width: 34px;
        left: -4px;
    }

    .history-item-sub .history-dot-left {
        display: none;
    }

    .history-item-sub .history-dot-right {
        left: 28px;
    }

    .history-item-sub .history-date {
        margin-left: 65px;
    }

    /* 날짜 */
    .history-date {
        position: relative;
        font-size: 18px;
        font-weight: 500;
        color: #3d519c;
        display: inline;
        margin-left: 185px;
        margin-right: 15px;
        white-space: nowrap;
    }

    /* 내용 */
    .history-content {
        font-size: 16px;
        color: #333;
        line-height: 1.6;
        display: inline;
    }
}

/* 모바일 스타일 */
@media (max-width: 767px) {
    .history-timeline {
        padding: 20px 15px;
    }

    /* 연도 그룹 */
    .history-year {
        position: relative;
        margin-bottom: 25px;
        padding-left: 0;
    }

    /* 연도 라벨 */
    .history-year-label {
        display: block;
        font-size: 22px;
        font-weight: 700;
        color: #3d519c;
        margin-bottom: 12px;
        padding-bottom: 8px;
        border-bottom: 2px solid #3d519c;
    }

    /* 연도 세로선 제거 */
    .history-year-label::after {
        display: none;
    }

    /* 이벤트 목록 - 세로선 제거 */
    .history-events {
        position: relative;
        padding-left: 0;
        border-left: none;
        margin-left: 0;
    }

    /* 개별 이벤트 */
    .history-item {
        position: relative;
        margin-bottom: 15px;
        padding: 10px 15px;
        display: block;
        background: #f8f9fa;
        border-radius: 8px;
    }

    /* 가로선 숨김 */
    .history-line {
        display: none;
    }

    /* 왼쪽 동그라미 숨김 */
    .history-dot-left {
        display: none;
    }

    /* 오른쪽 동그라미 숨김 */
    .history-dot-right {
        display: none;
    }

    /* 서브 항목 */
    .history-item-sub {
        margin-left: 0;
        padding-left: 15px;
        margin-top: 8px;
    }

    /* 날짜 */
    .history-date {
        display: inline-block;
        font-size: 15px;
        font-weight: 600;
        color: #3d519c;
        margin: 0 8px 0 0 !important;
        margin-left: 0 !important;
        white-space: nowrap;
    }

    /* 내용 */
    .history-content {
        display: inline;
        font-size: 14px;
        color: #333;
        line-height: 1.7;
        word-break: keep-all;
        margin-left: 0 !important;
    }
}

/* 특별 이벤트 (빨간색) */
.history-item.special .history-date {
    color: #ff6561;
}

.history-item.special .history-content {
    color: #ff6561;
}

.history-item.special .history-dot-right {
    background: #7699de;
}

.history-item.special .history-line {
    background: linear-gradient(to right, #d0d0d0 0%, #d0d0d0 50%, #ff6561 50%, #ff6561 100%);
}

/* 태블릿 반응형 (768px ~ 991px) */
@media (max-width: 991px) {
    .history-timeline {
        padding: 30px 0;
    }

    .history-year {
        gap: 40px;
        margin-bottom: 35px;
    }

    .history-year-label {
        font-size: 36px;
        width: 65px;
    }

    .history-year-label::after {
        left: 60px;
        top: 25px;
        height: calc(100% + 35px);
    }

    .history-line {
        width: 65px;
    }

    .history-dot-right {
        left: 63px;
    }

    .history-date {
        margin-left: 80px;
        font-size: 15px;
    }

    .history-content {
        font-size: 15px;
    }

    .history-item-sub .history-line {
        width: 25px;
    }

    .history-item-sub .history-dot-right {
        left: 23px;
    }

    .history-item-sub .history-date {
        margin-left: 55px;
    }
}

/* ========================================
   조직도 스타일
======================================== */
.org-chart {
    position: relative;
    padding: 40px 0;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 조직도 레벨 */
.org-level {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* 조직도 박스 기본 스타일 */
.org-box {
    border-radius: 8px;
    padding: 20px 40px;
    font-weight: 600;
    font-size: 18px;
    text-align: center;
    min-width: 200px;
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.1); */
    transition: all 0.3s;
}

.org-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 파란색 박스 (이사장, 공자아카데미) */
.org-box-primary {
    background: #5370ac;
    color: white;
    /* border: 2px solid #5370ac; */
}

/* 흰색 테두리 박스 (교무 및 연구부, 운영실) */
.org-box-secondary {
    background: white;
    border: 1px solid #d3d3d3;
    color: #333;
}

.org-box-secondary .org-box-title {
    font-weight: 700;
    font-size: 18px;
    color: #5370ac;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.org-box-secondary .org-box-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.org-box-secondary .org-item {
    font-size: 16px;
    font-weight: 400;
    color: #666;
    padding: 5px 0;
}

/* 레벨 3: 교무 및 연구부 / 운영실 가로 배치 */
.org-level-3 {
    display: flex;
    justify-content: center;
    gap: 60px;
    width: 100%;
    max-width: 900px;
}

.org-branch {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    padding-top: 50px;
}

/* 각 박스 위쪽에서 내려오는 세로선 */
.org-branch::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 1px;
    height: 50px;
    background: #d3d3d3;
}

/* 연결선 */
.org-connector {
    position: relative;
}

/* 세로 연결선 */
.org-connector-vertical {
    width: 1px;
    height: 50px;
    background: #d3d3d3;
    margin: 0 auto;
}

/* 가로 연결선 */
.org-connector-horizontal {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 1px;
    background: #d3d3d3;
    margin: 0 auto;
}

/* ========================================
   직원현황 표 스타일
======================================== */
.staff-info {
    margin-top: 80px;
}

.staff-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.staff-title i {
    font-size: 20px;
    color: #5370ac;
}

.staff-table {
    border-collapse: collapse;
    border: none;
    box-shadow: none !important;
}

.staff-table thead th {
    background: #f1f6ff;
    color: #383838;
    font-weight: 500;
    font-size: 18px;
    padding: 15px;
    text-align: center;
    border: none;
    border-bottom: 1px solid #dee2e6;
}

.staff-table tbody td {
    padding: 15px;
    vertical-align: middle;
    border: none;
    border-bottom: 1px solid #dee2e6;
}

.staff-table tbody tr:last-child td {
    border-bottom: 1px solid #383838;
}

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

.staff-table tbody td:first-child {
    text-align: center;
    font-weight: 400;
    color: #060f26;
    min-width: 100px;
}

.staff-table tbody td:nth-child(3),
.staff-table tbody td:nth-child(4) {
    text-align: center;
}

.staff-table ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.staff-table ul li {
    padding: 3px 0;
    position: relative;
    padding-left: 15px;
}

.staff-table ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #060f26;
}

/* ========================================
   반응형 - 조직도
======================================== */
@media (max-width: 991px) {
    .org-box {
        min-width: 160px;
        padding: 18px 30px;
        font-size: 16px;
    }

    .org-level-3 {
        gap: 40px;
    }

    .org-connector-horizontal {
        max-width: 500px;
    }
}

@media (max-width: 767px) {
    .org-chart {
        padding: 20px 15px;
    }

    .org-box {
        min-width: auto;
        width: 100%;
        max-width: 280px;
        padding: 15px 20px;
        font-size: 15px;
    }

    .org-box-secondary {
        padding: 15px;
    }

    .org-box-secondary .org-box-title {
        font-size: 16px;
        margin-bottom: 10px;
        padding-bottom: 8px;
    }

    .org-box-secondary .org-item {
        font-size: 14px;
        padding: 4px 0;
    }

    /* 모바일에서는 세로 배치 */
    .org-level-3 {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .org-branch {
        width: 100%;
        max-width: 280px;
        padding-top: 0;
    }

    .org-branch::before {
        display: none;
    }

    /* 연결선 단순화 */
    .org-connector-horizontal {
        width: 2px;
        height: 20px;
        max-width: none;
        background: #d3d3d3;
    }

    .org-connector-vertical {
        height: 20px;
    }

    /* 직원현황 섹션 */
    .staff-info {
        margin-top: 50px;
        padding: 0 15px;
    }

    .staff-title {
        font-size: 18px;
        margin-bottom: 15px;
    }

    /* 직원 테이블 - 카드형 레이아웃으로 변경 */
    .staff-table {
        display: block;
        width: 100%;
    }

    .staff-table thead {
        display: none;
    }

    .staff-table tbody {
        display: block;
    }

    .staff-table tbody tr {
        display: block;
        margin-bottom: 15px;
        padding: 15px;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        background: white;
    }

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

    .staff-table tbody td {
        display: block;
        padding: 8px 0;
        border: none !important;
        text-align: left !important;
    }

    /* 첫번째 열 - 직책 또는 이름 */
    .staff-table tbody td:first-child {
        font-weight: 600;
        font-size: 16px;
        color: #5370ac;
        border-bottom: 1px solid #e0e0e0 !important;
        padding-bottom: 10px !important;
        margin-bottom: 8px;
        text-align: left !important;
    }

    /* 두번째 열 */
    .staff-table tbody td:nth-child(2) {
        padding-top: 8px;
    }

    /* 직원현황: 담당업무 / 강사현황: 학력 */
    .staff-table tbody td:nth-child(2)::before {
        content: '담당업무: ';
        font-weight: 600;
        color: #5370ac;
        display: inline-block;
        margin-right: 5px;
    }

    /* 강사현황 테이블의 두번째 열은 학력 */
    .staff-table.teacher-table tbody td:nth-child(2)::before {
        content: '학력: ';
    }

    /* 세번째 열 */
    /* 직원현황: 내선번호 / 강사현황: 전공분야 */
    .staff-table tbody td:nth-child(3)::before {
        content: '내선번호: ';
        font-weight: 600;
        color: #5370ac;
        display: inline-block;
        margin-right: 5px;
    }

    /* 강사현황 테이블의 세번째 열은 전공분야 */
    .staff-table.teacher-table tbody td:nth-child(3)::before {
        content: '전공분야: ';
    }

    /* 네번째 열 - 이메일 (직원현황에만 존재) */
    .staff-table tbody td:nth-child(4)::before {
        content: '이메일: ';
        font-weight: 600;
        color: #5370ac;
        display: inline-block;
        margin-right: 5px;
    }

    .staff-table ul {
        margin-top: 5px;
        padding-left: 15px;
    }

    .staff-table ul li {
        font-size: 13px;
        padding: 2px 0;
        padding-left: 10px;
    }
}

@media (max-width: 480px) {
    .org-chart {
        padding: 15px 10px;
    }

    .org-box {
        max-width: 240px;
        padding: 12px 15px;
        font-size: 14px;
    }

    .org-box-secondary {
        padding: 12px;
    }

    .org-box-secondary .org-box-title {
        font-size: 15px;
        margin-bottom: 8px;
        padding-bottom: 6px;
    }

    .org-box-secondary .org-item {
        font-size: 13px;
        padding: 3px 0;
    }

    .staff-info {
        padding: 0 10px;
    }

    .staff-title {
        font-size: 16px;
    }

    .staff-table tbody tr {
        padding: 12px;
    }

    .staff-table tbody td {
        font-size: 13px;
        padding: 6px 0;
    }

    .staff-table tbody td::before {
        font-size: 13px;
    }

    .staff-table tbody td:first-child {
        font-size: 15px;
    }

    .staff-table tbody td:nth-child(2) {
        padding-top: 6px;
    }

    .staff-table ul li {
        font-size: 12px;
    }
}

/* ========================================
   중국어 회화 과정
======================================== */
    .chinese-level-container {
        max-width: 1200px;
        margin: 0 auto;
    }

    .level-card {
        overflow: hidden;
        transition: box-shadow 0.3s ease;
    }

    .level-card:not(:first-child):not(:last-child) {
        border-top: 1px solid #d3d3d3;
    }

    .level-card:last-child {
        border-top: 1px solid #d3d3d3 !important;
    }
	
    .level-title {
        background-color: #f1f6ff;
        text-align: center;
		color: #3d519c;
    }

    .level-title h5 {
        font-size: 1.1rem;
        color: #3d519c;
        font-weight: 600;
    }

    .level-content {
        background-color: #fff;
    }

    .level-content p {
        font-size: 1.1rem;
        line-height: 1.6;
        color: #555;
		letter-spacing:-0.5px;
    }

    .level-content .fw-bold {
        color: #333;
        font-size: 16px;
    }

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

    .level-image img {
        max-height: 150px;
        object-fit: contain;
    }

    /* 반응형 처리 */
    @media (max-width: 768px) {
        .level-title, .level-content, .level-image {
            border-right: none;
            border-bottom: 1px solid #e0e0e0;
        }

        .level-image {
            border-bottom: none;
        }

        .level-title h5 {
            font-size: 1rem;
        }

        .level-content p {
            font-size: 0.9rem;
        }

        .level-image img {
            max-height: 120px;
        }
    }
	
/* ========================================
   HSK 레벨 시스템
======================================== */
	.hsk-level-container {
		max-width: 1200px;
		margin: 0 auto;
	}

	.hsk-card {
		background: #bdd3ff;
		padding: 15px;
		box-shadow: 0 2px 8px rgba(0,0,0,0.1);
		transition: transform 0.3s ease, box-shadow 0.3s ease;
		height: 100%;
	}

	.hsk-card:hover {
		transform: translateY(-5px);
		box-shadow: 0 4px 16px rgba(0,0,0,0.15);
	}

	.hsk-card-header {
		text-align: center;
		padding: 15px 10px;
		margin-bottom: 12px;
	}

	.hsk-card-header h4 {
		color: #3d519c;
		font-weight: 700;
		font-size: 1.5rem;
	}

	.hsk-card-body {
		background-color: #f1f6ff;
		border-radius: 8px;
		padding: 20px 15px;
		text-align: center;
		min-height: 80px;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.hsk-card-body p {
		color: #333;
		font-size: 1rem;
		line-height: 1.6;
	}

	/* 반응형 처리 */
	@media (max-width: 991px) {
		.hsk-card-header h4 {
			font-size: 1.3rem;
		}

		.hsk-card-body p {
			font-size: 0.95rem;
		}
	}

	@media (max-width: 767px) {
		.hsk-card {
			margin-bottom: 1rem;
		}

		.hsk-card-header h4 {
			font-size: 1.2rem;
		}

		.hsk-card-body {
			min-height: 70px;
			padding: 15px 10px;
		}

		.hsk-card-body p {
			font-size: 0.9rem;
		}
	}
	
/* ========================================
	   강의 요청 5단계 프로세스
	======================================== */
	.lecture-request-section {
		max-width: 1400px;
		margin: 0 auto;
	}

	.step-card {
		border: 1px solid #d0d0d0;
		border-radius: 0;
		padding: 30px 10px;
		text-align: center;
		background-color: #fff;
		transition: box-shadow 0.3s ease;
		height: 100%;
		min-height: 320px;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: flex-start;
	}

	.step-card:hover {
		box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	}

	.step-icon {
		font-size: 3.5rem;
		color: #7699de;
		margin-bottom: 15px;
	}

	.step-badge {
		background-color: #7699de;
		color: #fff;
		padding: 8px 25px;
		border-radius: 20px;
		font-size: 18px;
		font-weight: 600;
		margin-bottom: 15px;
		display: inline-block;
	}

	.step-title {
		font-size: 18px;
		font-weight: 700;
		color: #060f26;
		margin-bottom: 15px;
		min-height: 50px;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.step-desc {
		font-size: 16px;
		color: #060f26;
		line-height: 1.8;
		margin-bottom: 0;
		letter-spacing: -0.75px;
	}

	/* 반응형 처리 */
	@media (max-width: 1199px) {
		.step-card {
			min-height: 300px;
		}

		.step-title {
			font-size: 1rem;
		}

		.step-desc {
			font-size: 0.9rem;
		}
	}

	@media (max-width: 991px) {
		.step-card {
			min-height: auto;
			padding: 25px 15px;
		}

		.step-icon {
			font-size: 2.5rem;
		}

		.step-title {
			min-height: auto;
		}
	}

	@media (max-width: 767px) {
		.step-card {
			margin-bottom: 15px;
		}

		.step-icon {
			font-size: 2rem;
		}

		.step-badge {
			padding: 6px 20px;
			font-size: 0.85rem;
		}

		.step-desc {
			font-size: 0.85rem;
		}
	}

/* ========================================
	   bbs 프로세스
	======================================== */
	.container-xl table.bbs-table { 
		box-shadow: 0 0 0 rgba(0,0,0,0.1); 
	}
	.bbs-table thead th { 
		background: #f5f5f5;
		color: #383838;
		font-weight: 500;
		font-size: 16px;
		padding: 15px;
		border-bottom: 0;
		box-shadow: 0;
	}
	.page-link { 
		background: #7699de;
		padding: 5px 10px;
	}
	.pagination:active, .active:active { 
		background: #7699de; 
	}
	
	.pagination { 
		--bs-pagination-color: #7699de;
		--bs-pagination-active-bg: #7699de;
		--bs-pagination-active-border-color: #7699de;
	}

/* ========================================
	   회원가입 프로세스
	======================================== */

.member-join-wrapper {
    /* margin: 0 auto; */
    padding: 30px;
}

.member-join-title {
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.form-group-custom {
    margin-bottom: 25px;
}

/* 배경색 적용 */
.bg-light-gray {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 4px;
}

.form-label-custom {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
    font-size: 15px;
}

.form-label-custom .required {
    color: #ff0000;
    margin-left: 3px;
}

.form-control-custom {
    width: 100%;
    height: 45px;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-control-custom:focus {
    outline: none;
    border-color: #0c84c8;
}

.input-group-custom {
    display: flex;
    gap: 10px;
    align-items: center;
}

.input-group-custom input {
    flex: 1;
}

/* PC에서 폼 전체 최대 넓이 제한 */
@media (min-width: 768px) {
    .member-join-wrapper {
        max-width: 800px;
    }

    /* 이름, 이메일, 비밀번호 필드는 60% 너비 */
    .form-group-custom:has(#name) .form-control-custom,
    .form-group-custom:has(#email) .input-group-custom,
    .form-group-custom:has(#passwd) .form-control-custom,
    .form-group-custom:has(#passwd_confirm) .form-control-custom {
        max-width: 60%;
    }

    /* 전화번호 그룹 60% 너비 */
    .phone-group {
        max-width: 60%;
    }

    /* 생년월일 그룹 60% 너비 */
    .birth-group {
        max-width: 60%;
    }
}

.btn-duplicate-check {
    height: 45px;
    padding: 0 20px;
    background: #0c84c8;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.3s;
}

.btn-duplicate-check:hover {
    background: #0a6ba8;
}

.help-text {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #ff0000;
}

.phone-group {
    display: flex;
    gap: 10px;
}

.phone-group select,
.phone-group input {
    flex: 1;
}

.birth-group {
    display: flex;
    gap: 10px;
}

.birth-group select {
    flex: 1;
}

.radio-group-custom {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.radio-item-custom {
    display: flex;
    align-items: center;
}

.radio-item-custom input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 6px;
    cursor: pointer;
}

.radio-item-custom label {
    margin: 0;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.checkbox-group-custom {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.checkbox-item-custom {
    display: flex;
    align-items: center;
}

.checkbox-item-custom input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 6px;
    cursor: pointer;
}

.checkbox-item-custom label {
    margin: 0;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.file-upload-area {
    margin-top: 10px;
}

.file-upload-item {
    margin-bottom: 10px;
}

.file-upload-item label {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
}

.btn-submit-group {
    display: flex;
    gap: 15px;
    margin-top: 40px;
    justify-content: center;
}

.btn-cancel,
.btn-submit {
    min-width: 140px;
    height: 50px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-cancel {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.btn-cancel:hover {
    background: #e8e8e8;
}

.btn-submit {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8561 100%);
    color: #fff;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

@media (max-width: 767px) {
    .member-join-wrapper {
        margin: 20px 10px;
        padding: 20px;
    }

    .phone-group,
    .birth-group {
        flex-direction: column;
    }

    .radio-group-custom {
        flex-direction: column;
        gap: 10px;
    }

    .btn-submit-group {
        flex-direction: column;
    }

    .btn-cancel,
    .btn-submit {
        width: 100%;
    }
}

/* ========================================
   로그인 프로세스
======================================== */

.member-login-wrapper {
    max-width: 500px;
    margin: 50px auto;
    padding: 40px;
    background: #fff;
    /* border: 1px solid #e0e0e0;
    border-radius: 8px; */
}

.member-login-wrapper .form-group-custom {
    margin-bottom: 20px;
}

.member-login-wrapper .form-control-custom {
    width: 100% !important;
    max-width: 100% !important;
    height: 50px;
    padding: 12px 18px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    box-sizing: border-box;
}

.member-login-wrapper .form-control-custom:focus {
    outline: none;
    border-color: #0c84c8;
}

.btn-login-group {
    margin-top: 30px;
}

.btn-login {
    width: 100%;
    height: 55px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8561 100%);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.login-links {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
}

.login-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.login-links a:hover {
    color: #0c84c8;
    text-decoration: underline;
}

.login-links .divider {
    margin: 0 15px;
    color: #ddd;
}

/* 모달 스타일 커스텀 */
.modal-header {
    background-color: #0d6efd;
    color: white;
    border-bottom: none;
}

.modal-title {
    color: white;
    font-weight: 600;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-body .form-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.modal-body .form-control {
    height: 45px;
}

.modal-body .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* 모바일 반응형 */
@media (max-width: 767px) {
    .member-login-wrapper {
        margin: 20px;
        padding: 25px 20px;
    }

    .btn-login {
        height: 50px;
        font-size: 16px;
    }

    .login-links {
        font-size: 13px;
    }

    .login-links .divider {
        margin: 0 10px;
    }
}   

/* ========================================
   강좌 카드 스타일
======================================== */
        .course-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 30px;
            margin-top: 30px;
        }

        .course-card {
            border: 1px solid #e0e0e0;
            border-radius: 0!important;
            overflow: hidden;
            background: #fff;
            transition: all 0.3s ease;
        }
/*
        .course-card:hover {
            border-color: #007bff;
            box-shadow: 0 4px 12px rgba(0,123,255,0.15);
        }
*/
        .course-table {
            width: 100%;
            border-collapse: collapse;
        }

        .course-table tr {
            border-bottom: 1px solid #f0f0f0;
        }

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

        .course-table td {
            padding: 12px 15px;
            font-size: 16px;
        }

        .course-table td:first-child {
            background: #f8f9fa;
            font-weight: 600;
            color: #333;
            width: 100px;
            border-right: 1px solid #e0e0e0;
        }

        .course-table td:last-child {
            color: #555;
        }

        .course-apply-btn {
            width: 100%;
            padding: 15px;
            background: #7699de;
            color: white;
            border: none;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.3s ease;
        }

        .course-apply-btn:hover {
            background: #3d519c;
        }

        .course-apply-btn:disabled {
            background: #6c757d;
            cursor: not-allowed;
        }

        .status-badge {
            display: inline-block;
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 12px;
            font-weight: 600;
        }

        .status-모집예정 {
            background: #e7f3ff;
            color: #0066cc;
        }

        .status-모집중 {
            background: #d4edda;
            color: #155724;
        }

        .status-모집마감 {
            background: #f8d7da;
            color: #721c24;
        }

        .no-courses {
            text-align: center;
            padding: 60px 20px;
            color: #999;
        }

        .no-courses i {
            font-size: 64px;
            margin-bottom: 20px;
            opacity: 0.3;
        }

        @media (max-width: 768px) {
            .course-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .course-table td {
                padding: 10px 12px;
                font-size: 13px;
            }

            .course-table td:first-child {
                width: 80px;
            }
        }