    /* ============================================================
   SENIORE SURVEY POPUP
   Premium Dark / Glass UI
   Font: Shabnam
   Brand: #F28310
   ============================================================ */


/* ============================================================
   VARIABLES + OVERLAY
   ============================================================ */

.sen-overlay {
    --sen-primary: #F28310;
    --sen-primary-2: #FF9D3C;
    --sen-primary-dark: #C95F00;

    --sen-bg: #080808;
    --sen-bg-2: #101010;
    --sen-card: #151515;

    --sen-text: #FFFFFF;
    --sen-text-soft: #D6D6D6;
    --sen-muted: #858585;

    --sen-border: rgba(255,255,255,.09);

    --sen-radius: 24px;

    --sen-shadow:
        0 35px 100px rgba(0,0,0,.75),
        0 0 80px rgba(242,131,16,.08);

    position: fixed;
    inset: 0;
    z-index: 99998;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(242,131,16,.08),
            transparent 38%
        ),
        rgba(0,0,0,.78);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    font-family: 'Shabnam', Tahoma, sans-serif;
    direction: rtl;

    transition:
        background .35s ease,
        backdrop-filter .35s ease;
}


.sen-overlay.sen-show {
    display: flex;
    animation: senFadeIn .35s ease;
}


@keyframes senFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* ============================================================
   POPUP
   ============================================================ */

.sen-popup {
    position: relative;

    width: 100%;
    max-width: 480px;
    max-height: calc(100vh - 40px);

    display: flex;
    flex-direction: column;

    background:
        linear-gradient(
            145deg,
            rgba(27,27,27,.98),
            rgba(10,10,10,.98)
        );

    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--sen-radius);

    box-shadow: var(--sen-shadow);

    overflow: hidden;
    isolation: isolate;

    direction: rtl;

    transform: translateY(30px) scale(.94);
    opacity: 0;

    transition:
        transform .55s cubic-bezier(.16,1,.3,1),
        opacity .35s ease;
}


.sen-overlay.sen-show .sen-popup {
    transform: translateY(0) scale(1);
    opacity: 1;
}


/* ============================================================
   CLOSE BUTTON
   ============================================================ */

.sen-popup .sen-close#sen-close {
    position: absolute !important;

    top: 16px !important;
    left: 16px !important;

    z-index: 50 !important;

    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    box-sizing: border-box !important;

    background: rgba(255,255,255,.055) !important;
    background-color: rgba(255,255,255,.055) !important;

    border: 1px solid rgba(255,255,255,.11) !important;
    border-radius: 10px !important;

    color: rgba(255,255,255,.62) !important;

    font-size: 0 !important;
    line-height: 0 !important;

    cursor: pointer !important;

    appearance: none !important;
    -webkit-appearance: none !important;

    box-shadow: none !important;

    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;

    transition:
        color .25s ease,
        background-color .25s ease,
        border-color .25s ease,
        transform .25s cubic-bezier(.16,1,.3,1) !important;

    -webkit-tap-highlight-color: transparent !important;
}


.sen-popup .sen-close#sen-close svg {
    width: 18px !important;
    height: 18px !important;

    display: block !important;

    margin: 0 !important;
    padding: 0 !important;

    color: currentColor !important;
    stroke: currentColor !important;

    pointer-events: none !important;

    transition:
        transform .25s cubic-bezier(.16,1,.3,1) !important;
}


.sen-popup .sen-close#sen-close:hover {
    background: rgba(242,131,16,.12) !important;
    background-color: rgba(242,131,16,.12) !important;

    border-color: rgba(242,131,16,.38) !important;

    color: #F28310 !important;

    transform: translateY(-1px) !important;
}


.sen-popup .sen-close#sen-close:hover svg {
    transform: rotate(90deg) !important;
}


.sen-popup .sen-close#sen-close:active {
    transform: scale(.94) !important;
}


.sen-popup .sen-close#sen-close:focus {
    outline: none !important;
}


.sen-popup .sen-close#sen-close:focus-visible {
    outline: 2px solid rgba(242,131,16,.4) !important;
    outline-offset: 3px !important;
}


/* ============================================================
   PROGRESS
   ============================================================ */

.sen-progress {
    width: 100%;
    height: 4px;

    flex-shrink: 0;

    background: rgba(255,255,255,.06);

    overflow: hidden;
}


.sen-progress-bar {
    width: 0%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            #C95F00,
            #F28310,
            #FFB15C
        );

    border-radius: 4px;

    box-shadow:
        0 0 15px rgba(242,131,16,.35);

    transition:
        width .4s cubic-bezier(.4,0,.2,1);
}


/* ============================================================
   BODY
   ============================================================ */

.sen-body {
    flex: 1;

    padding: 30px 28px 12px;

    overflow-y: auto;

    -webkit-overflow-scrolling: touch;

    scrollbar-width: thin;
    scrollbar-color:
        rgba(242,131,16,.5)
        transparent;
}


