/* /css/user_header.css */
.user-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px; 
    background-color: #1C3649; 
    color: #BCC3C9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    font-family: 'DM Sans', sans-serif;
}

.user-header .icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    color: #BCC3C9;
}

.left-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.home-link .home-icon {
    filter: none;
}

.hamburger-menu {
    position: relative;
    cursor: pointer;
    font-size: 20px;
    user-select: none;
}

.hamburger-menu .dropdown {
    display: none;
    position: fixed;
    top: 38px; 
    left: 0;
    background-color: #34495E;
    border-radius: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    padding: 10px 0;
    width: 250px;
    z-index: 9998;
    overflow-y: auto;
}

.hamburger-menu .dropdown a {
    display: block;
    color: #fff;
    padding: 10px 16px;
    text-decoration: none;
    white-space: nowrap;
    font-size: 14px;
    border-bottom: 1px solid #2C3E50;
}

.hamburger-menu .dropdown a:last-child {
    border-bottom: none;
}

.hamburger-menu .dropdown a:hover {
    background-color: #BCC3C9;
    color: #2C3E50;
}

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

.right-section .icon img {
    width: 25px !important;
    height: 25px !important;
    filter: invert(100%); 
}

.small-logo {
    width: auto; 
    height: 25px !important; 
    filter: none; 
    vertical-align: middle;
}

.icon img {
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

.user-info {
    font-size: 14px;
    white-space: nowrap;
}

.language-selector select {
    background-color: #34495E;
    color: #FFFFFF;
    border: 1px solid #555;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 0.9em;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23ECF0F1" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
    padding-right: 30px;
}

.language-selector select:focus {
    outline: none;
    border-color: #2ECC71;
    box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.4);
}