@charset "UTF-8";

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
    background: #2b2d2c;
    color: #f0f0f0;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background: #3c3e3d;
    color: #adbac7;
    border-right: 1px solid #4d4f4e;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #4d4f4e;
}

.sidebar-header h1 {
    color: #f0f0f0;
    font-size: 20px;
    margin-bottom: 10px;
}

.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 40px;
    background-color: #2b2d2c;
}

* {
    box-sizing: border-box;
}

hr{
    border: none;
    border-top: 1px solid #4d4f4e;
    margin: 20px 0;
}

.sidebar {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.item-title, .folder-name, .article-title {
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.breadcrumbs {
    line-height: 1.4;
}

@media (max-width: 768px) {
    .item-title {
        font-size: 13px;
    }
    
    .folder-name {
        font-size: 14px;
    }
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #2b2d2c;
}

::-webkit-scrollbar-thumb {
    background: #4d4f4e;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5a5c5b;
}

::selection {
    background-color: rgba(138, 180, 248, 0.3);
    color: #f0f0f0;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .sidebar {
        position: static;
        width: 100%;
        height: auto;
    }
    
    .main-content {
        margin-left: 0;
        padding: 20px;
        width: 100%;
    }
}