.sen-body::-webkit-scrollbar {
    width: 5px;
}


.sen-body::-webkit-scrollbar-track {
    background: transparent;
}


.sen-body::-webkit-scrollbar-thumb {
    background: rgba(242,131,16,.35);
    border-radius: 10px;
}


.sen-body::-webkit-scrollbar-thumb:hover {
    background: rgba(242,131,16,.6);
}


/* ============================================================
   STEPS
   ============================================================ */

.sen-step {
    display: none;

    animation:
        senStepIn .4s ease;
}


.sen-step.sen-active {
    display: block;
}


@keyframes senStepIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


.sen-step.sen-back-anim {
    animation:
        senStepInBack .4s ease;
}


@keyframes senStepInBack {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* ============================================================
   WELCOME
   ============================================================ */

.sen-welcome {
    text-align: center;
    padding: 8px 6px;
}


.sen-welcome-icon {
    width: 76px;
    height: 76px;

    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #F28310,
            #C95F00
        );

    color: #fff;

    box-shadow:
        0 12px 35px rgba(242,131,16,.22),
        0 0 35px rgba(242,131,16,.12);

    animation:
        senPulse 2.4s ease-in-out infinite;
}


@keyframes senPulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.045);
    }
}


.sen-welcome-icon svg {
    width: 36px;
    height: 36px;
}


.sen-welcome h2 {
    margin: 0 0 12px;

    color: #FFFFFF;

    font-size: 20px;
    font-weight: 700;

    line-height: 1.5;
}


.sen-welcome p {
    margin: 0;

    color: #A3A3A3;

    font-size: 14px;
    line-height: 2;

    white-space: pre-line;
}


/* ============================================================
   QUESTION TITLE
   ============================================================ */

.sen-q-title {
    margin: 0 0 5px;

    color: #FFFFFF;

    font-size: 16px;
    font-weight: 700;

    line-height: 1.7;
}


.sen-q-sub {
    margin: 0 0 18px;

    color: #858585;

    font-size: 12.5px;
    line-height: 1.7;
}


/* ============================================================
   EMOJI GRID
   ============================================================ */

.sen-emoji-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0,1fr));

    gap: 10px;

    margin: 18px 0;
}


/* ============================================================
   EMOJI BUTTON
   ============================================================ */

.sen-popup button.sen-emoji-btn {
    position: relative !important;

    width: 100% !important;
    height: 112px !important;
    min-width: 0 !important;
    min-height: 112px !important;

    margin: 0 !important;
    padding: 12px 6px !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 8px !important;

    box-sizing: border-box !important;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.025)
        ) !important;

    background-color:
        rgba(255,255,255,.04) !important;

    border: 1px solid
        rgba(255,255,255,.09) !important;

    border-radius: 16px !important;

    color: #FFFFFF !important;

    font-family:
        'Shabnam',
        Tahoma,
        sans-serif !important;

    font-size: 13px !important;
    font-weight: 600 !important;

    line-height: 1.4 !important;

    text-align: center !important;

    cursor: pointer !important;

    appearance: none !important;
    -webkit-appearance: none !important;

    outline: none !important;

    box-shadow:
        inset 0 1px 0
        rgba(255,255,255,.025) !important;

    overflow: hidden !important;

    transition:
        transform .28s cubic-bezier(.16,1,.3,1),
        background .25s ease,
        border-color .25s ease,
        box-shadow .25s ease !important;

    -webkit-tap-highlight-color:
        transparent !important;

    user-select: none !important;
    -webkit-user-select: none !important;
}


/* Shine */

.sen-popup button.sen-emoji-btn::before {
    content: "";

    position: absolute;

    top: -100%;
    left: -40%;

    width: 60%;
    height: 300%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.055),
            transparent
        );

    transform: rotate(20deg);

    pointer-events: none;

    transition:
        left .6s ease;
}


.sen-popup button.sen-emoji-btn:hover::before {
    left: 120%;
}


/* ============================================================
   EMOJI
   ============================================================ */

.sen-emoji-btn .sen-emoji {
    width: 52px;
    height: 52px;

    margin: 0;
    padding: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 34px;
    line-height: 1;

    transform: scale(1);

    transition:
        transform .28s
        cubic-bezier(.16,1,.3,1);
}


.sen-emoji-btn .sen-emoji-label {
    display: block;

    margin: 0;
    padding: 0;

    color: #999999;

    font-family:
        'Shabnam',
        Tahoma,
        sans-serif;

    font-size: 12px;
    font-weight: 600;

    line-height: 1.4;

    transition:
        color .25s ease;
}


/* ============================================================
   EMOJI HOVER
   ============================================================ */

