#menu {
    background-color: #ffffff;
    color: #1b1b1b;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 20px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Segoe UI', sans-serif;
    font-size: 1em;
    transition: all 0.3s ease;
}

.logo img {
    height: 55px;
}

.left-menu {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.left-menu li a {
    position: relative;
    text-decoration: none;
    color: #1b1b1b;
    font-weight: 500;
    font-size: 1.05em;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.left-menu li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #0d6efd;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.left-menu li a:hover {
    color: #0d6efd;
}

.left-menu li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1em;
    cursor: pointer;
    color: #1b1b1b;
    z-index: 1001;
    align-items: center;
    gap: 8px;
}

.menu-toggle i {
    margin-right: 5px;
}

.menu-toggle span {
    font-size: 1em;
    font-weight: 500;
}

.sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 260px;
    height: 100%;
    background-color: #ffffff;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.1);
    padding: 60px 20px;
    transition: left 0.3s ease;
    z-index: 1002;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar ul li a {
    color: #1a1a1a;
    font-size: 1em;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.2s ease;
}

.sidebar ul li a:hover {
    color: #0d6efd;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: opacity 0.3s ease;
}

.sidebar.open {
    left: 0;
}

.overlay.show {
    display: block;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .left-menu {
        display: none;
    }

    #menu {
        padding: 16px 20px;
    }
}

a,
a:focus,
a:active,
.sidebar a,
.sidebar a:focus,
.sidebar a:active,
.menu-toggle,
.menu-toggle:focus,
.menu-toggle:active {
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
}
