@charset "utf-8";

/* ==========================================
   전산회계 서브페이지 (Acc_jensan.php) 전용 스타일
   ========================================== */

/* ==========================================
   [신규 적용] 퀄리티 높은 그라데이션 서브메뉴 (image_159eb4.png 기반)
   ========================================== */
.custom-submenu-wrap {
    background: linear-gradient(90deg, #3a1c71 0%, #d76d77 50%, #ffaf7b 100%); /* 입체적인 고급 그라데이션 */
    padding: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
    margin-top: -1px; /* 비주얼 영역과의 미세한 틈 제거 */
}

.custom-submenu-container {
    max-width: 1300px; /* 전체 너비 제한 */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px; /* 서브메뉴 높이 고정 */
    padding: 0 2rem;
}

/* 좌측 메인 탭 영역 */
.submenu-tabs {
    display: flex;
    height: 100%;
    align-items: center;
}

.submenu-tab-item {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0 25px;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
    border-right: 1px solid rgba(255, 255, 255, 0.1); /* 탭 사이 연한 경계선 */
}

.submenu-tab-item:first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

/* 마우스 호버 시 입체적인 반투명 백그라운드 효과 */
.submenu-tab-item:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
}

/* [중요] 현재 선택된 메뉴 활성화 스타일 (그림처럼 언더라인 및 밝게) */
.submenu-tab-item.active {
    color: #ffffff;
    font-weight: 700;
    background-color: rgba(255, 255, 255, 0.15);
}

.submenu-tab-item.active::after {
    content: '';
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 0;
    height: 4px;
    background-color: #ffffff; /* 하단 흰색 강조 라인 */
    border-radius: 4px 4px 0 0;
}

/* 우측 검색 및 툴 영역 */
.submenu-tools {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 그림처럼 둥근 형태의 검색창 */
.submenu-search-form {
    position: relative;
}

.submenu-search-input {
    background-color: rgba(255, 255, 255, 0.2); /* 반투명 입력창 */
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px; /* 완전히 둥근 모서리 */
    padding: 8px 18px;
    padding-right: 40px; /* 아이콘 공간 */
    color: #ffffff;
    font-size: 0.85rem;
    width: 220px;
    transition: all 0.3s ease;
}

.submenu-search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.submenu-search-input:focus {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.1);
}

.submenu-search-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    padding: 0;
    cursor: pointer;
}

.submenu-search-btn:hover {
    color: #ffffff;
}

/* 모바일/태블릿 대응 (스크롤 포맷) */
@media (max-width: 991px) {
    .custom-submenu-container {
        padding: 0 1rem;
    }
    .submenu-tabs {
        overflow-x: auto; /* 가로 스크롤 허용 */
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    .submenu-tab-item {
        padding: 0 18px;
        flex-shrink: 0;
    }
    .submenu-tools {
        display: none; /* 모바일에서는 검색창 숨김 (필요시 조정) */
    }
}

/* ==========================================
   기존 전산회계 페이지 내용 스타일 (유지)
   ========================================== */
.section-title {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: #001a35;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}
.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 3px;
    background-color: #001a35;
    border-radius: 2px;
}
.section-title i {
    color: #001a35 !important;
}
.main-course-title {
    color: #001a35;
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.3;
}

/* 왜 갈매IT 일까요? - 5열 레이아웃 */
.reason-container {
    background-color: #f8f9fa;
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
}
.reason-sub-tag { color: #df2222; font-size: 0.9rem; font-weight: 700; margin-bottom: 0.5rem; display: block; }
.reason-main-title { font-size: 1.75rem; font-weight: 800; color: #212529; margin-bottom: 3rem; letter-spacing: -1px; }
.reason-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; }
.reason-card { flex: 1; min-width: 150px; padding: 1.5rem 1rem; position: relative; text-align: center; }
.reason-card:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 20%; width: 1px; height: 60%; background-color: #dee2e6; }
.reason-card .icon-wrap { font-size: 2.2rem; color: #4a5568; margin-bottom: 1.2rem; display: inline-block; transition: transform 0.3s ease; }
.reason-card:hover .icon-wrap { transform: translateY(-5px); color: #001a35; }
.reason-card h5 { font-size: 0.95rem; font-weight: 700; color: #212529; margin-bottom: 0.8rem; }
.reason-card p { font-size: 0.8rem; color: #6c757d; line-height: 1.5; margin-bottom: 0; word-break: keep-all; }

/* 시험일정 테이블, 커리큘럼, 사이드바, 공지사항 스타일 (기존과 동일하므로 생략 - 이전 파일 내용 유지 요망) */
/* ... (이전 소스코드의 테이블, 아코디언, 사이드바, 공지사항 CSS 내용이 여기에 위치해야 합니다) ... */