.sen-popup button.sen-emoji-btn:hover {
    background:
        linear-gradient(
            145deg,
            rgba(242,131,16,.10),
            rgba(242,131,16,.035)
        ) !important;

    border-color:
        rgba(242,131,16,.35) !important;

    transform:
        translateY(-3px) !important;

    box-shadow:
        0 12px 30px rgba(0,0,0,.3),
        0 0 22px rgba(242,131,16,.06) !important;
}


.sen-popup button.sen-emoji-btn:hover
.sen-emoji {
    transform:
        scale(1.1);
}


.sen-popup button.sen-emoji-btn:hover
.sen-emoji-label {
    color: #FFFFFF;
}


/* ============================================================
   EMOJI SELECTED
   IMPORTANT:
   JS uses .sen-selected
   ============================================================ */

.sen-popup button.sen-emoji-btn.sen-selected {
    background:
        linear-gradient(
            145deg,
            rgba(242,131,16,.22),
            rgba(242,131,16,.07)
        ) !important;

    background-color:
        rgba(242,131,16,.12) !important;

    border-color:
        rgba(242,131,16,.75) !important;

    transform:
        translateY(-2px) !important;

    box-shadow:
        0 0 0 1px rgba(242,131,16,.08),
        0 12px 32px rgba(242,131,16,.14),
        inset 0 1px 0 rgba(255,190,120,.12) !important;
}


.sen-popup button.sen-emoji-btn.sen-selected
.sen-emoji {
    transform:
        scale(1.13);
}


.sen-popup button.sen-emoji-btn.sen-selected
.sen-emoji-label {
    color: #F28310 !important;
    font-weight: 700;
}


/* ============================================================
   SLIDER
   ============================================================ */

.sen-slider-wrap {
    padding: 8px 4px 0;
}


.sen-slider-labels {
    display: flex;
    justify-content: space-between;

    margin-bottom: 12px;

    color: #858585;

    font-size: 12px;
}


.sen-slider-value {
    margin: 10px 0 4px;

    color: #F28310;

    font-size: 30px;
    font-weight: 800;

    text-align: center;

    direction: ltr;

    text-shadow:
        0 0 20px rgba(242,131,16,.2);
}


.sen-slider-value small {
    color: #858585;

    font-size: 14px;
    font-weight: 600;
}


.sen-slider {
    width: 100%;
    height: 8px;

    margin: 8px 0;

    border: none;
    border-radius: 8px;

    background:
        linear-gradient(
            90deg,
            #5A2D0A,
            #F28310
        );

    outline: none;

    appearance: none;
    -webkit-appearance: none;
}


.sen-slider::-webkit-slider-thumb {
    width: 28px;
    height: 28px;

    border-radius: 50%;

    background: #151515;

    border: 3px solid #F28310;

    cursor: pointer;

    box-shadow:
        0 0 0 4px rgba(242,131,16,.12),
        0 5px 18px rgba(0,0,0,.4);

    appearance: none;
    -webkit-appearance: none;

    transition:
        transform .15s ease;
}


.sen-slider::-webkit-slider-thumb:hover {
    transform: scale(1.12);
}


.sen-slider::-moz-range-thumb {
    width: 28px;
    height: 28px;

    border-radius: 50%;

    background: #151515;

    border: 3px solid #F28310;

    cursor: pointer;

    box-shadow:
        0 0 0 4px rgba(242,131,16,.12),
        0 5px 18px rgba(0,0,0,.4);
}


/* ============================================================
   NPS
   ============================================================ */

.sen-nps-grid {
    display: grid;

    grid-template-columns:
        repeat(11, minmax(0,1fr));

    gap: 4px;

    margin: 16px 0 8px;
}


.sen-popup button.sen-nps-btn {
    aspect-ratio: 1 / 1.4;

    width: 100% !important;

    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #181818 !important;

    border: 1px solid
        rgba(255,255,255,.07) !important;

    border-radius: 8px !important;

    color: #999999 !important;

    font-family:
        'Shabnam',
        Tahoma,
        sans-serif !important;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;

    transition:
        all .18s ease !important;
}


.sen-nps-btn:hover {
    transform: translateY(-2px);
    border-color:
        rgba(255,255,255,.18) !important;
}


.sen-nps-btn.sen-selected {
    color: #FFFFFF !important;

    transform:
        translateY(-3px);

    box-shadow:
        0 8px 20px rgba(0,0,0,.3);
}


.sen-nps-btn[data-group="detractor"].sen-selected {
    background: #EF4444 !important;
    border-color: #EF4444 !important;
}


.sen-nps-btn[data-group="passive"].sen-selected {
    background: #F59E0B !important;
    border-color: #F59E0B !important;
}


.sen-nps-btn[data-group="promoter"].sen-selected {
    background: #10B981 !important;
    border-color: #10B981 !important;
}


.sen-nps-legend {
    display: flex;
    justify-content: space-between;

    margin-top: 8px;

    color: #777777;

    font-size: 11px;
}


