* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.main-header {
    background: #333;
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-nav {
    display: flex;
    gap: 1rem;
}

.nav-item {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.nav-item:hover,
.nav-item.active {
    background: #2196F3;
    color: white;
}

.language-switcher {
    display: flex;
    gap: 1rem;
    margin-left: auto;
}

.language-switcher .lang-link {
    color: white;
    text-decoration: none;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.language-switcher .lang-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.language-switcher .lang-link.active {
    background: #2196F3;
    color: white;
}

.main-container {
    display: flex;
    margin-top: 0;
    min-height: calc(100vh - 40px);
}

.sidebar {
    width: 250px;
    background: #f5f5f5;
    padding: 0;
    border-right: 1px solid #ddd;
    flex-shrink: 0;
}

.menu-item {
    margin: 0;
}

.menu-header {
    padding: 12px 15px;
    background: #e0e0e0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-header.active {
    background: #007bff;
    color: white;
}

.submenu-items {
    display: none;
    background: #fff;
}

.submenu-items.active {
    display: block;
}

.submenu-item {
    display: block;
    padding: 10px 15px 10px 30px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

.submenu-item:hover,
.submenu-item.active {
    background: #007bff;
    color: white;
}

.toggle-icon {
    transition: transform 0.3s;
}

.menu-header:not(.active) .toggle-icon {
    transform: rotate(-90deg);
}

.content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.content-section {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.content-section h2 {
    color: #2196F3;
    margin-bottom: 20px;
}

.guide-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.guide-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #2196F3;
}

.guide-item h3 {
    color: #333;
    margin-bottom: 15px;
}

.guide-item ul {
    list-style: none;
    padding: 0;
}

.guide-item li {
    padding: 8px 0;
    color: #666;
    border-bottom: 1px solid #eee;
}

.guide-item li:last-child {
    border-bottom: none;
}

.guide-item li:hover {
    color: #2196F3;
    cursor: pointer;
}

.top-menu {
    background: #333;
    padding: 0;
    display: flex;
    margin: 0;
}

.top-menu .menu-item {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 0;
}

.top-menu .menu-item.active {
    background: #007bff;
} 