* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #1b2838;
    color: #c7d5e0;
    font-family: 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.topbar-top {
    align-items: center;
    background-color: #171A21;
    display: flex;
    height: 12vh;
    justify-content: center;
    left: 0;
    padding: 0 16px;
    position: fixed;
    top: 0;
    transition: transform 0.3s ease;
    width: 100%;
    z-index: 1001;
}

.topbar-big {
    display: flex;
    flex-direction: row;
    height: 100%;
    justify-content: center;
    width: 100%;
    justify-content: space-between;
    padding: 0px 128px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 0;
}

.menu-group {
    position: relative;
    display: flex;
    flex-direction: column;
}

.menu-group a {
    text-decoration: none;
    color: inherit;
}

.menu-trigger {
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    padding: 8px 12px;
    white-space: nowrap;
    transition: color 0.2s;
    letter-spacing: 0.5px;
}

.menu-trigger:hover {
    color: #66c0f4;
}

.dropdown-menu {
    position: absolute;
    top: 50px;
    left: 0;
    background: #40464f;
    min-width: 80px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    z-index: 2000;
    flex-direction: column;
    padding: 8px 0;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-group:hover .dropdown-menu,
.menu-group:focus-within .dropdown-menu {
    transform: translateY(-8%);
    opacity: 1;
}

.dropdown-menu div {
    color: #e6e6e6;
    padding: 5px 12px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.18s, color 0.18s;
    white-space: nowrap;
}

.dropdown-menu {
    box-shadow: 2px 2px 4px 2px rgba(0,0,0,0.3);
}

.dropdown-menu div:hover {
    color: #2a2f38;
    background-color: #ffffff;
}

.logo {
    cursor: pointer;
    height: 44px;
    width: 176px;
}

.topbar-left span {
    color: #DCDEDF;
    cursor: pointer;
    font-size: 20px;
    font-weight: 550;
    padding: 8px 20px;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.topbar-left span:hover {
    color: #ffffff;
}

.topbar-right {
    display: flex;
    right: 0;
    top: 0;
    flex-direction: row;
    gap: 10px;
    padding: 6px 0;
}

.install {
    background-color: #272D37;
    padding: 3px 12px;
    height: 24px;
    align-items: center;
    justify-content: center;
    text-wrap: nowrap;
    font-size: 12px;
    color: #DFDED2;
}

.notifications {
    background-color: #5C7E10;
    padding: 3px 12px;
    height: 24px;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.profile {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.profile-left {
    display: flex;
    flex-direction: column;
}

.profile-right img {
    height: 40px;
    width: 40px;
    border: #4C93AF solid 2px;
}

.topbar-top.hidden {
    transform: translateY(-100%);
}

/* Topbar Hamburger Menu */
.topbar-hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    gap: 5px;
    margin-right: 12px;
}

.topbar-hamburger-menu span {
    width: 24px;
    height: 2px;
    background-color: #b0bec5;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.topbar-hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.topbar-hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.topbar-hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Topbar Mobile Menu Dropdown */
.topbar-mobile-menu-dropdown {
    display: none;
    position: fixed;
    top: 12vh;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(24, 37, 53, 1), rgba(24, 37, 53, 0.95));
    border-bottom: 1px solid #151C28;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    flex-direction: column;
    padding: 24px 0;
    z-index: 999;
    width: 100%;
    padding-top: 50px;
}

.topbar-mobile-menu-dropdown.active {
    display: flex;
}

.topbar-mobile-menu-section {
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.topbar-mobile-menu-link {
    padding: 10px 0;
    color: #b0bec5;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.topbar-mobile-menu-link:hover {
    color: #ffffff;
}

@media (max-width: 1450px) {
    .topbar-hamburger-menu {
        display: flex;
    }
    .topbar-left div {
        display: none;
    }
}

@media (max-width: 850px) {
    .topbar-big {
        gap: 0%;
    }
    .install {
        display: none;
    }
    .logo {
        height: 36px;
        width: 144px;
    }
    .topbar-big {
        padding: 0px 8px;
    }
}