.sen-nps-legend span:first-child {
    color: #EF4444;
}


.sen-nps-legend span:nth-child(2) {
    color: #F59E0B;
}


.sen-nps-legend span:last-child {
    color: #10B981;
}


/* ============================================================
   CHIPS
   Default = inactive
   .sen-selected = active
   ============================================================ */

.sen-popup .sen-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0;
    width: 100%;
}

/* ------------------------------------------------------------
   CHIP - DEFAULT
   ------------------------------------------------------------ */

.sen-popup button.sen-chip-btn {
    position: relative !important;

    width: auto !important;
    min-width: 0 !important;
    min-height: 44px !important;
    height: 44px !important;

    margin: 0 !important;
    padding: 0 16px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;

    box-sizing: border-box !important;

    background: rgba(255,255,255,.035) !important;
    background-color: rgba(255,255,255,.035) !important;

    border: 1px solid rgba(255,255,255,.10) !important;
    border-radius: 12px !important;

    color: #A5A5A5 !important;

    font-family: 'Shabnam', Tahoma, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1 !important;

    cursor: pointer !important;
    text-align: center !important;

    appearance: none !important;
    -webkit-appearance: none !important;

    outline: none !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.025) !important;

    transition:
        transform .25s cubic-bezier(.16,1,.3,1),
        background .25s ease,
        border-color .25s ease,
        color .25s ease,
        box-shadow .25s ease !important;

    user-select: none !important;
    -webkit-user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

/* ------------------------------------------------------------
   CHIP CHECK ICON
   HTML contains the SVG directly.
   Hidden until .sen-selected is present.
   ------------------------------------------------------------ */

.sen-popup button.sen-chip-btn > svg {
    width: 16px !important;
    height: 16px !important;

    flex: 0 0 16px !important;

    display: block !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #F28310 !important;
    stroke: currentColor !important;

    opacity: 0 !important;
    visibility: hidden !important;
    transform: scale(.55) !important;

    pointer-events: none !important;

    transition:
        opacity .2s ease,
        visibility .2s ease,
        transform .25s cubic-bezier(.16,1,.3,1) !important;
}

/* ------------------------------------------------------------
   CHIP HOVER
   ------------------------------------------------------------ */

.sen-popup button.sen-chip-btn:hover {
    color: #FFFFFF !important;

    background:
        linear-gradient(
            135deg,
            rgba(242,131,16,.10),
            rgba(242,131,16,.035)
        ) !important;

    background-color: rgba(242,131,16,.06) !important;

    border-color: rgba(242,131,16,.38) !important;

    transform: translateY(-2px) !important;

    box-shadow:
        0 8px 22px rgba(0,0,0,.22),
        0 0 18px rgba(242,131,16,.05) !important;
}

/* ------------------------------------------------------------
   CHIP ACTIVE / SELECTED
   JS should toggle .sen-selected
   ------------------------------------------------------------ */

.sen-popup button.sen-chip-btn.sen-selected {
    color: #FFFFFF !important;

    background:
        linear-gradient(
            135deg,
            rgba(242,131,16,.24),
            rgba(242,131,16,.08)
        ) !important;

    background-color: rgba(242,131,16,.12) !important;

    border-color: rgba(242,131,16,.72) !important;

    transform: translateY(-1px) !important;

    box-shadow:
        0 0 0 1px rgba(242,131,16,.08),
        0 9px 26px rgba(242,131,16,.14),
        inset 0 1px 0 rgba(255,190,120,.10) !important;
}

/* Active check */
.sen-popup button.sen-chip-btn.sen-selected > svg {
    opacity: 1 !important;
    visibility: visible !important;
    transform: scale(1) !important;
    color: #F28310 !important;
}

/* Active text */
.sen-popup button.sen-chip-btn.sen-selected > span {
    color: #FFFFFF !important;
    font-weight: 700 !important;
}

/* Click */
.sen-popup button.sen-chip-btn:active {
    transform: scale(.97) !important;
}

.sen-popup button.sen-chip-btn.sen-selected:active {
    transform: scale(.97) !important;
}

/* Keyboard focus */
.sen-popup button.sen-chip-btn:focus {
    outline: none !important;
}

.sen-popup button.sen-chip-btn:focus-visible {
    outline: 2px solid rgba(242,131,16,.35) !important;
    outline-offset: 3px !important;
}

/* ------------------------------------------------------------
   MOBILE CHIPS
   ------------------------------------------------------------ */

@media (max-width: 480px) {

    .sen-popup .sen-chips {
        gap: 8px;
        margin: 12px 0;
    }

    .sen-popup button.sen-chip-btn {
        min-height: 42px !important;
        height: 42px !important;

        padding: 0 13px !important;

        border-radius: 11px !important;

        font-size: 12px !important;
    }

    .sen-popup button.sen-chip-btn > svg {
        width: 15px !important;
        height: 15px !important;
        flex-basis: 15px !important;
    }
}

