/* ================= GLOBAL ISOLATION FIX ================= */
#we2g-edge-menu,
#we2g-edge-menu * {
    box-sizing: border-box !important;
    font-family: Arial, sans-serif !important;
}

/* ================= HANDLE ================= */
#we2g-edge-handle {
    all: unset;
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 20px;
    height: 50px;
    background: #ed1d27;
    border-radius: 50px 0 0 50px;
    cursor: pointer;
    z-index: 9999;
    box-shadow: -3px 0 10px rgba(0,0,0,0.3);
    display: block;

    animation: widthPulse 2s ease-in-out infinite;
}

@keyframes widthPulse {
    0%, 100% { width: 20px; }
    50% { width: 24px; }
}

#we2g-edge-handle:hover {
    width: 26px;
    background: #bd141b;
}

/* ================= ARROW ================= */
#we2g-edge-handle::after {
    content: "\276E";
    position: absolute;
    left: 7px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 18px;
    opacity: 0.8;
}

/* ================= MENU PANEL ================= */
#we2g-edge-menu {
    all: unset;
    position: fixed;
    top: 50%;
    right: 60px;
    transform: translateY(-50%) scaleX(0);
    transform-origin: right;
    width: 70px !important;
    opacity: 0;
    padding: 10px;
    background: rgba(255,255,255,0.97);
    border-radius: 50px;
    box-shadow: -10px 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    display: block;
    z-index: 1000;
}

#we2g-edge-menu.active {
    transform: translateY(-50%) scaleX(1);
    opacity: 1;
}

/* ================= LINKS ================= */
#we2g-edge-menu a {
    all: unset;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    height: 50px !important;
    width: 50px !important;

    margin: 6px auto;
    border-radius: 50%;
    cursor: pointer;

    color: #111;
    position: relative;
    transition: 0.2s;
}

#we2g-edge-menu a:hover {
    background: #d3d3d3;
}

#we2g-edge-menu a.active {
    background: #111;
    color: #fff;
}

/* ================= ICON ================= */
.we2g-icon {
    font-size: 18px;
    pointer-events: none;
}

/* ================= TEXT HIDE ================= */
.we2g-text {
    display: none !important;
}

/* ================= TOOLTIP ================= */
#we2g-edge-menu a::after {
    content: attr(data-title);
    position: absolute;
    right: 65px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);

    background: #111;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;

    opacity: 0;
    pointer-events: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);

    transition: 0.2s;
}

/* hover tooltip show */
#we2g-edge-menu a:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
    #we2g-edge-handle {
        display: none;
    }
}