.top-header {
    background: linear-gradient(90deg, #6B95BA 0%, #5B8BB5 50%, #020D12 100%);
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

@media (max-width: 768px) {
    .top-header {
        height: 56px;
        padding: 0 12px;
    }
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Botão de menu (hamburger): só no mobile; desktop não exibe */
.header-menu-btn {
    display: none;
}

@media (min-width: 769px) {
    .header-menu-btn {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .header-menu-btn {
        display: flex;
    }
}

.header-profile {
    display: flex;
    align-items: center;
}

.header-profile-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.logo-square {
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: #5B8BB5;
}

@media (max-width: 768px) {
    .logo-square {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
}

.home-text {
    color: white;
    font-size: 16px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .home-text {
        font-size: 14px;
    }
}

.home-dropdown-btn {
    background: rgba(91, 139, 181, 0.3);
    border: none;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
}

.home-dropdown-btn:hover {
    background: rgba(91, 139, 181, 0.4);
}

.home-dropdown-btn i:first-child {
    font-size: 14px;
}

.home-dropdown-btn i:last-child {
    font-size: 10px;
    margin-left: 2px;
}

.dropdown-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
}

.dropdown-btn:hover {
    opacity: 0.8;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #3A4A5C;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    min-width: 180px;
    margin-top: 8px;
    z-index: 1000;
    overflow: hidden;
}

.dropdown-menu a {
    display: block;
    padding: 10px 16px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: background 0.2s;
    font-size: 14px;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

@media (max-width: 768px) {
    .header-right {
        gap: 8px;
    }
}

.icon-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    font-size: 16px;
}

@media (max-width: 768px) {
    .icon-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.icon-btn-bell {
    position: relative;
}

.header-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #fff;
    color: #5B8BB5;
    font-size: 11px;
    font-weight: 700;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
}

.language-selector img {
    width: 24px;
    height: 18px;
    border-radius: 2px;
}

.language-menu {
    right: 0;
    left: auto;
}

.language-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
}