/* ============================================================
   TEXTAREA
   ============================================================ */

.sen-textarea {
    width: 100%;
    min-height: 110px;

    margin: 0;
    padding: 14px 16px;

    box-sizing: border-box;

    background: #111111;

    border: 1px solid
        rgba(255,255,255,.09);

    border-radius: 14px;

    color: #FFFFFF;

    font-family:
        'Shabnam',
        Tahoma,
        sans-serif;

    font-size: 14px;
    line-height: 1.9;

    resize: vertical;

    outline: none;

    transition:
        border-color .2s ease,
        background-color .2s ease,
        box-shadow .2s ease;
}


.sen-textarea:focus {
    border-color:
        rgba(242,131,16,.55);

    background: #151515;

    box-shadow:
        0 0 0 3px
        rgba(242,131,16,.08);
}


.sen-textarea::placeholder {
    color: #555555;
}


/* ============================================================
   THANKS
   ============================================================ */

.sen-thanks {
    text-align: center;

    padding: 12px 6px;
}


.sen-thanks-icon {
    width: 84px;
    height: 84px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #10B981,
            #14B8A6
        );

    color: #FFFFFF;

    box-shadow:
        0 16px 40px rgba(16,185,129,.18);

    animation:
        senThanksPop
        .6s
        cubic-bezier(.34,1.56,.64,1);
}


@keyframes senThanksPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    60% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}


.sen-thanks-icon svg {
    width: 44px;
    height: 44px;
}


.sen-thanks h2 {
    margin: 0 0 12px;

    color: #FFFFFF;

    font-size: 20px;
    font-weight: 700;
}


.sen-thanks p {
    margin: 0;

    color: #999999;

    font-size: 14px;
    line-height: 2;

    white-space: pre-line;
}


/* ============================================================
   ACTIONS
   ============================================================ */

.sen-actions {
    display: flex;

    gap: 10px;

    padding: 14px 24px 12px;

    flex-shrink: 0;

    background:
        rgba(8,8,8,.92);

    border-top:
        1px solid rgba(255,255,255,.07);
}


/* ============================================================
   ALL SURVEY BUTTONS
   Prevent external button CSS
   ============================================================ */

.sen-popup button.sen-btn {
    position: relative !important;

    height: 52px !important;
    min-height: 52px !important;

    margin: 0 !important;

    padding: 0 22px !important;

    box-sizing: border-box !important;

    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    gap: 8px !important;

    border-radius: 14px !important;

    font-family:
        'Shabnam',
        Tahoma,
        sans-serif !important;

    font-size: 13.5px !important;
    font-weight: 700 !important;

    line-height: 1 !important;

    cursor: pointer !important;

    text-align: center !important;

    appearance: none !important;
    -webkit-appearance: none !important;

    outline: none !important;

    user-select: none !important;
    -webkit-user-select: none !important;

    transition:
        transform .25s cubic-bezier(.16,1,.3,1),
        background .25s ease,
        border-color .25s ease,
        box-shadow .25s ease,
        color .25s ease !important;
}


/* ============================================================
   PRIMARY BUTTON
   ============================================================ */

.sen-popup button.sen-btn-primary {
    flex: 1 !important;

    color: #080808 !important;

    background:
        linear-gradient(
            135deg,
            #FFBD73 0%,
            #F28310 50%,
            #E66F00 100%
        ) !important;

    border: 1px solid
        rgba(255,190,120,.35) !important;

    box-shadow:
        0 8px 25px rgba(242,131,16,.20),
        inset 0 1px 0
        rgba(255,255,255,.28) !important;

    overflow: hidden !important;
}


.sen-popup button.sen-btn-primary:hover {
    transform:
        translateY(-2px) !important;

    box-shadow:
        0 13px 32px rgba(242,131,16,.30),
        inset 0 1px 0
        rgba(255,255,255,.35) !important;

    filter: brightness(1.05);
}


.sen-popup button.sen-btn-primary:active {
    transform:
        scale(.98) !important;
}


/* Shine */

.sen-popup button.sen-btn-primary::before {
    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 70%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.3),
            transparent
        );

    transform: skewX(-20deg);

    pointer-events: none;

    transition:
        left .6s ease;
}


.sen-popup button.sen-btn-primary:hover::before {
    left: 140%;
}


/* ============================================================
   SKIP / GHOST BUTTON
   ============================================================ */

.sen-popup button.sen-btn-ghost {
    flex:
        0 0 auto !important;

    min-width:
        92px !important;

    color:
        #8F8F8F !important;

    background:
        transparent !important;

    background-color:
        transparent !important;

    border:
        1px solid rgba(255,255,255,.10) !important;

    box-shadow:
        none !important;

    font-weight:
        600 !important;
}


