/* 기본 초기화 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Malgun Gothic', sans-serif;
}

body {
    background-color: #f0f2f5;
    overflow-x: hidden;
}

/* 상단 헤더 & 네비게이션 */
.header {
    background-color: #00458d;
    color: white;
    width: 100%;
    position: relative;
    z-index: 1000;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
}

.search-area input {
    padding: 5px 10px;
    width: 300px;
    border-radius: 4px 0 0 4px;
    border: none;
}

.search-area button {
    padding: 5px 10px;
    background: #555;
    color: white;
    border: none;
    cursor: pointer;
}

.main-nav {
    background-color: #0072bc;
}

.nav-list {
    display: flex;
    justify-content: center;
    list-style: none;
}

.nav-item>a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

.nav-item>a.active {
    background-color: #005fa3;
    color: #ffeb3b;
}

/* 2번 이미지: 메가 드롭다운 메뉴 */
.mega-dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    background: white;
    color: #333;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid #00458d;
}

.dropdown-inner {
    display: flex;
    justify-content: center;
    padding: 30px 0;
    gap: 50px;
}

.menu-column h3 {
    color: #00458d;
    font-size: 15px;
    margin-bottom: 15px;
    border-left: 3px solid #00458d;
    padding-left: 8px;
}

.menu-column ul {
    list-style: none;
}

.menu-column li {
    font-size: 13px;
    margin-bottom: 8px;
    color: #666;
    cursor: pointer;
}

.menu-column li:hover {
    color: #0072bc;
    text-decoration: underline;
}

.menu-column a {
    text-decoration: none;
    color: inherit;
}

/* 레이아웃 */
.main-container {
    display: flex;
    min-height: calc(100vh - 100px);
}

/* 사이드바 */
.sidebar {
    width: 220px;
    background-color: #003a70;
    color: white;
    padding-top: 20px;
}

.profile-card {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #004a8f;
}

.profile-img {
    font-size: 50px;
    background: white;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.side-menu .menu-group {
    background: #eee;
    color: #333;
    padding: 10px;
    font-weight: bold;
    font-size: 13px;
}

.side-menu ul {
    list-style: none;
}

.side-menu li {
    padding: 12px 20px;
    font-size: 13px;
    border-bottom: 1px solid #004a8f;
    background: white;
    color: #333;
    cursor: pointer;
}

.side-menu li.active-sub {
    background: #e6f2ff;
    color: #00458d;
    font-weight: bold;
}

/* 콘텐츠 영역 */
.content-area {
    flex: 1;
    padding: 25px;
    background: white;
    display: flex;
    flex-direction: column;
}

.dashboard-mock {
    color: #333;
}

.grid-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.card {
    border: 1px solid #ddd;
    height: 300px;
    padding: 15px;
    border-radius: 10px;
    background: #fff;
}

/* 3번 이미지: 가이드 탭/iframe 스타일 */
#guide-view {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.breadcrumb {
    font-size: 12px;
    color: #777;
    margin-bottom: 15px;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.content-header h3 {
    color: #333;
}

.content-header button {
    padding: 5px 10px;
    background: #00458d;
    color: white;
    border: none;
    border-radius: 3px;
    font-size: 12px;
    cursor: pointer;
}

#content-iframe {
    flex: 1;
    width: 100%;
    min-height: 800px;
    border: 1px solid #eee;
    border-radius: 5px;
}