/* User Dropdown Menu Styles - LilyBlock Online Shop Theme */
.user-dropdown {
    position: relative;
    z-index: 100;
}
.user-info-btn {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 18px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 140px;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.user-info-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}
.user-info-btn:hover::before {
    left: 100%;
}
.user-info-btn:hover {
    background: var(--primary-gradient);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}
.user-info-btn.active {
    background: var(--primary-gradient);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}
.user-welcome {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}
.user-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: capitalize;
}
.user-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    opacity: 0.7;
    color: var(--text-secondary);
}
.user-info-btn.active .user-arrow {
    transform: rotate(180deg);
    color: var(--text-primary);
}
.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: linear-gradient(145deg, var(--dark-bg), rgba(10, 10, 26, 0.95));
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 20px;
    padding: 8px 0;
    min-width: 220px;
    max-width: 280px;
    z-index: 2000;
    backdrop-filter: blur(25px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(102, 126, 234, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: none;
    animation: slideIn 0.3s ease;
}
@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.user-stats {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(102, 126, 234, 0.15);
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
}
.user-menu-items {
    display: flex;
    flex-direction: column;
}
.user-menu-item {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    text-align: left;
    width: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.user-menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(102, 126, 234, 0.1), 
        transparent
    );
    transition: left 0.4s ease;
}
.user-menu-item:hover::before {
    left: 100%;
}
.user-menu-item:hover {
    background: linear-gradient(90deg, 
        rgba(102, 126, 234, 0.1), 
        rgba(118, 75, 162, 0.1)
    );
    color: var(--text-primary);
    transform: translateX(8px);
    padding-left: 24px;
}
.user-menu-item:active {
    background: rgba(102, 126, 234, 0.2);
    transform: translateX(4px) scale(0.98);
}
.user-menu-item.logout {
    color: #ff6b6b;
    border-top: 1px solid rgba(255, 107, 107, 0.15);
    margin-top: 8px;
    font-weight: 700;
}
.user-menu-item.logout:hover {
    background: linear-gradient(90deg, 
        rgba(255, 107, 107, 0.1), 
        rgba(239, 68, 68, 0.1)
    );
    color: #ff5555;
    border-top-color: rgba(255, 107, 107, 0.3);
}