.sen-popup button.sen-btn-ghost:hover {
    background:
        rgba(255,255,255,.055) !important;

    background-color:
        rgba(255,255,255,.055) !important;

    border-color:
        rgba(255,255,255,.18) !important;

    color:
        #E5E5E5 !important;

    transform:
        translateY(-1px) !important;
}


.sen-popup button.sen-btn-ghost:active {
    transform:
        scale(.96) !important;
}


/* ============================================================
   BUTTON STATES
   ============================================================ */

.sen-btn.sen-hidden {
    display: none !important;
}


.sen-btn.sen-loading {
    opacity: .65;

    pointer-events: none;
}


.sen-popup button.sen-btn:focus {
    outline: none !important;
}


.sen-popup button.sen-btn:focus-visible {
    outline:
        2px solid rgba(242,131,16,.35) !important;

    outline-offset:
        3px !important;
}


/* ============================================================
   FOOTER BRAND
   ============================================================ */

.sen-footer-brand {
    flex-shrink: 0;

    padding: 8px;

    background: #080808;

    border-top:
        1px solid rgba(255,255,255,.055);

    color: #666666;

    font-size: 11px;

    text-align: center;
}


.sen-footer-brand strong {
    color: #F28310;

    font-weight: 700;
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 480px) {

    .sen-overlay {
        padding: 0;

        align-items: flex-end;
    }


    .sen-popup {
        max-width: 100%;
        max-height: 92vh;

        border-radius:
            24px 24px 0 0;

        transform:
            translateY(100%);
    }


    .sen-overlay.sen-show .sen-popup {
        transform:
            translateY(0);
    }


    .sen-body {
        padding:
            22px 18px 8px;
    }


    .sen-welcome h2 {
        font-size: 18px;
    }


    .sen-welcome p {
        font-size: 13px;
        line-height: 1.9;
    }


    .sen-q-title {
        font-size: 15px;
    }


    /* --------------------------------------------------------
       EMOJI MOBILE
       -------------------------------------------------------- */

    .sen-emoji-grid {
        grid-template-columns:
            repeat(2, minmax(0,1fr));

        gap: 9px;

        margin: 16px 0;
    }


    .sen-popup button.sen-emoji-btn {
        height: 96px !important;
        min-height: 96px !important;

        padding: 10px 8px !important;

        border-radius: 14px !important;

        gap: 5px !important;
    }


    .sen-emoji-btn .sen-emoji {
        width: 46px;
        height: 46px;

        font-size: 30px;
    }


    .sen-emoji-btn .sen-emoji-label {
        font-size: 11.5px;
    }


    /* --------------------------------------------------------
       NPS
       -------------------------------------------------------- */

    .sen-nps-grid {
        gap: 3px;
    }


    .sen-nps-btn {
        font-size: 11px;
        border-radius: 7px;
        aspect-ratio: 1 / 1.45;
    }


    /* --------------------------------------------------------
       SLIDER
       -------------------------------------------------------- */

    .sen-slider-value {
        font-size: 26px;
    }


    /* --------------------------------------------------------
       CHIPS
       -------------------------------------------------------- */

    .sen-chip-btn {
        font-size: 12.5px;
        padding: 10px 14px;
    }


    /* --------------------------------------------------------
       TEXTAREA
       -------------------------------------------------------- */

    .sen-textarea {
        min-height: 130px;

        font-size: 15px;
    }


    /* --------------------------------------------------------
       ACTIONS
       -------------------------------------------------------- */

    .sen-actions {
        padding:
            12px 18px;

        padding-bottom:
            calc(
                12px +
                env(
                    safe-area-inset-bottom,
                    0px
                )
            );
    }


    .sen-popup button.sen-btn {
        height: 50px !important;
        min-height: 50px !important;

        padding:
            0 16px !important;

        border-radius:
            13px !important;

        font-size:
            13.5px !important;
    }


    .sen-popup button.sen-btn-ghost {
        min-width:
            82px !important;
    }


    .sen-popup .sen-close#sen-close {
        top: 12px !important;
        left: 12px !important;

        width: 36px !important;
        height: 36px !important;

        min-width: 36px !important;
        max-width: 36px !important;

        border-radius: 9px !important;
    }


    .sen-popup .sen-close#sen-close svg {
        width: 17px !important;
        height: 17px !important;
    }

}


/* ============================================================
   VERY SMALL MOBILE
   ============================================================ */

@media (max-width: 360px) {

    .sen-body {
        padding-left: 15px;
        padding-right: 15px;
    }


    .sen-emoji-grid {
        gap: 7px;
    }


    .sen-popup button.sen-emoji-btn {
        height: 92px !important;
        min-height: 92px !important;

        border-radius: 13px !important;
    }


    .sen-emoji-btn .sen-emoji {
        font-size: 28px;
    }


    .sen-emoji-btn .sen-emoji-label {
        font-size: 10.5px;
    }

}


