/* Isolated viewport portal: this must never participate in dashboard layout. */
#nx-consent-root {
    all: initial !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483647 !important;
    display: block !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    pointer-events: none !important;
    transform: none !important;
    zoom: 1 !important;
    contain: none !important;
    isolation: isolate !important;
    font-family: Sora, Arial, sans-serif !important;
}

#nx-consent-root,
#nx-consent-root *,
#nx-consent-root *::before,
#nx-consent-root *::after {
    box-sizing: border-box !important;
}

#nx-consent-root .nx-consent-banner {
    position: absolute !important;
    inset: auto 16px max(16px, env(safe-area-inset-bottom)) 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: auto !important;
    max-width: 1180px !important;
    min-height: 70px !important;
    margin: 0 auto !important;
    padding: 14px 18px !important;
    gap: 18px !important;
    border: 1px solid rgba(248, 231, 28, .35) !important;
    border-radius: 14px !important;
    background: rgba(12, 12, 12, .98) !important;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .45) !important;
    color: #fff !important;
    font: 500 13px/1.5 Sora, Arial, sans-serif !important;
    pointer-events: auto !important;
}

#nx-consent-root .nx-consent-banner-copy {
    display: grid !important;
    min-width: 0 !important;
    max-width: 760px !important;
    gap: 3px !important;
    margin: 0 !important;
}

#nx-consent-root .nx-consent-banner-title { color: #f8e71c !important; font-size: 14px !important; font-weight: 700 !important; }
#nx-consent-root .nx-consent-banner-message { color: #d1d5db !important; }
#nx-consent-root .nx-consent-banner-actions,
#nx-consent-root .nx-consent-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex: 0 0 auto !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 !important;
}

#nx-consent-root .nx-consent-primary,
#nx-consent-root .nx-consent-secondary,
#nx-consent-root .nx-consent-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 34px !important;
    margin: 0 !important;
    padding: 8px 12px !important;
    border: 1px solid transparent !important;
    border-radius: 8px !important;
    font: 600 12px/1 Sora, Arial, sans-serif !important;
    cursor: pointer !important;
    text-decoration: none !important;
    text-transform: none !important;
    white-space: nowrap !important;
}

#nx-consent-root .nx-consent-primary { background: #f8e71c !important; color: #111 !important; }
#nx-consent-root .nx-consent-secondary { border-color: #525252 !important; background: #1c1c1c !important; color: #fff !important; }
#nx-consent-root .nx-consent-link { padding-inline: 4px !important; background: transparent !important; color: #f8e71c !important; text-decoration: underline !important; }
#nx-consent-root .nx-consent-primary:hover { background: #fff36a !important; }
#nx-consent-root .nx-consent-secondary:hover { background: #2b2b2b !important; }

#nx-consent-root .nx-consent-overlay {
    position: absolute !important;
    inset: 0 !important;
    z-index: 3 !important;
    display: grid !important;
    place-items: center !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 16px !important;
    background: rgba(0, 0, 0, .68) !important;
    pointer-events: auto !important;
}

#nx-consent-root .nx-consent-card {
    width: min(520px, 100%) !important;
    margin: 0 !important;
    padding: 22px !important;
    border: 1px solid rgba(248, 231, 28, .38) !important;
    border-radius: 16px !important;
    background: #111 !important;
    color: #fff !important;
    box-shadow: 0 20px 70px rgba(0, 0, 0, .55) !important;
    font: 500 13px/1.5 Sora, Arial, sans-serif !important;
}

#nx-consent-root .nx-consent-title { margin: 0 0 6px !important; color: #f8e71c !important; font-size: 20px !important; font-weight: 700 !important; }
#nx-consent-root .nx-consent-copy { margin: 0 0 16px !important; color: #d1d5db !important; }
#nx-consent-root .nx-consent-rows { display: grid !important; gap: 10px !important; margin: 0 0 16px !important; }
#nx-consent-root .nx-consent-row { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 16px !important; margin: 0 !important; padding: 12px !important; border: 1px solid #2f2f2f !important; border-radius: 10px !important; background: #181818 !important; }
#nx-consent-root .nx-consent-row-copy { color: #f3f4f6 !important; }
#nx-consent-root .nx-consent-state { color: #9ca3af !important; font-size: 11px !important; }
#nx-consent-root .nx-consent-row input { width: 18px !important; height: 18px !important; margin: 0 !important; accent-color: #f8e71c !important; }
#nx-consent-root .nx-consent-details { display: inline-block !important; margin: 0 0 16px !important; color: #f8e71c !important; text-decoration: underline !important; }
#nx-consent-root .nx-consent-card .nx-consent-actions { justify-content: flex-end !important; }
#nx-consent-root button:focus-visible,
#nx-consent-root a:focus-visible { outline: 2px solid #fff !important; outline-offset: 2px !important; }

@media (max-width: 720px) {
    #nx-consent-root .nx-consent-banner {
        inset: auto 10px max(10px, env(safe-area-inset-bottom)) 10px !important;
        display: grid !important;
        gap: 12px !important;
        padding: 14px !important;
    }
    #nx-consent-root .nx-consent-banner-actions { justify-content: flex-start !important; }
    #nx-consent-root .nx-consent-card { padding: 18px !important; }
}
