/* ========================================
   Apply (수강신청) Page Styles
   ======================================== */

/* Page Layout */
.page-content {
    display: flex;
    gap: 24px;
    padding: 10px 0 60px;
}

.page-main {
    flex: 1;	
    min-width: 0;
	max-width: 1120px;
}

.page-main-title {
	font-size:52px; font-weight:700;
}

.page-main-title-desc {
	float:right;
	font-size:16px;
	padding-right:190px;
}


/* Breadcrumb */
/* ----------------------------------------
   Page Menu (Breadcrumb Navigation)
   ---------------------------------------- */
.page-menu {
    width: 100%;
    height: 80px;
    line-height: 80px;
    display: flex;
    /* border-top: 1px solid #000; */
    border-bottom: 1px solid #dfdfdf;
    margin-bottom: 40px;
    position: relative;
    z-index: 10;
}

.page-menu > div {
    position: relative;
}

.page-menu > div::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: 1px;
    height: 30px;
    background: #dfdfdf;
}

.page-menu > div:last-child::after {
    display: none;
}

/* Home */
.page-menu__home {
    width: 10%;
    text-align: center;
}

.page-menu__home a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #333;
}

/* Menu Columns */
.page-menu__menu {
    width: 25%;
    position: relative;
}

.page-menu__menu button {
    font-size: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding-left: 20px;
    width: 100%;
    text-align: left;
    color: #032a58;
    line-height: 80px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-menu__menu button svg {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s;
}

.page-menu__menu.is-open button svg {
    transform: translateY(-50%) rotate(180deg);
}

/* Dropdown List (slide animation) */
.page-menu__menu ul {
    max-height: 0;
    overflow: hidden;
    background: #fff;
    text-align: left;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 300;
    transition: max-height 0.5s ease;
}

.page-menu__menu ul.is-open {
    max-height: 500px;
    border: 1px solid #dfdfdf;
}

.page-menu__menu ul li {
    height: 40px;
    line-height: 40px;
    font-size: 18px;
}

.page-menu__menu ul li a {
    display: block;
    padding: 0 20px;
    color: #000;
    transition: background 0.15s, color 0.15s;
}

.page-menu__menu ul li a:hover {
    background: #3498db;
    color: #fff;
}

.page-menu__menu .page-menu__menu_focus a {
	background: #008000;
	color: #fff;
}


/* Page Buttons (share, print) */
.page-menu__btn {
    flex: 1;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.page-menu__btn ul {
    display: inline-flex;
}

.page-menu__btn ul li {
    position: relative;
    width: 50px;
    text-align: center;
}

.page-menu__btn ul li::after {
    display: block;
    content: "";
    width: 1px;
    height: 30px;
    background: #dfdfdf;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
}

.page-menu__btn ul li:last-child::after {
    display: none;
}

.page-menu__btn ul li button {
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: color 0.2s;
}

.page-menu__btn ul li button:hover {
    color: #333;
}


/* Section Title */
.section-title {
    font-size: 28px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 20px;
}

/* ----------------------------------------
   Term Tabs (학기/개강반 탭)
   ---------------------------------------- */
.term-tabs {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 0;
    margin-bottom: 24px;
}

.term-tab {
    flex: 1;
    padding: 16px 20px;
    text-align: center;
    font-size: 18px;
    color: #666;
    background: #D8DDE2;
    border-right: 1px solid #ddd;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
}

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

.term-tab.is-active {
    background: #fff;
    color: #1a1a1a;
    font-weight: 700;
    border-bottom: 3px solid #2c3e50;
}

.term-tab:hover:not(.is-active) {
    background: #eee;
}

.term-tab__sub {
    font-size: 15px;
    color: #999;
    display: block;
    margin-bottom: 2px;
}

.term-tab__title {
    font-size: 20px;
    font-weight: 700;
}

.term-tab.is-active .term-tab__title {
    color: #1a1a1a;
}

/* ----------------------------------------
   Term Info
   ---------------------------------------- */
.term-info {
    padding: 16px 20px;
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 4px;
    margin-bottom: 16px;
    font-size: 16px;
    color: #555;
    line-height: 1.8;
}

.term-notice {
    padding: 12px 20px;
    margin-bottom: 24px;
    font-size: 15px;
    color: #e74c3c;
    line-height: 1.8;
}

/* ----------------------------------------
   Category Tabs (과목 카테고리)
   ---------------------------------------- */
.category-tabs {
    display: flex;	
    flex-wrap: wrap;
    gap: 0;
    width: 100%;
    margin-bottom: 24px;
}

.category-tab {
	flex: 1;
    padding: 10px 10px;
    font-size: 16px;
	text-align: center;
    color: #555;
    background: #fff;
    border: 1px solid #ddd;
    margin-right: -1px;
    margin-bottom: -1px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    cursor: pointer;
}

.category-tab.is-active {
    background: #2c3e50;
    color: #fff;
    border-color: #2c3e50;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.category-tab:hover:not(.is-active) {
    background: #f0f0f0;
}

/* ----------------------------------------
   Sub Category Tabs
   ---------------------------------------- */
.sub-category-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #ddd;
    margin-bottom: 20px;
}

.sub-category-tab {
    padding: 10px 20px;
    font-size: 16px;
    color: #666;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
    cursor: pointer;
}

.sub-category-tab.is-active {
    color: #1a1a1a;
    font-weight: 700;
    border-bottom-color: #1a1a1a;
}

/* ----------------------------------------
   Course Table
   ---------------------------------------- */
.course-table {
    width: 100%;
    border-top: 2px solid #2c3e50;
    margin-bottom: 20px;
}

.course-table thead th {
    padding: 12px 8px;
    background: #f8f9fa;
	height: 80px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.course-table tbody td {
    padding: 14px 8px;
    font-size: 16px;
    color: #555;
    text-align: center;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.course-table tbody tr:hover {
    background: #fafbfc;
}

.course-table__check {
    width: 60px;
}

.course-table__type {
    width: 120px;
}

.course-table__type-badge {
    display: inline-block;
    padding: 2px 6px;
    background: #e8ecf0;
    border-radius: 3px;
    font-size: 14px;
    color: #555;
}

.course-table__type-credit {
    display: block;
    font-size: 14px;
    color: #999;
    margin-top: 2px;
}

.course-table__name {
    text-align: left !important;
    font-weight: 500;
}

.course-table__name a {
    color: #333;
    transition: color 0.2s;
}

.course-table__name a:hover {
    color: #3498db;
    text-decoration: underline;
}

.course-table__name-prof {
    color: #999;
    font-size: 13px;
    font-weight: 400;
}

.course-table__fee {
    width: 100px;
    font-weight: 600;
}

.course-table__action {
    width: 100px;
}

.course-table__applybtn {
    width: 120px;
}

.course-table__icon-btn {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #888;
    transition: color 0.2s;
}

.course-table__icon-btn:hover {
    color: #3498db;
}

.course-table__apply-btn {
    padding: 6px 16px;
    background: #fff;
    color: #3498db;
    border: 1px solid #3498db;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
}

.course-table__apply-btn:hover {
    background: #3498db;
    color: #fff;
}

/* Duplicate Check Button */
.btn-clschkorder {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: #8e44ad;
    color: #fff;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    transition: background 0.2s;
}

.btn-clschkorder:hover {
    background: #7d3c98;
}



.btn-clsConsult {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: #257A59;
    color: #fff;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    transition: background 0.2s;
}

.btn-clsConsult:hover {
    background: #1C5941;
}


.btn-duplicate {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: #006C7F;
    color: #fff;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    transition: background 0.2s;
}

.btn-duplicate:hover {
    background: #00505E;
}


.btn-clschktopgray {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 20px;
    background: #F6F6F6;
    color: #000;
	border: solid 1px #C4C4C4;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    transition: background 0.2s;
}

.btn-clschktopgray:hover {
    background: #C4C4C4;
}


.btn-clschktopblack {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 20px;
    background: #34495E;
    color: #fff;
	border: solid 1px #C4C4C4;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    transition: background 0.2s;
}

.btn-clschktopblack:hover {
    background: #202D39;
}


.btn-clscartchkorder {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 22px;
    background: #0061AA;
    color: #fff;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    transition: background 0.2s;
}

.btn-clscartchkorder:hover {
    background: #003F6C;
}


.course-table__nomal-btn {
    padding: 6px 16px;
    background: #fff;
    color: #1A3A5C;
    border: 1px solid #1A3A5C;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
}

.course-table__nomal-btn:hover {
    background: #1A3A5C;
    color: #fff;
}

/* ----------------------------------------
   Cart Modal
   ---------------------------------------- */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 900;
    align-items: center;
    justify-content: center;
}

.cart-modal.is-visible {
    display: flex;
}

.cart-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0,0,0,0.3);*/
}