/* ============================================================
   LANDSCAPE MOBILE
   ============================================================ */

@media
(max-width: 820px)
and (max-height: 480px)
and (orientation: landscape) {

    .sen-overlay {
        padding: 8px;
    }


    .sen-popup {
        max-width: 540px;
        max-height: 96vh;
    }


    .sen-body {
        padding:
            16px 20px 4px;
    }


    .sen-welcome-icon {
        width: 56px;
        height: 56px;

        margin-bottom: 10px;
    }


    .sen-welcome-icon svg {
        width: 26px;
        height: 26px;
    }


    .sen-welcome h2 {
        font-size: 17px;
        margin-bottom: 6px;
    }


    .sen-welcome p {
        font-size: 12.5px;
    }


    .sen-emoji-grid {
        grid-template-columns:
            repeat(4,1fr);
    }


    .sen-popup button.sen-emoji-btn {
        height: 88px !important;
        min-height: 88px !important;

        padding: 8px 4px !important;
    }


    .sen-emoji-btn .sen-emoji {
        font-size: 26px;
    }

}


/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .sen-overlay *,
    .sen-overlay *::before,
    .sen-overlay *::after {
        animation-duration:
            .01ms !important;

        transition-duration:
            .01ms !important;
    }

}


/* ============================================================
   BODY LOCK
   ============================================================ */

body.sen-lock {
    overflow: hidden !important;
}

/* ============================================================
   شخصیت انیماتوری نظرسنجی (Mascot)
   همیشه در گوشه پایین-چپ، با کلیک پاپ‌آپ باز می‌شه
   ============================================================ */

#sen-mascot.sen-mascot {
    position: fixed !important;
    bottom: 20px !important;
    left: 20px !important;
    z-index: 99989 !important;
    width: 90px !important;
    height: 105px !important;
    max-width: 90px !important;
    border: none !important;
    background: transparent !important;
    background-color: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    outline: none !important;
    font-family: inherit !important;
    font-size: 0 !important;
    line-height: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    animation: sen-mascot-enter 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both !important;
}

@keyframes sen-mascot-enter {
    0%   { transform: translateY(120%) scale(0.5); opacity: 0; }
    60%  { transform: translateY(-10%) scale(1.08); opacity: 1; }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

#sen-mascot.sen-mascot:hover {
    transform: translateY(-6px) scale(1.05) !important;
}

#sen-mascot.sen-mascot:active {
    transform: translateY(0) scale(0.95) !important;
}

.sen-mascot-svg {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    overflow: visible !important;
    filter: drop-shadow(0 6px 14px rgba(15, 23, 42, 0.25)) !important;
    animation: sen-mascot-float 3.2s ease-in-out infinite !important;
}

@keyframes sen-mascot-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-7px); }
}

/* سایه زیر mascot */
.sen-mascot-shadow {
    animation: sen-mascot-shadow-pulse 3.2s ease-in-out infinite;
}

@keyframes sen-mascot-shadow-pulse {
    0%, 100% { transform: scale(1); opacity: 0.18; }
    50%      { transform: scale(0.85); opacity: 0.12; }
}

/* دست‌ها - تکان دادن */
.sen-mascot-hand {
    transform-origin: center;
}

.sen-mascot-hand-left {
    animation: sen-mascot-wave-left 2.4s ease-in-out infinite;
    transform-origin: 22px 70px;
}

.sen-mascot-hand-right {
    animation: sen-mascot-wave-right 2.4s ease-in-out infinite;
    transform-origin: 98px 70px;
}

@keyframes sen-mascot-wave-left {
    0%, 100% { transform: rotate(0deg); }
    20%      { transform: rotate(-15deg); }
    40%      { transform: rotate(0deg); }
}

@keyframes sen-mascot-wave-right {
    0%, 100% { transform: rotate(0deg); }
    20%      { transform: rotate(15deg); }
    40%      { transform: rotate(0deg); }
}

/* آنتن - تپش */
.sen-mascot-antenna {
    transform-origin: 60px 30px;
    animation: sen-mascot-antenna-bounce 1.6s ease-in-out infinite;
}

@keyframes sen-mascot-antenna-bounce {
    0%, 100% { transform: rotate(0deg); }
    50%      { transform: rotate(8deg); }
}

.sen-mascot-antenna-dot {
    animation: sen-mascot-antenna-glow 1.6s ease-in-out infinite;
}

