/**
 * Fix CSS cho User Dropdown Menu
 * File này sẽ được include sau header.css để override các style
 */

/* Đảm bảo header không clip dropdown */
.header {
    overflow: visible !important;
}

.header-container {
    overflow: visible !important;
}

/* User menu wrapper */
.user-menu-wrapper {
    position: relative !important;
    display: inline-block !important;
    vertical-align: middle !important;
    z-index: 1000 !important;
}

/* Dropdown menu */
.user-dropdown-menu {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    left: auto !important;
    background: white !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.05) !important;
    min-width: 280px !important;
    max-width: 320px !important;
    width: max-content !important;
    max-height: calc(100vh - 120px) !important;
    z-index: 99999 !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    transform-origin: top right !important;
}

.user-menu-wrapper.active .user-dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
    pointer-events: auto !important;
}

/* Đảm bảo header actions không bị ảnh hưởng */
.header-actions {
    position: relative !important;
    overflow: visible !important;
}

/* Ẩn trên mobile */
@media (max-width: 1024px) {
    .user-menu-wrapper {
        display: none !important;
    }
    
    .user-dropdown-menu {
        display: none !important;
    }
}

/* Fix cho các trường hợp đặc biệt */
body {
    overflow-x: hidden;
}

.header-container > * {
    overflow: visible;
}























