/* static/css/components/header.css */


.logo{
    height: 4rem;
    width: auto;
    display: block;
}

.header-element{
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
}

.header-element:hover{
    background: var(--colour-container-background-alternative);
    border: solid 1px var(--colour-container-text-light);
}


.header-element-logo{
    height: 2.5rem;
    width: auto;
    display: block;
}



.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-btn {
    background: #222;
    color: #fff;
    border: none;
    border-radius: 1rem;
    padding: 0.5rem 1.2rem;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5em;
    transition: background 0.2s;
}

.user-btn:hover,
.user-dropdown.open .user-btn {
    background: #333;
}

.dropdown-arrow {
    font-size: 0.8em;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 120%;
    right: 0;
    min-width: 140px;
    background: #222;
    border-radius: 0.75rem;
    box-shadow: 0 4px 18px rgba(0,0,0,0.13);
    z-index: 10;
    padding: 0rem 0rem;
    margin: 0;
}

.user-dropdown.open .dropdown-menu {
    display: block;
}

.dropdown-item {
    background: none;
    border: none;
    color: #fff;
    width: 100%;
    height: 100%;
    display: block;
    padding: 0.5rem 0rem;
    text-decoration: none;
    transition: background 0.15s;
    cursor: pointer;
    border-radius: 0.5rem;
}

.dropdown-item:hover {
    background: #333;
    color: #eaeaea;
}










