/* 1. NUCLEAR RESET: Theme ko sabai hawa CSS ra pseudo-elements lai force-kill garne */
.adm-toggle-wrapper,
.adm-toggle-wrapper::before,
.adm-toggle-wrapper::after {
    all: initial !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* 2. Wrapper Placement */
.adm-toggle-wrapper {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 50px !important;
    height: 50px !important;
    cursor: pointer !important;
    z-index: 999999 !important;
    display: block !important;
}

/* 3. Absolute Positioned Icons inside Wrapper */
.adm-toggle-wrapper .adm-icon {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 36px !important;
    height: 36px !important;
    margin-top: -18px !important;
    margin-left: -18px !important;
    color: var(--icon-color, #ff0033) !important;
    filter: drop-shadow(0px 0px 8px var(--icon-color, #ff0033)) !important;
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.4s ease !important;
    pointer-events: none !important;
    background: transparent !important;
}

/* 4. Light Mode Visibility */
html[data-theme="light"] .adm-sun {
    opacity: 1 !important;
    transform: rotate(0deg) scale(1) !important;
}
html[data-theme="light"] .adm-moon {
    opacity: 0 !important;
    transform: rotate(90deg) scale(0) !important;
}

/* 5. Dark Mode Visibility */
html[data-theme="dark"] .adm-sun {
    opacity: 0 !important;
    transform: rotate(-90deg) scale(0) !important;
}
html[data-theme="dark"] .adm-moon {
    opacity: 1 !important;
    transform: rotate(0deg) scale(1) !important;
}

/* 6. Hover Animation */
.adm-toggle-wrapper:hover .adm-icon {
    transform: scale(1.15) !important;
}