.mega-menu {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;
    width: 100%;
    background-color: #ececec;
    left: 0%;
    right: 0;
    top: 100%;
}
.has-megamenu-elementor {
    position: static !important;
}
.has-megamenu-elementor:hover .mega-menu,
.has-megamenu-default:hover .mega-menu{
    visibility: visible;
    opacity: 1;
}
nav {
    position: relative;
}
li.menu-item > a > i {
    display: inline-block;
    margin-right: 2px;
    line-height: 1;
    position: relative;
}

/* Account Dropdown Styles */
.uc-account-dropdown {
    position: relative;
}

.uc-account-trigger {
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.uc-account-trigger:hover {
    opacity: 0.8;
}

.uc-account-trigger .uc-dropdown-arrow {
    transition: transform 0.2s ease;
}

.uc-account-trigger[aria-expanded="true"] .uc-dropdown-arrow {
    transform: rotate(180deg);
}

.uc-account-menu {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    min-width: 200px;
}

.uc-account-menu-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s ease;
    border: none;
    font-size: 14px;
}

.uc-account-menu-item:hover {
    background-color: #f8f9fa;
    text-decoration: none;
}

.uc-account-menu-item svg {
    width: 16px;
    height: 16px;
    margin-right: 12px;
    opacity: 0.7;
}

.uc-account-menu-divider {
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1);
    margin: 8px 0;
}

/* Dark mode styles */
.uc-dark .uc-account-menu {
    background: #374151;
    border-color: rgba(255, 255, 255, 0.1);
}

.uc-dark .uc-account-menu-item:hover {
    background-color: #4b5563;
}

.uc-dark .uc-account-menu-divider {
    background-color: rgba(255, 255, 255, 0.1);
}

.uc-account-trigger {
    position: relative;
}