/* Reset navbar styles to override Bootstrap */
.navbar {
    width: 100%;
    background-color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4px;
    flex-wrap: wrap;
    min-height: 50px;
    margin: 0;
    /* Override Bootstrap margin */
}

.navbar#navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar a {
    float: left;
    font-size: var(--fs2);
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    display: inline-block;
    margin: 0;
    line-height: 20px;
}

/* Dropdown styling - make sure it overrides Bootstrap */
.navbar .dropdown {
    float: left;
    overflow: hidden;
    font-size: var(--fs2);
    height: 100%;
    margin: 0;
    padding: 0;
}

.navbar .dropdown .dropbtn {
    font-size: var(--fs2);
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
    height: 100%;
    /* display: flex; */
    align-items: center;
}

.navbar .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1001;
}

.navbar .dropdown-content a {
    float: none;
    color: black;
    font-size: var(--fs2);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    white-space: nowrap;
}

/* Hover effects */
.navbar a:hover,
.navbar .dropdown:hover .dropbtn {
    background-color: #cc0000;
    color: white;
}

.navbar .dropdown-content a:hover {
    background-color: #ddd;
    color: black;
}

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

/* Auth section specific styling */
.navbar .auth-section {
    margin-left: auto;
    display: flex;
    align-items: center;
    background-color: #1f1f1f;
    height: 100%;
}

.navbar .auth-section .dropdown {
    height: 100%;
}

.navbar .auth-section a.button {
    background-color: #1f1f1f;
    color: white;
    text-decoration: none;
    padding: 14px 16px;
    display: inline-block;
}

.navbar .auth-section a.button:hover {
    background-color: #cc0000;
}