@keyframes sen-mascot-antenna-glow {
    0%, 100% { fill: #f97316; }
    50%      { fill: #fbbf24; }
}

/* گونه‌ها - پالس نرم */
.sen-cheek {
    animation: sen-mascot-cheek-pulse 2.2s ease-in-out infinite;
}

@keyframes sen-mascot-cheek-pulse {
    0%, 100% { opacity: 0.5; }
    50%      { opacity: 0.85; }
}

/* پلک زدن چشم‌ها */
.sen-eyelid {
    animation: sen-mascot-blink 4s infinite;
}

@keyframes sen-mascot-blink {
    0%, 92%, 100% { height: 0; }
    94%, 96%       { height: 12px; }
}

/* نشانگر "!" - پالس توجه */
.sen-mascot-badge {
    position: absolute !important;
    top: 8px !important;
    right: 18px !important;
    width: 22px !important;
    height: 22px !important;
    background: #ef4444 !important;
    color: #fff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    border: 2px solid #fff !important;
    box-shadow: 0 3px 8px rgba(239, 68, 68, 0.5) !important;
    animation: sen-mascot-badge-pulse 1.4s ease-in-out infinite !important;
    z-index: 2 !important;
}

@keyframes sen-mascot-badge-pulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.18); }
}

/* حباب صحبت */
.sen-mascot-speech {
    position: absolute !important;
    bottom: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(-4px) scale(0) !important;
    background: #fff !important;
    color: #0f172a !important;
    padding: 8px 14px !important;
    border-radius: 14px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15) !important;
    opacity: 0 !important;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    pointer-events: none !important;
    margin-bottom: 4px !important;
}

.sen-mascot-speech::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #fff;
}

.sen-mascot:hover .sen-mascot-speech,
.sen-mascot.sen-mascot-attention .sen-mascot-speech {
    opacity: 1;
    transform: translateX(-50%) translateY(-8px) scale(1);
}

/* حالت توجه (هر چند ثانیه یک‌بار فعال می‌شه) */
.sen-mascot.sen-mascot-attention .sen-mascot-svg {
    animation: sen-mascot-attention-shake 0.6s ease-in-out;
}

@keyframes sen-mascot-attention-shake {
    0%, 100% { transform: rotate(0deg); }
    25%      { transform: rotate(-6deg); }
    75%      { transform: rotate(6deg); }
}

/* وقتی پاپ‌آپ باز است، mascot محو می‌شه */
.sen-overlay.sen-show ~ #sen-mascot.sen-mascot,
body.sen-lock #sen-mascot.sen-mascot {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(20px) scale(0.7) !important;
    transition: all 0.3s ease !important;
}

/* ==================== ریسپانسیو موبایل ==================== */

@media (max-width: 768px) {
    #sen-mascot.sen-mascot {
        width: 78px !important;
        height: 92px !important;
        max-width: 78px !important;
        bottom: 16px !important;
        left: 16px !important;
    }

    .sen-mascot-badge {
        width: 18px;
        height: 18px;
        font-size: 11px;
        top: 6px;
        right: 14px;
    }

    .sen-mascot-speech {
        font-size: 11px;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    #sen-mascot.sen-mascot {
        width: 64px !important;
        height: 76px !important;
        max-width: 64px !important;
        bottom: 70px !important;
        left: 12px !important;
    }

    .sen-mascot-svg {
        filter: drop-shadow(0 4px 10px rgba(15, 23, 42, 0.2));
        animation: sen-mascot-float 3.2s ease-in-out infinite;
    }

    .sen-mascot-badge {
        width: 16px;
        height: 16px;
        font-size: 10px;
        top: 4px;
        right: 10px;
    }

    .sen-mascot-speech {
        font-size: 10px;
        padding: 5px 9px;
        bottom: calc(100% + 2px);
    }
}

@media (max-width: 360px) {
    #sen-mascot.sen-mascot {
        width: 56px !important;
        height: 66px !important;
        max-width: 56px !important;
        bottom: 70px !important;
        left: 10px !important;
    }

    .sen-mascot-badge {
        width: 14px;
        height: 14px;
        font-size: 9px;
        top: 3px;
        right: 8px;
    }
}

/* حالت لنداسکیپ موبایل */
@media (max-width: 900px) and (max-height: 500px) and (orientation: landscape) {
    #sen-mascot.sen-mascot {
        width: 60px !important;
        height: 72px !important;
        max-width: 60px !important;
        bottom: 12px !important;
        left: 12px !important;
    }
}

/* کاهش حرکت */
@media (prefers-reduced-motion: reduce) {
    .sen-mascot-svg,
    .sen-mascot-shadow,
    .sen-mascot-hand-left,
    .sen-mascot-hand-right,
    .sen-mascot-antenna,
    .sen-mascot-antenna-dot,
    .sen-cheek,
    .sen-eyelid,
    .sen-mascot-badge {
        animation: none !important;
    }
}

/* حباب صحبت در ابتدای لود (بدون نیاز به hover) */
.sen-mascot.sen-mascot-initial .sen-mascot-speech {
    opacity: 1;
    transform: translateX(-50%) translateY(-8px) scale(1);
}
