.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3.5rem; /* 56px */
    background-color: #007BFF;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    z-index: 1000;
}

.navbar a {
    color: white;
    text-decoration: none;
    padding: 0.875rem 1rem; /* 14px 16px */
    display: flex;
    align-items: center;
    gap: 0.375rem; /* 6px */
    font-weight: bold;
}

.nav-home i {
    font-size: 1.125rem; /* 18px */
}

.nav-dropdowns {
    display: flex;
    gap: 0.625rem; /* 10px */
    margin-left: 1rem;
}

.dropdown {
    position: relative;
}

.dropbtn {
    background-color: inherit;
    border: none;
    color: white;
    padding: 0.875rem 1rem; /* 14px 16px */
    font-size: 1rem; /* 16px */
    cursor: pointer;
    font-family: inherit;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: #ffffff;
    color: #212529;
    white-space: nowrap;
    width: auto;
    max-width: 100vw;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.15); /* 4px 12px */
    border-radius: 0.375rem; /* 6px */
    padding: 0.25rem 0;
    z-index: 1001;
}

.dropdown-content a {
    color: #212529;
    padding: 0.75rem 1rem; /* 12px 16px */
    text-decoration: none;
    display: block;
    font-size: 0.875rem; /* 14px */
    white-space: nowrap;
    max-width: 100vw;
    overflow-x: auto;
}

.dropdown-content a:hover {
    background-color: #f2f2f2;
}

.dropdown:hover .dropbtn {
    background-color: #0056b3;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown.right {
    margin-left: auto;
    position: relative;
}

.dropdown.right .dropdown-content {
    position: absolute;
    right: 0;
    top: 100%;
    background-color: #ffffff;
    color: #212529;
    min-width: 10rem; /* 160px */
    max-width: 18.75rem; /* 300px */
    white-space: normal;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.15);
    border-radius: 0.375rem;
    padding: 0.25rem 0;
    z-index: 1001;
}

.dropdown.left .dropdown-content {
    left: 0;
    right: auto;
    top: 100%;
    background-color: #ffffff;
    color: #212529;
    white-space: nowrap;
    width: auto;
    max-width: 100vw;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.15);
    border-radius: 0.375rem;
    padding: 0.25rem 0;
    z-index: 1001;
}

.nav-user-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
}

.nav-settings i {
    font-size: 1.125rem;
    color: white;
}

.nav-clock {
    color: white;
    font-weight: bold;
    font-size: 0.95rem;
    min-width: 5.5rem;
    text-align: center;
}