
/* =====================================================
   PAIDGET UNIFIED PREMIUM UI
   Dark Purple + Animated Cyan/Magenta Glow
   ===================================================== */

:root {
    --pc-bg: #090116;
    --pc-bg-deep: #090116;
    --pc-ui-surface: rgba(15, 7, 29, .94);
    --pc-ui-border: rgba(190, 160, 235, .16);
    --pc-ui-text: #f7f5fb;
}

html {
    background: #090116 !important;
}

html,
body {
    background-color: #090116 !important;
}

body {
    background-image: none !important;
    background-attachment: scroll !important;
    position: relative;
}


/* Fixed dual glow — behind page content */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(
            ellipse 34% 72% at 18% 46%,
            rgba(0,190,245,.24) 0%,
            rgba(0,110,205,.11) 48%,
            transparent 85%
        ),
        radial-gradient(
            ellipse 34% 72% at 82% 48%,
            rgba(224,0,208,.23) 0%,
            rgba(130,0,180,.11) 48%,
            transparent 85%
        );
    animation: paidgetGlowMotion 28s ease-in-out infinite alternate;
}

@keyframes paidgetGlowMotion {
    0% { transform: translate3d(-1%,-1%,0) scale(1); }
    50% { transform: translate3d(1%,1%,0) scale(1.025); }
    100% { transform: translate3d(-.5%,-1%,0) scale(1.01); }
}

body > * {
    position: relative;
    z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
    body::before { animation: none !important; }
}

/* Unified page surfaces */
.main-content,
.content-wrapper,
.page-content {
    background-color: transparent !important;
    background-image: none !important;
}

/* Header and expanded sidebar */
nav.header,
nav.header .header-container,
.sidebar .sidebar-panel,
.sidebar .sidebar-panel > div {
    background: var(--pc-ui-surface) !important;
    background-image: none !important;
    box-shadow: none !important;
}

nav.header .header-container {
    border: 0 !important;
}

.sidebar .sidebar-panel {
    border-right: 1px solid var(--pc-ui-border) !important;
}

/* Desktop: no mini-sidebar */
@media (min-width: 1024px) {
    :root {
        --sidebar-panel-min-width: 0px !important;
    }

    .sidebar-panel-min {
        display: none !important;
    }

    body:not(.is-sidebar-open) .main-content {
        margin-left: 0 !important;
    }
}

/* Menu toggle */
.menu-toggle {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    border: 1px solid var(--pc-ui-border) !important;
    background: rgba(255,255,255,.055) !important;
    box-shadow: none !important;
    transition: background .2s ease, border-color .2s ease !important;
}

.menu-toggle:hover {
    background: rgba(255,255,255,.11) !important;
    border-color: rgba(190,160,235,.32) !important;
}

.menu-toggle:focus-visible {
    outline: 2px solid #a78bfa !important;
    outline-offset: 3px !important;
}

/* Network Manager inputs */
.paidget-network-manager .form-input {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 12px 14px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(190,160,235,.25) !important;
    background: rgba(9,1,22,.82) !important;
    color: #f7f5fb !important;
    font-size: 14px !important;
    line-height: 1.5;
    box-shadow: none !important;
}

.paidget-network-manager .form-input::placeholder {
    color: #a398b6 !important;
}

.paidget-network-manager .form-input:focus {
    outline: none !important;
    border-color: #a78bfa !important;
    box-shadow: 0 0 0 3px rgba(167,139,250,.14) !important;
}

.paidget-network-manager textarea.form-input {
    min-height: 105px;
    resize: vertical;
}

.paidget-network-manager select.form-input {
    padding-right: 36px !important;
}

.paidget-network-manager input[type="checkbox"] {
    accent-color: #a78bfa;
}

/* Mobile: three offerwall cards */
@media (max-width: 767px) {
    .paidget-new-grid {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 9px !important;
    }

    .paidget-network-manager .form-input {
        font-size: 16px !important;
    }
}


/* PAIDGET ADMIN DASHBOARD REFINEMENT V2 */

