html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
}

.toggle-btn {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    background: #00bcd4;
    border: none;
    color: #000;
    font-size: 24px;
    padding: 8px 12px;
    z-index: 1001;
    border-radius: 4px;
}

.sidebar {
    width: 250px;
    height: 100vh;
    background: #1d1f21;
    color: #fff;
    padding-top: 30px;
    position: fixed;
    top: 0;
    left: 0;
    transition: left 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
    /* Scrollbar eklendi */

}

.sidebar.closed {
    left: -260px;
}

.sidebar .section-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    padding-bottom: 20px;
    color: #00bcd4;
}

.sidebar ul.components {
    padding: 0;
    list-style: none;
}

.sidebar ul li {
    list-style-type: none;
}

.sidebar ul li a {
    padding: 12px 25px;
    display: flex;
    align-items: center;
    color: #ddd;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
    font-size: 15px;
    cursor: pointer;
}

.sidebar ul li a:hover {
    background-color: #00bcd4;
    color: #000;
}

.sidebar ul li.active>a {
    background-color: #00bcd4;
    color: #000;
    font-weight: bold;
}

.sidebar ul ul {
    background: #2a2d30;
    display: none;
    padding-left: 0;
}

.sidebar ul ul.show {
    display: block;
}

.sidebar ul ul li a {
    padding-left: 45px;
    font-size: 14px;
}

.content {
    margin-left: 250px;
    padding: 20px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .toggle-btn {
        display: block;
    }

    .sidebar {
        width: 250px;
        left: -260px;
        height: 100vh;
        position: fixed;
    }

    .sidebar.open {
        left: 0;
    }

    .content {
        margin-left: 0;
    }
}

.highlight {
    background-color: yellow;
    color: black;
    font-weight: bold;
}