:root {
    --main-bg-color: #222;
    --topbar-bg-color: #333;
    --menu-bg-color: #444;
    --hover-color: #555;
    --text-color: #fff;
    --highlight-color: #2563c1;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: gray;
    overflow: hidden;
    background-image: url('/assets/img/712004994995322952-1.png');
}

/* Scrollbar.css | Differents scrollbars styles (from git.douxx.tech/noskid) */
* {
    scrollbar-width: thin;
    scrollbar-color: #404040 #1a1a1a;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #404040;
    border-radius: 4px;
    transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #525252;
}

body {
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

.horizontal-scroll {
    overflow-x: auto;
    overflow-y: hidden;
}

@media (max-width: 768px) {
    * {
        scrollbar-width: none;
    }

    ::-webkit-scrollbar {
        display: none;
    }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--main-bg-color);
    color: var(--text-color);
}

.topbar {
    background-color: var(--topbar-bg-color);
    height: 40px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 100;
}

.logo {
    width: 30px;
    height: 30px;
    background-color: var(--highlight-color);
    border-radius: 50%;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.logo-text {
    font-weight: bold;
    color: var(--text-color);
    font-size: 20px;
}

.time-display {
    margin-left: auto;
    padding: 0 15px;
    font-size: 14px;
}

.main-menu {
    position: absolute;
    top: 40px;
    left: 0;
    background-color: var(--menu-bg-color);
    border: 1px solid #555;
    border-radius: 0 0 4px 4px;
    min-width: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    z-index: 1000;
}

.main-menu-item {
    padding: 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.main-menu-item:hover {
    background-color: var(--hover-color);
}

.sub-menu {
    position: absolute;
    left: 100%;
    top: 0;
    background-color: var(--menu-bg-color);
    border: 1px solid #555;
    border-radius: 0 4px 4px 0;
    min-width: 180px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
}

.main-menu-item.has-submenu:hover .sub-menu {
    display: flex;
}

.main-menu-item.has-submenu::after {
    content: "▶";
    position: absolute;
    right: 10px;
    font-size: 10px;
}

.app-item {
    padding: 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.app-item:hover {
    background-color: var(--hover-color);
}