/* Remove the long capsule/glass appearance from the header */
nav.header {
    background: #090116 !important;
    background-image: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

nav.header .header-container {
    background: #090116 !important;
    background-image: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

nav.header .header-container > div {
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Clearly visible 40px menu button */
nav.header .menu-toggle {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 9px !important;
    border: 1px solid rgba(170,145,240,.65) !important;
    border-radius: 12px !important;
    background: rgba(75,48,120,.34) !important;
    color: #f7f5fb !important;
    opacity: 1 !important;
    box-shadow: 0 0 0 1px rgba(170,145,240,.08) !important;
}

nav.header .menu-toggle span {
    display: block !important;
    width: 100% !important;
    height: 2px !important;
    min-height: 2px !important;
    border-radius: 2px !important;
    background: #f7f5fb !important;
    opacity: 1 !important;
}

nav.header .menu-toggle:hover {
    background: rgba(110,75,165,.42) !important;
    border-color: #c4b5fd !important;
}

/* Match the toggle wrapper to the 40px button */
nav.header #menu_bar {
    width: 40px !important;
    height: 40px !important;
    flex-shrink: 0;
}

/* Consistent dashboard card surfaces */
.paidget-admin-dashboard .bg-dark-1,
.paidget-admin-dashboard .card {
    background: rgba(20,10,38,.88) !important;
    background-image: none !important;
    border: 1px solid rgba(190,160,235,.18) !important;
    border-radius: 14px !important;
    box-shadow: none !important;
}

/* Keep the two earnings icons dark and consistent */
.paidget-admin-dashboard .bg-dark-1 .bg-slate-200 {
    background: rgba(130,95,185,.20) !important;
    border: 1px solid rgba(190,160,235,.18) !important;
    color: #f7f5fb !important;
}

/* Preserve card readability */
.paidget-admin-dashboard .bg-dark-1,
.paidget-admin-dashboard .card {
    color: #f7f5fb;
}

/* PAIDGET ADMIN DASHBOARD REFINEMENT V2 END */




/* PAIDGET LEGACY OFFERWALL MATCH V9 */

/* Keep existing legacy grid; match new card dimensions */
.paidget-legacy-grid {
    overflow: visible !important;
}
.paidget-legacy-grid .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    gap: 9px !important;
    height: auto !important;
    transform: none !important;
}
.paidget-legacy-grid .paidget-wall-card {
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
}
.paidget-legacy-grid .csm-offer-card-main {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
.paidget-legacy-grid .csm-offer-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 110px !important;
    min-height: 110px !important;
    padding: 10px 6px !important;
    border-radius: 15px !important;
    background: rgba(125,125,125,.08) !important;
    background-image: none !important;
    border: 1px solid rgba(125,125,125,.16) !important;
    box-shadow: none !important;
    filter: none !important;
    text-decoration: none !important;
}

/* No decorative bars or white guards */
.paidget-legacy-grid .csm-offer-card::before,
.paidget-legacy-grid .csm-offer-card::after,
.paidget-legacy-grid .csm-offer-card-main::before,
.paidget-legacy-grid .csm-offer-card-main::after,
.paidget-legacy-grid .csm-offer-img::before,
.paidget-legacy-grid .csm-offer-img::after {
    content: none !important;
    display: none !important;
}
.paidget-legacy-grid .csm-offer-img,
.paidget-legacy-grid .csm-offer-card > div {
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    filter: none !important;
}
.paidget-legacy-grid .csm-offer-img {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 52px !important;
    margin: 0 0 9px !important;
    padding: 0 !important;
}
.paidget-legacy-grid .csm-offer-logo {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 105px !important;
    max-height: 50px !important;
    object-fit: contain !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    filter: none !important;
    padding: 0 !important;
}
.paidget-legacy-grid .csm-offer-h3 {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    color: #f7f5fb !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    text-align: center !important;
}
.paidget-legacy-grid .csm-offer-stars,
.paidget-legacy-grid .csm-offer-badge,
.paidget-legacy-grid .csm-offer-hover-content,
.paidget-legacy-grid .offer-card,
.paidget-legacy-grid .prev-btn2,
.paidget-legacy-grid .next-btn2 {
    display: none !important;
}
.paidget-legacy-grid .csm-offer-card:hover {
    box-shadow: none !important;
    background: rgba(125,125,125,.10) !important;
}
@media (min-width:768px) {
    .paidget-legacy-grid .swiper-wrapper {
        grid-template-columns: repeat(5,minmax(0,1fr)) !important;
    }
}
/* END PAIDGET LEGACY OFFERWALL MATCH V9 */