.cart-modal__popup {
    position: relative;
	top: 23%;
    display: flex;
    width: 700px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    overflow: hidden;
    z-index: 9999;
}

.cart-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 25px;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 2;
}

.cart-modal__close:hover {
    color: #333;
}

.cart-modal__left {
    flex: 1;
    padding: 32px 28px;
    border-right: 1px solid #eee;
}

.cart-modal__title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
}

.cart-modal__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cart-modal__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: #f0f4f8;
    border: 1px solid #d8dde3;
    border-radius: 4px;
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.cart-modal__tag-remove {
    display: inline-flex;
    align-items: center;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
}

.cart-modal__tag-remove:hover {
    color: #e74c3c;
}

.cart-modal__empty {
    font-size: 16px;
    color: #999;
    padding: 40px 0;
    text-align: center;
}

.cart-modal__right {
    width: 280px;
    padding: 32px 28px;
    flex-shrink: 0;
}

.cart-modal__price-title {
    font-size: 19px;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
}

.cart-modal__price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    font-size: 16px;
    color: #555;
}

.cart-modal__price-row--total {
    border-top: 1px solid #eee;
    margin-top: 10px;
    padding-top: 14px;
    font-size: 20px;
    font-weight: 800;
}

.cart-modal__price-row--total span:last-child {
    color: #3498db;
}

.cart-modal__submit {
    display: block;
    width: 100%;
    padding: 12px;
    background: #3498db;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    font-size: 19px;
    font-weight: 700;
    margin-top: 20px;
    transition: background 0.2s;
    cursor: pointer;
}

.cart-modal__submit:hover {
    background: #2980b9;
}

/* ----------------------------------------
   Sidebar (Quick Menu + Banners)
   ---------------------------------------- */
.page-sidebar {
    width: 160px;
    flex-shrink: 0;	
}

.sidebar-quick {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
}

.sidebar-quick__title {
    padding: 10px 12px;
    background: #2c3e50;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
}

.sidebar-quick__item {
    padding: 14px 12px;
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
}

.sidebar-quick__item:last-child {
    border-bottom: none;
}

.sidebar-quick__term {
    font-size: 15px;
    color: #888;
    font-weight: 600;
}

.sidebar-quick__dday {
    display: inline-block;
    padding: 2px 10px;
    background: #e67e22;
    color: #fff;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    margin: 4px 0;
}

.sidebar-quick__ding {
    display: inline-block;
    padding: 2px 10px;
    background: #34495E;
    color: #fff;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    margin: 4px 0;
}

.sidebar-quick__dlast {
    display: inline-block;
    padding: 2px 10px;
    background: #e67e22;
    color: #fff;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    margin: 4px 0;
	animation: blink 2.4s infinite ease-in-out;
}

.sidebar-quick__month {
    font-size: 35px;
    font-weight: 800;
    color: #e67e22;
    line-height: 1;
}

.sidebar-quick__monthing {
    font-size: 35px;
    font-weight: 800;
    color: #2c3e50;
    line-height: 1;
}

.sidebar-quick__date {
    font-size: 15px;
    color: #666;
    margin-bottom: 8px;
}



.sidebar-quick__btn {
    display: block;
    padding: 6px 12px;
    background: #2c3e50;
    color: #fff;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    transition: background 0.2s;
}

.sidebar-quick__btnlast {
    display: block;
    padding: 6px 12px;
    background: #e67e22;
    color: #fff;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    transition: background 0.2s;
}

.sidebar-quick__btn:hover {
    background: #34495e;
}

/* Sidebar Banners */
.sidebar-banner {
    width: 100%;
    padding: 16px 10px;
    background: #f0f4f8;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 8px;
    font-size: 15px;
    color: #555;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
    border: 2px solid transparent;
}

.sidebar-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #e67e22;
}

.sidebar-banner__title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}

.sidebar-banner__sub {
    font-size: 14px;
    color: #888;
}

/* Sidebar Contact */
.sidebar-contact {
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 14px 12px;
    margin-bottom: 12px;
}

.sidebar-contact__title {
    font-size: 14px;
    color: #888;
    margin-bottom: 4px;
}

.sidebar-contact__number {
    font-size: 23px;
    font-weight: 800;
    color: #2c3e50;
}

.sidebar-contact__ext {
    font-size: 14px;
    color: #999;
}

.sidebar-hours {
    background: #e8f4fd;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
}

.sidebar-hours__title {
    font-size: 15px;
    font-weight: 700;
    color: #2980b9;
    margin-bottom: 6px;
    display: inline-block;
    padding: 2px 8px;
    border: 1px solid #2980b9;
    border-radius: 3px;
}

.sidebar-hours__text {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
}

/* Cart Icon */
.sidebar-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    transition: background 0.2s;
}

.sidebar-cart:hover {
    background: #333;
}

.sidebar-cart__icon {
    color: #fff;
    margin-bottom: 4px;
}

.sidebar-cart__label {
    font-size: 15px;
    color: #fff;
    font-weight: 600;
}

.sidebar-cart__count {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background: #3498db;
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ----------------------------------------
   Course Table Checkbox styling
   ---------------------------------------- */
.course-table input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #3498db;
}

.course-table tbody tr.is-selected {
    background: #e8f4fd;
}



.apply_table_top {
    display: flex;
    gap: 4px;
}

.apply_table_top_sch {
    margin-left: auto;
	color: #3498DB;
	font-weight: 600;
}