/* =========================================================
   R&S ATIVAÇÕES — REDESIGN 2026
   Camada visual. Não altera regras de negócio.
   ========================================================= */

:root {
    --rs-bg: #070b14;
    --rs-surface: #0d1423;
    --rs-surface-2: #111a2d;
    --rs-surface-3: #172137;
    --rs-border: rgba(148, 163, 184, .14);
    --rs-border-strong: rgba(139, 92, 246, .28);
    --rs-text: #f8fafc;
    --rs-muted: #94a3b8;
    --rs-purple: #7557ff;
    --rs-purple-2: #963cff;
    --rs-blue: #38bdf8;
    --rs-green: #18e59b;
    --rs-red: #ff5964;
    --rs-yellow: #f7c948;
    --rs-radius: 16px;
}

/* BASE */
body {
    background:
        radial-gradient(circle at 65% -10%, rgba(117,87,255,.10), transparent 30%),
        var(--rs-bg) !important;
    color: var(--rs-text);
}

#view-app {
    background: transparent !important;
}

button,
input,
select,
textarea {
    font-family: Inter, sans-serif;
}

/* TOPBAR */
.topbar {
    background: rgba(7,11,20,.94) !important;
    border-bottom: 1px solid var(--rs-border) !important;
    backdrop-filter: blur(18px);
    box-shadow: none !important;
}

.topbar-inner {
    min-height: 72px;
}

.topbar-logo {
    font-weight: 800 !important;
    letter-spacing: -.3px;
}

.topbar-logo img {
    width: 42px !important;
    height: 42px !important;
}

.stat-pill {
    background: var(--rs-surface-2) !important;
    border: 1px solid var(--rs-border) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    min-width: 100px;
}

.stat-pill:hover {
    border-color: var(--rs-border-strong) !important;
    transform: translateY(-1px);
}

/* BANNER APP */
.app-banner {
    max-width: 1240px;
    margin: 18px auto !important;
    border: 1px solid rgba(117,87,255,.28) !important;
    border-radius: 16px !important;
    background:
        radial-gradient(circle at 75% 50%, rgba(56,189,248,.18), transparent 28%),
        linear-gradient(105deg, #111831, #20145b 58%, #111831) !important;
    box-shadow: 0 18px 45px rgba(0,0,0,.16);
}

.app-banner-btn {
    background: linear-gradient(135deg,var(--rs-purple),var(--rs-purple-2)) !important;
    border-radius: 10px !important;
    font-weight: 700;
}

/* SIDEBAR */
.nav-tabs {
    background: rgba(9,14,25,.98) !important;
    border-right: 1px solid var(--rs-border) !important;
    box-shadow: 12px 0 40px rgba(0,0,0,.14) !important;
}

.nav-tab {
    border-radius: 10px !important;
    margin: 3px 10px !important;
    color: var(--rs-muted) !important;
    font-weight: 500 !important;
    transition: .18s ease !important;
}

.nav-tab:hover {
    color: #fff !important;
    background: rgba(117,87,255,.10) !important;
}

.nav-tab.active {
    color: #fff !important;
    background: linear-gradient(135deg,#6548ed,#8055ff) !important;
    box-shadow: 0 8px 24px rgba(117,87,255,.20) !important;
}

/* ÁREA PRINCIPAL */
.tab-content {
    max-width: 1240px !important;
}

#tab-activate {
    padding-top: 14px !important;
}

/* HERO ANTIGO MAIS DISCRETO */
.activate-hero {
    margin: 4px auto 20px !important;
}

.activate-hero-inner {
    background: transparent !important;
}

.activate-hero-inner > img {
    filter: drop-shadow(0 8px 20px rgba(77,100,255,.20));
}

/* CARD PRINCIPAL DE ATIVAÇÃO */
.activate-split {
    background: var(--rs-surface) !important;
    border: 1px solid var(--rs-border) !important;
    border-radius: var(--rs-radius) !important;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(0,0,0,.22) !important;
}

.activate-left,
.activate-right {
    background: transparent !important;
}

.activate-left {
    padding: 26px !important;
}

.activate-right {
    padding: 26px !important;
    border-left: 1px solid var(--rs-border) !important;
}

/* CRÉDITOS E SALDO */
.activate-balance-row {
    gap: 12px !important;
}

.act-pill {
    background: var(--rs-surface-2) !important;
    border: 1px solid var(--rs-border) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
}

.act-pill-val {
    font-weight: 800 !important;
}

.act-pill-credits .act-pill-val {
    color: #a78bfa !important;
}

.act-pill-balance .act-pill-val {
    color: var(--rs-green) !important;
}

/* DROPDOWN DO APP */
.app-dd-head {
    min-height: 54px;
    background: var(--rs-surface-2) !important;
    border: 1px solid var(--rs-border) !important;
    border-radius: 11px !important;
    transition: .18s ease;
}

.app-dd-head:hover {
    border-color: rgba(117,87,255,.55) !important;
}

.app-dd-body {
    background: #0d1423 !important;
    border: 1px solid var(--rs-border-strong) !important;
    border-radius: 12px !important;
    box-shadow: 0 24px 70px rgba(0,0,0,.48) !important;
}

.app-dd-search,
.search-input {
    background: var(--rs-surface-2) !important;
    border: 1px solid var(--rs-border) !important;
    color: var(--rs-text) !important;
    border-radius: 10px !important;
}

/* CAMPOS */
.mac-wrap {
    background: var(--rs-surface-2) !important;
    border: 1px solid var(--rs-border) !important;
    border-radius: 11px !important;
    min-height: 54px;
    transition: .18s ease;
}

.mac-wrap:focus-within {
    border-color: var(--rs-purple) !important;
    box-shadow: 0 0 0 3px rgba(117,87,255,.10) !important;
}

.mac-input {
    color: var(--rs-text) !important;
}

/* RESUMO */
.act-app-preview {
    background: var(--rs-surface-2) !important;
    border: 1px dashed rgba(148,163,184,.20) !important;
    border-radius: 13px !important;
}

#activation-form-block {
    border-radius: 12px;
}

/* BOTÃO PRINCIPAL */
.btn-activate {
    min-height: 54px !important;
    border: 0 !important;
    border-radius: 11px !important;
    background: linear-gradient(100deg,#5d4bf4,#933cff) !important;
    box-shadow: 0 12px 30px rgba(117,87,255,.26) !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: .2px;
    transition: .18s ease !important;
}

.btn-activate:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(117,87,255,.34) !important;
}

/* CARDS E TABELAS DO RESTANTE DO SISTEMA */
.activation-card,
.admin-card,
.finance-card,
.stat-card,
.admin-stat-card,
.gw-card {
    background: var(--rs-surface) !important;
    border: 1px solid var(--rs-border) !important;
    border-radius: 14px !important;
    box-shadow: none !important;
}

.admin-table-wrap {
    background: var(--rs-surface) !important;
    border: 1px solid var(--rs-border) !important;
    border-radius: 14px !important;
    overflow: hidden;
}

/* MODAIS */
.modal-box {
    background: #0d1423 !important;
    border: 1px solid var(--rs-border) !important;
    border-radius: 16px !important;
    box-shadow: 0 30px 100px rgba(0,0,0,.55) !important;
}

/* SCROLLBAR */
* {
    scrollbar-width: thin;
    scrollbar-color: #39445c transparent;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-thumb {
    background: #39445c;
    border-radius: 20px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

/* MOBILE */
@media (max-width: 768px) {
    .topbar-inner {
        min-height: 62px;
    }

    .app-banner {
        margin: 10px 12px !important;
        border-radius: 13px !important;
    }

    .activate-split {
        margin: 0 10px !important;
        border-radius: 14px !important;
    }

    .activate-left,
    .activate-right {
        padding: 18px !important;
    }

    .activate-right {
        border-left: 0 !important;
        border-top: 1px solid var(--rs-border) !important;
    }

    .nav-tabs {
        border-right: 1px solid var(--rs-border) !important;
    }

    .nav-tab {
        min-height: 44px;
    }
}


/* =========================================================
   FASE 2 — ESTRUTURA MODERNA DESKTOP
   ========================================================= */

@media (min-width: 1280px) {

    /* SIDEBAR FIXA */
    body .nav-tabs {
        left: 0 !important;
        top: 0 !important;
        width: 250px !important;
        height: 100vh !important;
        padding: 92px 12px 24px !important;
        background:
            linear-gradient(180deg, #0a1020 0%, #080d18 100%) !important;
        border-right: 1px solid rgba(148,163,184,.12) !important;
        box-shadow: none !important;
        z-index: 1000 !important;
    }

    /* Logo da topbar passa visualmente para a área da sidebar */
    body .topbar-logo {
        position: fixed !important;
        top: 17px !important;
        left: 20px !important;
        width: 210px !important;
        height: 52px !important;
        z-index: 1005 !important;
        display: flex !important;
        align-items: center !important;
        padding: 0 !important;
    }

    body .topbar-logo img {
        width: 48px !important;
        height: 48px !important;
        flex: 0 0 48px;
    }

    body .topbar-logo > span:not(.version-badge) {
        font-size: 16px !important;
        white-space: nowrap;
    }

    body .topbar-logo .version-badge {
        display: none !important;
    }

    /* TOPBAR */
    body .topbar {
        margin-left: 250px !important;
        width: calc(100% - 250px) !important;
        height: 72px !important;
        position: relative !important;
    }

    body .topbar-inner {
        margin: 0 !important;
        padding: 0 28px !important;
        width: 100% !important;
        max-width: none !important;
        min-height: 72px !important;
        justify-content: flex-end !important;
        box-sizing: border-box !important;
    }

    body .topbar-stats {
        margin-left: auto !important;
    }

    /* Hamburger deixa de ocupar a lateral no desktop */
    body .hamburger-btn {
        display: none !important;
    }

    body .nav-overlay {
        display: none !important;
    }

    /* CONTEÚDO GLOBAL */
    body .tab-content {
        margin-left: 250px !important;
        width: calc(100% - 250px) !important;
        max-width: none !important;
        box-sizing: border-box !important;
        padding: 22px 28px 36px !important;
    }

    body .tab-content > .container,
    body.menu-pinned .tab-content > .container,
    body.menu-pinned .container {
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
        max-width: 1280px !important;
        box-sizing: border-box !important;
    }

    /* BANNER */
    body .app-banner {
        margin: 16px 28px 0 278px !important;
        max-width: none !important;
        width: calc(100% - 306px) !important;
        box-sizing: border-box !important;
    }

    /* REMOVE HERO DUPLICADO */
    body #tab-activate .activate-hero {
        display: none !important;
    }

    /* ÁREA DE ATIVAÇÃO MAIS PRÓXIMA DO MOCKUP */
    body #tab-activate .activate-split {
        grid-template-columns: minmax(0, 1.65fr) minmax(330px, .85fr) !important;
        min-height: 0 !important;
        border-radius: 16px !important;
    }

    body #tab-activate .activate-left {
        padding: 28px !important;
    }

    body #tab-activate .activate-right {
        padding: 28px !important;
    }
}


/* FUNDO LIMPO — remove decoração antiga de pontos/linhas */
#view-app::before,
#view-app::after {
    opacity: 0 !important;
}


/* NOVA IDENTIDADE DA TELA DE ATIVAÇÃO */
#tab-activate .activate-left::before {
    content: "🚀  Nova Ativação";
    display: block;
    color: #f8fafc;
    font-size: 23px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -.5px;
    margin: 0 0 4px;
}

#tab-activate .activate-left::after {
    content: "Selecione o aplicativo e informe os dados para ativar";
    display: block;
    color: #94a3b8;
    font-size: 13px;
    margin-bottom: 24px;
}


/* Cabeçalhos antigos passam a funcionar como labels */
#tab-activate .act-section-hdr {
    color: #a78bfa !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: .09em !important;
}


/* LADO DIREITO */
#tab-activate .activate-right > .act-section-hdr:first-child {
    font-size: 0 !important;
    letter-spacing: normal !important;
    color: #f8fafc !important;
    margin-bottom: 18px !important;
}

#tab-activate .activate-right > .act-section-hdr:first-child::after {
    content: "Resumo da Ativação";
    font-size: 17px;
    font-weight: 750;
    letter-spacing: -.2px;
    color: #f8fafc;
}


/* MELHOR APROVEITAMENTO DO CARD */
#tab-activate .act-app-preview {
    min-height: 175px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

#tab-activate .act-auto-msg {
    margin-top: 18px !important;
    padding-top: 16px !important;
    border-top: 1px solid rgba(148,163,184,.12);
}


/* SIDEBAR — aparência */
@media (min-width:1280px) {
    body .nav-tab {
        min-height: 43px !important;
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        padding: 10px 13px !important;
        margin: 2px 0 !important;
        box-sizing: border-box !important;
        font-size: 14px !important;
    }

    body .nav-tab.active {
        background:
            linear-gradient(100deg, rgba(117,87,255,.92), rgba(132,70,255,.92))
            !important;
    }

    body #nav-suporte {
        color: #24dc82 !important;
    }
}


/* MOBILE — preserva a navegação existente */
@media (max-width:1279px) {

    #tab-activate .activate-left::before {
        font-size: 20px;
    }

    #tab-activate .activate-left::after {
        margin-bottom: 18px;
    }
}


/* =========================================================
   FASE 3 — SIDEBAR ORGANIZADA
   ========================================================= */

/* Fundo tecnológico antigo deixa de competir com a interface */
#view-app ~ #tech-bg,
body:has(#view-app:not(.hidden)) #tech-bg {
    display: none !important;
}

/* Rodapé antigo não é necessário dentro da aplicação */
body:has(#view-app:not(.hidden)) .rs-legacy-footer {
    display: none !important;
}


/* Títulos dos grupos */
.rs-nav-section {
    color: #8b7cff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    padding: 17px 13px 7px;
    margin-top: 2px;
    opacity: .95;
    user-select: none;
}

.rs-nav-section:first-child {
    padding-top: 4px;
}


/* Separadores discretos */
.rs-nav-section:not(:first-child) {
    border-top: 1px solid rgba(148,163,184,.09);
    margin-top: 10px;
}


/* Sidebar mais próxima do mockup */
@media (min-width:1280px) {

    body .nav-tabs {
        padding-top: 88px !important;
    }

    body .nav-tab {
        color: #aebbd0 !important;
        font-weight: 500 !important;
    }

    body .nav-tab:hover {
        color: #fff !important;
        background: rgba(117,87,255,.09) !important;
    }

    body .nav-tab.active {
        color: #fff !important;
        font-weight: 700 !important;
    }

    body #nav-suporte {
        color: #22e58d !important;
    }
}


/* Corrige subtítulo que anteriormente aparecia no final */
#tab-activate .activate-left::after {
    display: none !important;
}

#tab-activate .activate-left::before {
    margin-bottom: 22px !important;
}


/* Nova Ativação com descrição abaixo */
#tab-activate .activate-left {
    position: relative;
}

#tab-activate .activate-left > .act-section-hdr:first-of-type {
    margin-top: 0 !important;
}


/* Remove visualmente o excesso do rodapé da área */
.rs-legacy-footer {
    border-top: 1px solid rgba(148,163,184,.08);
}


/* Ajuste do banner para ficar mais elegante */
@media (min-width:1280px) {
    body .app-banner {
        min-height: 92px;
        display: flex;
        align-items: center;
        padding: 12px 20px !important;
    }

    body .app-banner > a {
        width: 100%;
    }
}


/* MOBILE: grupos permanecem visíveis no menu lateral */
@media (max-width:1279px) {
    .rs-nav-section {
        padding-left: 16px;
    }
}

/* === AJUSTE: remover espaço excessivo no topo da sidebar === */
@media (min-width:1280px) {
    body .nav-tabs {
        padding-top: 24px !important;
    }

    body .nav-tabs > .rs-nav-section:first-of-type {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
}

/* =========================================================
   FASE 4 — ÍCONES MODERNOS
   ========================================================= */

.rs-nav-icon {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-right: 11px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .9;
}

.nav-tab.active .rs-nav-icon {
    opacity: 1;
}

#nav-suporte .rs-nav-icon {
    stroke: #22e58d;
}

/* Mantém badges no lado direito */
.nav-tab > span[id$="-badge"] {
    margin-left: auto !important;
}

/* Nova Ativação sem emoji */
#tab-activate .activate-left::before {
    content: "Nova Ativação" !important;
    padding-left: 34px;
    position: relative;
}

/* Ícone vetorial visual para Nova Ativação */
#tab-activate .activate-left {
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%237557ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 16.5c-1.5 1.3-2 5-2 5s3.7-.5 5-2c.8-.9.8-2.3-.1-3.1a2.1 2.1 0 0 0-2.9.1Z'/%3E%3Cpath d='m9 15-3-3a22 22 0 0 1 4-7.5C13 1.5 18.5 2 21.5 2c0 3 .5 8.5-2.5 11.5a22 22 0 0 1-7.5 4Z'/%3E%3Ccircle cx='16' cy='8' r='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 29px 31px;
    background-size: 22px 22px;
}

/* === CORREÇÕES FASE 4 === */

/* Ícone de Nova Ativação desenhado sem depender do background do card */
#tab-activate .activate-left::before {
    content: "Nova Ativação" !important;
    display: flex !important;
    align-items: center;
    min-height: 26px;
    padding-left: 34px !important;

    background-image:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='23' height='23' viewBox='0 0 24 24' fill='none' stroke='%238b6cff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 16.5c-1.5 1.3-2 5-2 5s3.7-.5 5-2c.8-.9.8-2.3-.1-3.1a2.1 2.1 0 0 0-2.9.1Z'/%3E%3Cpath d='m9 15-3-3a22 22 0 0 1 4-7.5C13 1.5 18.5 2 21.5 2c0 3 .5 8.5-2.5 11.5a22 22 0 0 1-7.5 4Z'/%3E%3Ccircle cx='16' cy='8' r='1.5'/%3E%3C/svg%3E") !important;

    background-repeat: no-repeat !important;
    background-position: left center !important;
    background-size: 23px 23px !important;
}

/* Remove tentativa anterior de desenhar ícone no fundo do card */
#tab-activate .activate-left {
    background-image: none !important;
}


/* =========================================================
   FASE 5 — NOVA ATIVAÇÃO / ACABAMENTO PREMIUM
   Apenas apresentação.
   ========================================================= */

/* CARD PRINCIPAL */
#tab-activate .activate-split {
    background: #0b1220 !important;
    border: 1px solid rgba(148,163,184,.13) !important;
    box-shadow:
        0 18px 50px rgba(0,0,0,.18),
        inset 0 1px 0 rgba(255,255,255,.015);
}

#tab-activate .activate-left {
    background: linear-gradient(
        145deg,
        rgba(14,23,40,.98),
        rgba(10,17,30,.98)
    ) !important;
}

#tab-activate .activate-right {
    background: #0a111e !important;
}


/* TÍTULOS */
#tab-activate .activate-left::before {
    font-size: 23px !important;
    font-weight: 800 !important;
    letter-spacing: -.45px !important;
    color: #f8fafc !important;
}

#tab-activate .act-section-hdr {
    border-left: 2px solid #795cff !important;
    padding-left: 9px !important;
    color: #9b87ff !important;
}


/* CRÉDITOS E SALDO */
#tab-activate .activate-balance-row {
    gap: 12px !important;
    margin-bottom: 18px !important;
}

#tab-activate .act-pill {
    min-height: 50px;
    padding: 11px 15px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(148,163,184,.12) !important;
    background:
        linear-gradient(
            145deg,
            rgba(22,33,55,.92),
            rgba(15,24,41,.92)
        ) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.02);
}

#tab-activate .act-pill:hover {
    border-color: rgba(124,92,255,.30) !important;
}

#tab-activate .act-pill-ico {
    width: 29px;
    height: 29px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 14px !important;
}

#tab-activate .act-pill-credits .act-pill-ico {
    background: rgba(117,87,255,.13);
}

#tab-activate .act-pill-balance .act-pill-ico {
    background: rgba(24,229,155,.10);
}

#tab-activate .act-pill-lbl {
    font-size: 10px !important;
    letter-spacing: .075em !important;
}

#tab-activate .act-pill-val {
    font-size: 16px !important;
}


/* DROPDOWN DE APLICATIVOS */
#tab-activate .app-dd-head {
    min-height: 56px;
    padding: 14px 16px !important;
    border-radius: 12px !important;
    background: #111b2e !important;
    border: 1px solid rgba(148,163,184,.14) !important;
}

#tab-activate .app-dd-head:hover {
    border-color: rgba(117,87,255,.55) !important;
    background: #131e33 !important;
}

#tab-activate .app-dropdown:focus-within .app-dd-head {
    border-color: rgba(117,87,255,.65) !important;
    box-shadow: 0 0 0 3px rgba(117,87,255,.08);
}

#tab-activate .app-dd-body {
    margin-top: 3px;
    background: #0d1627 !important;
    border: 1px solid rgba(117,87,255,.24) !important;
    border-radius: 13px !important;
    box-shadow: 0 22px 50px rgba(0,0,0,.45) !important;
}

#tab-activate .app-dd-search {
    min-height: 42px;
    background: #111b2e !important;
    border-radius: 10px !important;
}

#tab-activate .app-dd-item {
    min-height: 50px;
    border-radius: 10px !important;
}

#tab-activate .app-dd-item:hover {
    background: rgba(117,87,255,.08) !important;
}

#tab-activate .app-dd-item.selected {
    background: rgba(117,87,255,.12) !important;
}


/* CAMPO MAC */
#tab-activate #mac-input {
    min-height: 56px !important;
    border-radius: 12px !important;
    background: #111b2e !important;
    border-color: rgba(148,163,184,.14) !important;
    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

#tab-activate #mac-input:focus {
    border-color: #7557ff !important;
    background: #131e33 !important;
    box-shadow: 0 0 0 3px rgba(117,87,255,.10) !important;
}


/* AVISO DE AUTOMAÇÃO */
#tab-activate .act-auto-msg {
    color: #7f8da5 !important;
    font-size: 12px !important;
    border-top-color: rgba(148,163,184,.10) !important;
}


/* RESUMO */
#tab-activate .activate-right {
    border-left-color: rgba(148,163,184,.10) !important;
}

#tab-activate .act-app-preview {
    border-radius: 14px !important;
    border-color: rgba(148,163,184,.13) !important;
    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(117,87,255,.08),
            transparent 50%
        ),
        rgba(17,27,46,.72) !important;
}

#tab-activate .act-selected-app {
    width: 100%;
}

#tab-activate .act-selected-app img {
    filter: drop-shadow(0 8px 16px rgba(0,0,0,.30));
}


/* BLOCO DE PAGAMENTO / AÇÃO */
#tab-activate #activation-form-block {
    border-radius: 14px;
}

#tab-activate #btn-activate {
    min-height: 50px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    background:
        linear-gradient(100deg,#7557ff,#8b43ff) !important;
    box-shadow: 0 9px 24px rgba(117,87,255,.20);
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        filter .18s ease;
}

#tab-activate #btn-activate:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(117,87,255,.30);
    filter: brightness(1.05);
}

#tab-activate #btn-activate:active:not(:disabled) {
    transform: translateY(0);
}


/* BOTÃO NOTIFICAÇÕES */
#tab-activate .activate-right button {
    border-radius: 11px;
}


/* MELHOR DISTRIBUIÇÃO NO DESKTOP */
@media (min-width:1280px) {
    #tab-activate .activate-left {
        padding: 28px 30px 30px !important;
    }

    #tab-activate .activate-right {
        padding: 27px 28px !important;
    }
}


/* TABLET/MOBILE */
@media (max-width:1279px) {
    #tab-activate .activate-balance-row {
        gap: 8px !important;
    }
}

@media (max-width:600px) {
    #tab-activate .activate-balance-row {
        flex-direction: column;
    }

    #tab-activate .act-pill {
        width: 100%;
    }

    #tab-activate .activate-left::before {
        font-size: 20px !important;
    }
}

/* =========================================================
   FASE 6 — RESUMO E PAGAMENTO
   ========================================================= */

/* Um pouco mais de espaço para o resumo */
@media (min-width:1280px) {
    #tab-activate .activate-split {
        grid-template-columns:
            minmax(0, 1.55fr)
            minmax(360px, .90fr) !important;
    }
}

/* Aplicativo selecionado */
#tab-activate .act-selected-app {
    min-height: 82px;
    padding: 15px 16px !important;
    border-radius: 13px !important;
    background:
        linear-gradient(
            135deg,
            rgba(117,87,255,.09),
            rgba(17,27,46,.76)
        ) !important;
    border: 1px solid rgba(117,87,255,.42) !important;
    box-sizing: border-box;
}

#tab-activate .act-sel-icon {
    width: 54px !important;
    height: 54px !important;
    min-width: 54px;
    border-radius: 11px !important;
    overflow: hidden;
    background: rgba(255,255,255,.025);
}

#tab-activate .act-sel-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

#tab-activate .act-sel-name {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #f8fafc !important;
    line-height: 1.25;
}

#tab-activate .act-sel-type {
    margin-top: 5px;
    color: #24dca0 !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: .025em;
}


/* Título das formas de pagamento */
#tab-activate #activation-form-block .act-section-hdr {
    margin-top: 14px !important;
    margin-bottom: 12px !important;
}


/* Três opções com largura equilibrada */
#tab-activate .pay-options {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 9px !important;
    width: 100% !important;
}


/* Cards */
#tab-activate .pay-opt {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 126px !important;
    padding: 13px 7px !important;
    box-sizing: border-box !important;

    border-radius: 12px !important;
    border: 1px solid rgba(148,163,184,.13) !important;

    background:
        linear-gradient(
            145deg,
            rgba(19,30,50,.96),
            rgba(13,22,38,.96)
        ) !important;

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

    overflow: hidden !important;
    transition:
        border-color .18s ease,
        background .18s ease,
        transform .18s ease,
        box-shadow .18s ease !important;
}

#tab-activate .pay-opt:hover:not(:disabled) {
    transform: translateY(-1px);
    border-color: rgba(117,87,255,.38) !important;
}


/* Selecionado */
#tab-activate .pay-opt.active {
    border-color: #795cff !important;
    background:
        linear-gradient(
            145deg,
            rgba(117,87,255,.15),
            rgba(20,27,48,.98)
        ) !important;

    box-shadow:
        0 0 0 1px rgba(117,87,255,.24),
        0 10px 25px rgba(55,38,130,.12) !important;
}


/* Opção indisponível */
#tab-activate .pay-opt:disabled,
#tab-activate .pay-opt.disabled {
    opacity: .40 !important;
    filter: saturate(.55);
}


/* Ícone */
#tab-activate .pay-opt-icon {
    width: 38px !important;
    height: 38px !important;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px !important;
    margin-bottom: 7px !important;

    background: rgba(117,87,255,.09) !important;
    font-size: 20px !important;
}


/* Nome da opção */
#tab-activate .pay-opt-label {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #9aa8bc !important;
    line-height: 1.2;
}


/* VALORES — correção principal do 148.18... */
#tab-activate .pay-opt-price,
#tab-activate #pay-balance-info,
#tab-activate #pay-credits-bal,
#tab-activate #pay-pix-price {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;

    margin-top: 7px !important;
    padding: 0 2px !important;
    box-sizing: border-box;

    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;

    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    text-align: center !important;
}


/* Créditos em destaque */
#tab-activate #pay-credits-bal {
    color: #9b87ff !important;
}


/* Saldo */
#tab-activate #pay-balance-info {
    color: #b7c2d3 !important;
}


/* PIX */
#tab-activate #pay-pix-price {
    color: #e2e8f0 !important;
}


/* Botão principal */
#tab-activate #btn-activate {
    width: 100% !important;
    margin-top: 16px !important;
    min-height: 51px !important;
}


/* WhatsApp do painel */
#tab-activate .activate-right a[href*="wa.me"],
#tab-activate .activate-right a[href*="whatsapp"] {
    border-radius: 11px !important;
}


/* Notificações mais discretas */
#tab-activate .activate-right button:not(#btn-activate) {
    min-height: 40px;
    color: #94a3b8 !important;
    border-color: rgba(148,163,184,.14) !important;
}


/* Em larguras menores, pagamentos continuam legíveis */
@media (max-width:600px) {
    #tab-activate .pay-options {
        grid-template-columns: 1fr !important;
    }

    #tab-activate .pay-opt {
        min-height: 82px !important;
    }
}


/* =========================================================
   FASE 7 — MOBILE / iPHONE
   Compactação e acabamento responsivo.
   Não altera desktop nem regras de negócio.
   ========================================================= */

@media (max-width: 768px) {

    /* -----------------------------------------
       TOPO
       ----------------------------------------- */

    body .topbar {
        min-height: 68px !important;
    }

    body .topbar-inner {
        min-height: 68px !important;
        padding: 0 16px 0 92px !important;
    }

    body .topbar-logo img {
        width: 34px !important;
        height: 34px !important;
    }

    body .topbar-logo {
        font-size: 17px !important;
    }

    /* Versão já não precisa aparecer no topo mobile */
    body .topbar-logo .version-badge {
        display: none !important;
    }


    /* -----------------------------------------
       BANNER ANDROID
       ----------------------------------------- */

    body .app-banner {
        margin-top: 16px !important;
        margin-bottom: 16px !important;
        padding: 10px !important;
        border-radius: 16px !important;
    }

    body .app-banner > a {
        min-height: 72px !important;
        padding: 10px 14px !important;
        border-radius: 13px !important;
    }

    body .app-banner-icon {
        font-size: 25px !important;
    }

    body .app-banner-text strong {
        font-size: 14px !important;
    }

    body .app-banner-text small {
        font-size: 11px !important;
    }

    body .app-banner-btn {
        padding: 10px 16px !important;
        border-radius: 10px !important;
        font-size: 13px !important;
    }


    /* -----------------------------------------
       REMOVE HERO DUPLICADO NO CELULAR
       A marca já está presente na topbar.
       ----------------------------------------- */

    #tab-activate .activate-hero {
        display: none !important;
    }


    /* -----------------------------------------
       CONTEÚDO PRINCIPAL
       ----------------------------------------- */

    #tab-activate {
        padding-top: 18px !important;
    }

    #tab-activate .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    #tab-activate .activate-split {
        display: block !important;
        min-height: 0 !important;
        border-radius: 16px !important;
        overflow: hidden !important;
    }


    /* -----------------------------------------
       FORMULÁRIO
       ----------------------------------------- */

    #tab-activate .activate-left {
        padding: 22px 18px 20px !important;
    }

    #tab-activate .activate-left::before {
        min-height: 25px !important;
        padding-left: 32px !important;
        font-size: 21px !important;
        background-size: 22px 22px !important;
    }

    #tab-activate .act-section-hdr {
        margin-top: 20px !important;
        margin-bottom: 11px !important;
        font-size: 11px !important;
    }


    /* Créditos e saldo lado a lado */
    #tab-activate .activate-balance-row {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0,1fr)) !important;
        gap: 9px !important;
        margin-bottom: 18px !important;
    }

    #tab-activate .act-pill {
        width: auto !important;
        min-width: 0 !important;
        min-height: 62px !important;
        padding: 10px 11px !important;
    }

    #tab-activate .act-pill-ico {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        font-size: 14px !important;
        margin-right: 8px !important;
    }

    #tab-activate .act-pill-lbl {
        font-size: 9px !important;
    }

    #tab-activate .act-pill-val {
        font-size: 15px !important;
        white-space: nowrap !important;
    }


    /* Dropdown */
    #tab-activate .app-dd-head {
        min-height: 54px !important;
        padding: 12px 14px !important;
    }


    /* MAC e demais campos */
    #tab-activate #mac-input,
    #tab-activate .mac-input {
        min-height: 58px !important;
    }


    /* Aviso automático */
    #tab-activate .act-auto-msg {
        margin-top: 14px !important;
        padding-top: 14px !important;
        padding-bottom: 2px !important;
        line-height: 1.45 !important;
    }


    /* -----------------------------------------
       RESUMO
       ----------------------------------------- */

    #tab-activate .activate-right {
        padding: 22px 18px 20px !important;
        border-left: 0 !important;
        border-top: 1px solid rgba(148,163,184,.13) !important;
    }

    #tab-activate .activate-right > .act-section-hdr:first-child {
        margin-top: 0 !important;
        margin-bottom: 18px !important;
        font-size: 17px !important;
    }

    #tab-activate .act-app-preview {
        min-height: 150px !important;
        padding: 14px !important;
        border-radius: 13px !important;
    }

    #tab-activate .act-selected-app {
        min-height: 78px !important;
        padding: 12px !important;
    }

    #tab-activate .act-sel-icon {
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
    }

    #tab-activate .act-sel-name {
        font-size: 14px !important;
    }


    /* -----------------------------------------
       PAGAMENTOS
       Mantém os 3 lado a lado no iPhone.
       ----------------------------------------- */

    #tab-activate .pay-options {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0,1fr)) !important;
        gap: 7px !important;
    }

    #tab-activate .pay-opt {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 112px !important;
        padding: 10px 4px !important;
        border-radius: 12px !important;
    }

    #tab-activate .pay-opt-icon {
        width: 34px !important;
        height: 34px !important;
        min-height: 34px !important;
        font-size: 17px !important;
        margin-bottom: 5px !important;
    }

    #tab-activate .pay-opt-label {
        font-size: 10px !important;
    }

    #tab-activate .pay-opt-price,
    #tab-activate #pay-balance-info,
    #tab-activate #pay-credits-bal,
    #tab-activate #pay-pix-price {
        font-size: 11px !important;
        padding: 0 !important;
        margin-top: 6px !important;
        white-space: nowrap !important;
    }


    /* -----------------------------------------
       BOTÕES
       ----------------------------------------- */

    #tab-activate #btn-activate {
        min-height: 48px !important;
        margin-top: 14px !important;
        font-size: 13px !important;
    }

    #tab-activate .activate-right a[href*="wa.me"],
    #tab-activate .activate-right a[href*="whatsapp"] {
        min-height: 48px !important;
    }


    /* Caixa visitante */
    #tab-activate #guest-auth-prompt {
        padding: 18px 14px !important;
        margin-top: 14px !important;
        border-radius: 12px !important;
    }


    /* -----------------------------------------
       HAMBURGER
       ----------------------------------------- */

    body .hamburger-btn {
        top: 14px !important;
        left: 14px !important;
        width: 44px !important;
        height: 44px !important;
        border-radius: 12px !important;
    }
}


/* iPhones estreitos */
@media (max-width: 390px) {

    #tab-activate .activate-left,
    #tab-activate .activate-right {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    #tab-activate .act-pill {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    #tab-activate .act-pill-val {
        font-size: 14px !important;
    }

    #tab-activate .pay-options {
        gap: 5px !important;
    }

    #tab-activate .pay-opt-price,
    #tab-activate #pay-balance-info,
    #tab-activate #pay-credits-bal,
    #tab-activate #pay-pix-price {
        font-size: 10px !important;
    }
}


/* =========================================================
   FASE 7 — CORREÇÕES MOBILE
   ========================================================= */

/* Remove título antigo criado artificialmente pelo redesign */
#tab-activate .activate-right > .act-section-hdr:first-child::after {
    content: none !important;
    display: none !important;
}

/* O próprio HTML já possui o título correto */
#tab-activate .activate-right > .act-section-hdr:first-child {
    font-size: 17px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
}

/* Grupos sem opções disponíveis não devem aparecer */
.rs-nav-section.rs-group-empty {
    display: none !important;
}

/* Mobile: acabamento do painel de ativação */
@media (max-width: 600px) {

    #tab-activate .activate-split {
        border-radius: 16px !important;
        overflow: hidden !important;
    }

    #tab-activate .activate-left,
    #tab-activate .activate-right {
        padding: 26px 18px !important;
    }

    #tab-activate .activate-right {
        border-top: 1px solid rgba(148,163,184,.14) !important;
    }

    #tab-activate .activate-right > .act-section-hdr:first-child {
        font-size: 17px !important;
        white-space: normal !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
    }
}


/* =========================================================
   FASE 8 — TELA PÚBLICA / LOGIN PREMIUM
   Não interfere no dashboard autenticado.
   ========================================================= */

#view-login .login-wrapper {
    min-height: 100svh !important;
    width: 100% !important;
    box-sizing: border-box !important;

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

    gap: 18px !important;
    padding: 40px 20px !important;

    background:
        radial-gradient(
            circle at 50% 8%,
            rgba(124, 77, 255, .16),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            #080d18 0%,
            #070c15 100%
        ) !important;
}


/* CARD PRINCIPAL */

#view-login .login-box {
    width: 100% !important;
    max-width: 430px !important;
    box-sizing: border-box !important;

    padding: 38px 34px 32px !important;

    background:
        linear-gradient(
            145deg,
            rgba(17, 27, 46, .98),
            rgba(10, 17, 30, .99)
        ) !important;

    border: 1px solid rgba(148, 163, 184, .16) !important;
    border-radius: 22px !important;

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

    text-align: center !important;
}


/* LOGOMARCA */

#view-login .login-logo {
    width: 94px !important;
    height: 94px !important;

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

    margin: 0 auto 12px !important;

    font-size: 0 !important;
}

#view-login .login-logo img {
    width: 94px !important;
    height: 94px !important;
    object-fit: contain !important;

    filter:
        drop-shadow(0 8px 18px rgba(0, 0, 0, .25))
        drop-shadow(0 0 16px rgba(124, 77, 255, .10));
}


/* MARCA */

#view-login .login-title {
    margin: 0 !important;

    font-size: 30px !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
    letter-spacing: -.7px !important;

    color: #f8fafc !important;
}

#view-login .login-subtitle {
    margin: 9px 0 28px !important;

    font-size: 15px !important;
    line-height: 1.5 !important;

    color: #8f9bb0 !important;
}


/* FORMULÁRIO */

#view-login .login-form {
    width: 100% !important;
    gap: 16px !important;
    text-align: left !important;
}

#view-login .login-form .form-group label {
    display: block !important;
    margin-bottom: 8px !important;

    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: .7px !important;
    text-transform: uppercase !important;

    color: #9aa6b9 !important;
}

#view-login .login-form input {
    width: 100% !important;
    min-height: 54px !important;
    box-sizing: border-box !important;

    padding: 0 16px !important;

    border-radius: 13px !important;
    border: 1px solid rgba(148, 163, 184, .17) !important;

    background: #111b2d !important;
    color: #f8fafc !important;

    font-size: 16px !important;

    outline: none !important;

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

#view-login .login-form input:focus {
    border-color: rgba(124, 77, 255, .85) !important;

    box-shadow:
        0 0 0 3px rgba(124, 77, 255, .12) !important;
}


/* BOTÃO ENTRAR */

#view-login #btn-login,
#view-login #btn-register {
    width: 100% !important;
    min-height: 54px !important;

    margin-top: 4px !important;

    border: 0 !important;
    border-radius: 13px !important;

    background:
        linear-gradient(
            135deg,
            #6750f5,
            #8b42f5
        ) !important;

    color: #fff !important;

    font-size: 16px !important;
    font-weight: 800 !important;

    box-shadow:
        0 12px 30px rgba(103, 80, 245, .22) !important;
}


/* DIVISOR */

#view-login .login-divider {
    margin: 22px 0 15px !important;
    color: #657188 !important;
}

#view-login .login-divider::before,
#view-login .login-divider::after {
    background: rgba(148, 163, 184, .15) !important;
}


/* CADASTRO */

#view-login .login-toggle {
    margin-top: 10px !important;
}

#view-login .login-toggle .link-btn {
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;

    color: #a98cff !important;
}


/* DOWNLOAD DO APP */

#view-login .download-app {
    width: 100% !important;
    max-width: 430px !important;

    margin: 0 !important;
}

#view-login .download-app-link {
    width: 100% !important;
    box-sizing: border-box !important;

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

    padding: 15px 18px !important;

    border-radius: 16px !important;

    background: rgba(17, 27, 46, .88) !important;

    border:
        1px solid rgba(124, 77, 255, .25) !important;
}

#view-login .download-app-icon {
    font-size: 27px !important;
}

#view-login .download-app-text strong {
    font-size: 14px !important;
    color: #f1f5f9 !important;
}

#view-login .download-app-text small {
    color: #8491a6 !important;
}


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

@media (max-width: 600px) {

    #view-login .login-wrapper {
        min-height: 100svh !important;

        justify-content: flex-start !important;

        padding:
            max(34px, env(safe-area-inset-top))
            18px
            max(30px, env(safe-area-inset-bottom)) !important;

        gap: 14px !important;
    }

    #view-login .login-box {
        max-width: 100% !important;

        padding: 30px 22px 25px !important;

        border-radius: 20px !important;
    }

    #view-login .login-logo {
        width: 86px !important;
        height: 86px !important;
        margin-bottom: 8px !important;
    }

    #view-login .login-logo img {
        width: 86px !important;
        height: 86px !important;
    }

    #view-login .login-title {
        font-size: 27px !important;
    }

    #view-login .login-subtitle {
        font-size: 14px !important;
        margin-bottom: 24px !important;
    }

    #view-login .login-form input {
        min-height: 56px !important;
        font-size: 16px !important;
    }

    #view-login #btn-login,
    #view-login #btn-register {
        min-height: 56px !important;
    }

    #view-login .download-app {
        max-width: 100% !important;
    }

}


/* iPhones menores */

@media (max-width: 380px) {

    #view-login .login-wrapper {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    #view-login .login-box {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

}
/* =========================================================
   R & S ATIVAÇÕES — DASHBOARD / INÍCIO
   ========================================================= */

#tab-home {
    padding: 0;
}

#tab-home .rs-home {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding: 34px 34px 48px;
}

/* Boas-vindas */
.rs-home-welcome {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 190px;
    padding: 36px 38px;
    margin-bottom: 24px;
    border: 1px solid rgba(139, 92, 246, .20);
    border-radius: 24px;
    background:
        radial-gradient(circle at 85% 20%, rgba(124, 58, 237, .22), transparent 35%),
        linear-gradient(135deg, rgba(24, 30, 49, .98), rgba(13, 18, 31, .98));
    box-shadow: 0 20px 55px rgba(0, 0, 0, .22);
}

.rs-home-welcome::after {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    right: -75px;
    bottom: -135px;
    border-radius: 50%;
    background: rgba(124, 58, 237, .10);
    pointer-events: none;
}

.rs-home-eyebrow {
    display: block;
    margin-bottom: 9px;
    color: #9f8cff;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .14em;
}

.rs-home-welcome h1 {
    margin: 0;
    color: #f8fafc;
    font-size: clamp(27px, 3vw, 38px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -.035em;
}

.rs-home-welcome p {
    max-width: 620px;
    margin: 11px 0 0;
    color: #98a4b8;
    font-size: 15px;
    line-height: 1.6;
}

.rs-home-primary {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    min-height: 54px;
    padding: 0 23px;
    border: 0;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #6d4aff);
    box-shadow: 0 12px 30px rgba(109, 74, 255, .27);
    font: inherit;
    font-size: 14px;
    font-weight: 750;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease;
}

.rs-home-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(109, 74, 255, .34);
}

.rs-home-primary-icon {
    font-size: 22px;
    line-height: 1;
}

/* Indicadores */
.rs-home-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.rs-home-stat {
    position: relative;
    min-width: 0;
    min-height: 112px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(148, 163, 184, .10);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(23, 30, 48, .96), rgba(15, 21, 35, .96));
    box-shadow: 0 12px 32px rgba(0, 0, 0, .14);
}

.rs-home-stat::before {
    content: "";
    position: absolute;
    left: 0;
    top: 22px;
    bottom: 22px;
    width: 3px;
    border-radius: 0 4px 4px 0;
    opacity: .9;
}

.rs-home-stat-purple::before { background: #8b5cf6; }
.rs-home-stat-green::before  { background: #22c55e; }
.rs-home-stat-blue::before   { background: #38bdf8; }
.rs-home-stat-orange::before { background: #f59e0b; }

.rs-home-stat-icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, .045);
    font-size: 21px;
}

.rs-home-stat > div:last-child {
    min-width: 0;
}

.rs-home-stat span:not(.rs-home-stat-icon) {
    display: block;
    margin-bottom: 6px;
    color: #778399;
    font-size: 10px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: .075em;
}

.rs-home-stat strong {
    display: block;
    overflow: hidden;
    color: #f8fafc;
    font-size: 23px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -.025em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Seções */
.rs-home-section {
    margin-top: 26px;
}

.rs-home-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

.rs-home-section-head .rs-home-eyebrow {
    margin-bottom: 5px;
}

.rs-home-section-head h2 {
    margin: 0;
    color: #f1f5f9;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -.02em;
}

/* Atalhos */
.rs-home-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.rs-home-action {
    width: 100%;
    min-width: 0;
    min-height: 86px;
    padding: 16px 17px;
    display: flex;
    align-items: center;
    gap: 13px;
    border: 1px solid rgba(148, 163, 184, .10);
    border-radius: 17px;
    color: inherit;
    background: rgba(18, 25, 41, .92);
    text-align: left;
    font: inherit;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.rs-home-action:hover {
    transform: translateY(-2px);
    border-color: rgba(139, 92, 246, .34);
    background: rgba(24, 31, 51, .98);
}

.rs-home-action-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: rgba(124, 58, 237, .11);
    font-size: 20px;
}

.rs-home-action-copy {
    min-width: 0;
    flex: 1;
}

.rs-home-action-copy strong,
.rs-home-action-copy small {
    display: block;
}

.rs-home-action-copy strong {
    margin-bottom: 4px;
    color: #e8edf6;
    font-size: 14px;
    font-weight: 750;
}

.rs-home-action-copy small {
    overflow: hidden;
    color: #748198;
    font-size: 11px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rs-home-arrow {
    color: #69758b;
    font-size: 24px;
    line-height: 1;
}

/* Ativações recentes */
.rs-home-recent {
    margin-top: 30px;
}

.rs-home-link {
    padding: 7px 0;
    border: 0;
    color: #9b8cff;
    background: transparent;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.rs-home-link:hover {
    color: #b7aaff;
}

.rs-home-recent-list {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .10);
    border-radius: 18px;
    background: rgba(16, 23, 38, .90);
    box-shadow: 0 12px 34px rgba(0, 0, 0, .12);
}

.rs-home-recent-item {
    min-height: 78px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid rgba(148, 163, 184, .075);
}

.rs-home-recent-item:last-child {
    border-bottom: 0;
}

.rs-home-recent-icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    overflow: hidden;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #d9d4ff;
    background: rgba(124, 58, 237, .12);
    font-size: 18px;
    font-weight: 800;
}

.rs-home-recent-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rs-home-recent-info {
    min-width: 0;
    flex: 1;
}

.rs-home-recent-info strong,
.rs-home-recent-info span {
    display: block;
}

.rs-home-recent-info strong {
    overflow: hidden;
    margin-bottom: 5px;
    color: #e9edf5;
    font-size: 14px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rs-home-recent-info span {
    overflow: hidden;
    color: #778399;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rs-home-recent-meta {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.rs-home-recent-meta small {
    color: #68758a;
    font-size: 10px;
}

.rs-home-empty,
.rs-home-loading {
    min-height: 170px;
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.rs-home-empty > span {
    margin-bottom: 10px;
    font-size: 27px;
    opacity: .85;
}

.rs-home-empty strong {
    margin-bottom: 5px;
    color: #dce3ee;
    font-size: 14px;
}

.rs-home-empty small,
.rs-home-loading span {
    color: #758198;
    font-size: 11px;
    line-height: 1.5;
}

.rs-home-loading {
    gap: 12px;
}

/* Tablet */
@media (max-width: 1100px) {
    #tab-home .rs-home {
        padding: 28px 24px 42px;
    }

    .rs-home-stats,
    .rs-home-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 700px) {
    #tab-home .rs-home {
        padding: 18px 14px 34px;
    }

    .rs-home-welcome {
        min-height: 0;
        padding: 24px 20px;
        margin-bottom: 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        border-radius: 20px;
    }

    .rs-home-welcome h1 {
        font-size: 27px;
    }

    .rs-home-welcome p {
        margin-top: 8px;
        font-size: 13px;
    }

    .rs-home-primary {
        width: 100%;
        min-height: 52px;
    }

    .rs-home-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-bottom: 25px;
    }

    .rs-home-stat {
        min-height: 112px;
        padding: 15px 13px;
        flex-direction: column;
        align-items: flex-start;
        gap: 11px;
        border-radius: 16px;
    }

    .rs-home-stat::before {
        top: 16px;
        bottom: 16px;
    }

    .rs-home-stat-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        border-radius: 11px;
        font-size: 18px;
    }

    .rs-home-stat span:not(.rs-home-stat-icon) {
        margin-bottom: 4px;
        font-size: 8px;
        letter-spacing: .055em;
    }

    .rs-home-stat strong {
        font-size: 19px;
    }

    .rs-home-section {
        margin-top: 23px;
    }

    .rs-home-section-head h2 {
        font-size: 18px;
    }

    .rs-home-actions {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .rs-home-action {
        min-height: 72px;
        padding: 13px 14px;
    }

    .rs-home-recent {
        margin-top: 26px;
    }

    .rs-home-recent-item {
        position: relative;
        min-height: 78px;
        padding: 13px 14px;
        gap: 11px;
    }

    .rs-home-recent-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        border-radius: 11px;
    }

    .rs-home-recent-meta {
        max-width: 92px;
    }

    .rs-home-recent-meta .badge-status {
        max-width: 92px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .rs-home-recent-meta small {
        text-align: right;
    }
}

/* Celulares menores */
@media (max-width: 380px) {
    #tab-home .rs-home {
        padding-left: 10px;
        padding-right: 10px;
    }

    .rs-home-welcome {
        padding: 21px 17px;
    }

    .rs-home-stats {
        gap: 8px;
    }

    .rs-home-stat {
        padding: 13px 11px;
    }

    .rs-home-stat strong {
        font-size: 17px;
    }

    .rs-home-link {
        font-size: 11px;
    }
}

/* =========================================================
   R & S ATIVAÇÕES — MINHAS ATIVAÇÕES / HISTÓRICO
   ========================================================= */

#tab-history .rs-history {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding: 34px 34px 48px;
}

/* Cabeçalho */
.rs-history-head {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 145px;
    padding: 30px 34px;
    margin-bottom: 22px;
    border: 1px solid rgba(139, 92, 246, .18);
    border-radius: 22px;
    background:
        radial-gradient(circle at 88% 18%, rgba(124, 58, 237, .18), transparent 34%),
        linear-gradient(135deg, rgba(24, 30, 49, .98), rgba(13, 18, 31, .98));
    box-shadow: 0 18px 48px rgba(0, 0, 0, .18);
}

.rs-history-head::after {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    right: -65px;
    bottom: -115px;
    border-radius: 50%;
    background: rgba(124, 58, 237, .09);
    pointer-events: none;
}

.rs-history-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #9f8cff;
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .14em;
}

.rs-history-head h1 {
    margin: 0;
    color: #f8fafc;
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -.035em;
}

.rs-history-head p {
    margin: 9px 0 0;
    color: #8996aa;
    font-size: 14px;
    line-height: 1.55;
}

/* Total */
.rs-history-total {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    min-width: 115px;
    padding: 17px 20px;
    border: 1px solid rgba(139, 92, 246, .20);
    border-radius: 16px;
    background: rgba(124, 58, 237, .08);
    text-align: center;
}

.rs-history-total span {
    display: block;
    margin-bottom: 5px;
    color: #8d98ab;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
}

.rs-history-total strong {
    display: block;
    color: #f8fafc;
    font-size: 27px;
    line-height: 1;
    font-weight: 800;
}

/* Lista */
#tab-history .rs-history-list {
    display: grid;
    gap: 12px;
}

#tab-history .history-item {
    position: relative;
    min-width: 0;
    min-height: 108px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(148, 163, 184, .10);
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(21, 28, 45, .97), rgba(15, 21, 35, .97));
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
    transition:
        transform .18s ease,
        border-color .18s ease,
        background .18s ease;
}

#tab-history .history-item:hover {
    transform: translateY(-1px);
    border-color: rgba(139, 92, 246, .23);
    background:
        linear-gradient(145deg, rgba(24, 31, 50, .98), rgba(16, 22, 37, .98));
}

/* Ícone do aplicativo */
#tab-history .hi-icon {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    overflow: hidden;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 15px;
    color: #ddd7ff;
    background: rgba(124, 58, 237, .10);
    font-size: 21px;
    font-weight: 800;
}

#tab-history .hi-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dados principais */
#tab-history .hi-info {
    min-width: 0;
    flex: 1;
}

#tab-history .hi-name {
    overflow: hidden;
    margin-bottom: 5px;
    color: #edf1f7;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#tab-history .hi-mac {
    overflow: hidden;
    color: #8c98aa;
    font-size: 12px;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#tab-history .hi-user {
    overflow: hidden;
    margin-top: 4px;
    color: #78859a;
    font-size: 11px;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Tags */
#tab-history .hi-details {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: 9px;
}

#tab-history .hi-tag {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 4px 8px;
    border: 1px solid rgba(148, 163, 184, .10);
    border-radius: 7px;
    color: #8996aa;
    background: rgba(255, 255, 255, .025);
    font-size: 10px;
    line-height: 1;
    font-weight: 650;
}

/* Status, data e ações */
#tab-history .hi-meta {
    flex: 0 0 auto;
    min-width: 145px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 7px;
}

#tab-history .hi-meta .badge-status {
    min-height: 26px;
    padding: 5px 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 10px;
    line-height: 1;
    font-weight: 750;
}

#tab-history .hi-date {
    color: #6f7b8f;
    font-size: 10px;
    line-height: 1.3;
}

/* Botões existentes do histórico */
#tab-history .hi-meta .btn-sm {
    min-height: 30px;
    margin-top: 0 !important;
    padding: 6px 10px !important;
    border-radius: 8px;
    background: rgba(255, 255, 255, .025);
    font-size: 10px !important;
    font-weight: 650;
    cursor: pointer;
    transition:
        background .18s ease,
        border-color .18s ease,
        transform .18s ease;
}

#tab-history .hi-meta .btn-sm:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, .05);
}

/* Estados */
#tab-history .badge-status.success {
    color: #4ade80;
    border-color: rgba(34, 197, 94, .20);
    background: rgba(34, 197, 94, .10);
}

#tab-history .badge-status.pending {
    color: #fbbf24;
    border-color: rgba(245, 158, 11, .20);
    background: rgba(245, 158, 11, .10);
}

#tab-history .badge-status.processing {
    color: #60a5fa;
    border-color: rgba(59, 130, 246, .20);
    background: rgba(59, 130, 246, .10);
}

#tab-history .badge-status.failed {
    color: #fb7185;
    border-color: rgba(244, 63, 94, .20);
    background: rgba(244, 63, 94, .10);
}

#tab-history .badge-status.timeout {
    color: #fbbf24;
    border-color: rgba(245, 158, 11, .22);
    background: rgba(245, 158, 11, .10);
}

#tab-history .badge-status.refunded {
    color: #c4b5fd;
    border-color: rgba(139, 92, 246, .22);
    background: rgba(139, 92, 246, .10);
}

/* Estado vazio */
.rs-history-empty {
    min-height: 220px;
    padding: 34px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(148, 163, 184, .10);
    border-radius: 18px;
    background: rgba(16, 23, 38, .86);
    text-align: center;
}

.rs-history-empty > span {
    margin-bottom: 11px;
    font-size: 30px;
    opacity: .85;
}

.rs-history-empty strong {
    margin-bottom: 5px;
    color: #dce3ee;
    font-size: 14px;
}

.rs-history-empty small {
    color: #748197;
    font-size: 11px;
}

/* Loading e mensagens vazias geradas pelo JS */
#tab-history .loading-apps,
#tab-history .empty-state {
    min-height: 190px;
    margin: 0;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(148, 163, 184, .10);
    border-radius: 18px;
    background: rgba(16, 23, 38, .86);
    color: #7f8b9f;
    text-align: center;
}

/* Paginação */
#tab-history .pagination-wrap {
    margin-top: 20px;
}

/* Tablet */
@media (max-width: 900px) {
    #tab-history .rs-history {
        padding: 28px 22px 42px;
    }

    #tab-history .history-item {
        align-items: flex-start;
    }

    #tab-history .hi-meta {
        min-width: 125px;
    }
}

/* Mobile */
@media (max-width: 700px) {
    #tab-history .rs-history {
        padding: 18px 14px 34px;
    }

    .rs-history-head {
        min-height: 0;
        padding: 23px 20px;
        margin-bottom: 15px;
        align-items: flex-start;
        border-radius: 20px;
    }

    .rs-history-head h1 {
        font-size: 26px;
    }

    .rs-history-head p {
        max-width: 230px;
        margin-top: 7px;
        font-size: 12px;
    }

    .rs-history-total {
        min-width: 72px;
        padding: 12px 10px;
        border-radius: 13px;
    }

    .rs-history-total strong {
        font-size: 22px;
    }

    #tab-history .rs-history-list {
        gap: 10px;
    }

    #tab-history .history-item {
        min-height: 0;
        padding: 15px;
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        align-items: start;
        gap: 11px;
        border-radius: 16px;
    }

    #tab-history .hi-icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        border-radius: 12px;
        font-size: 18px;
    }

    #tab-history .hi-name {
        font-size: 14px;
    }

    #tab-history .hi-mac {
        font-size: 11px;
    }

    #tab-history .hi-user {
        white-space: normal;
        font-size: 10px;
    }

    #tab-history .hi-details {
        margin-top: 8px;
        gap: 5px;
    }

    #tab-history .hi-tag {
        min-height: 23px;
        padding: 4px 7px;
        font-size: 9px;
    }

    #tab-history .hi-meta {
        grid-column: 1 / -1;
        width: 100%;
        min-width: 0;
        padding-top: 11px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 8px;
        border-top: 1px solid rgba(148, 163, 184, .08);
    }

    #tab-history .hi-meta .badge-status {
        justify-self: start;
    }

    #tab-history .hi-date {
        justify-self: end;
        text-align: right;
    }

    #tab-history .hi-meta .btn-sm {
        grid-column: 1 / -1;
        width: 100%;
        min-height: 36px;
        justify-content: center;
        text-align: center;
    }
}

/* Celulares menores */
@media (max-width: 380px) {
    #tab-history .rs-history {
        padding-left: 10px;
        padding-right: 10px;
    }

    .rs-history-head {
        padding: 20px 16px;
        gap: 12px;
    }

    .rs-history-head h1 {
        font-size: 23px;
    }

    .rs-history-head p {
        max-width: 190px;
    }

    .rs-history-total {
        min-width: 64px;
        padding-left: 8px;
        padding-right: 8px;
    }

    #tab-history .history-item {
        padding: 13px;
    }
}


/* Abas exclusivas do cliente final */
.nav-tab-client.hidden {
    display: none !important;
}

/* =========================================================
   R&S ATIVAÇÕES — FOTO DE PERFIL
   ========================================================= */

.rs-top-profile-btn {
    overflow: hidden;
    padding: 0 !important;
}

#top-profile-avatar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#top-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.profile-avatar-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.profile-avatar {
    position: relative;
    width: 96px;
    height: 96px;
    min-width: 96px;
    padding: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.06);
    color: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
}

.profile-avatar:hover {
    border-color: rgba(255,255,255,.35);
    transform: scale(1.02);
}

.profile-avatar:disabled {
    opacity: .6;
    cursor: wait;
}

#profile-avatar-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#profile-avatar-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-avatar-change {
    border: 0;
    background: transparent;
    color: var(--accent, #6c5ce7);
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
}

.profile-avatar-change:hover {
    text-decoration: underline;
}

.profile-avatar-change:disabled {
    opacity: .6;
    cursor: wait;
}

/* =========================================================
   FOTO DE PERFIL — R&S ATIVAÇÕES
   ========================================================= */

.profile-avatar-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 110px;
}

.profile-avatar {
    width: 82px;
    height: 82px;
    min-width: 82px;
    border-radius: 50%;
    border: 2px solid rgba(120, 90, 255, .75);
    background: rgba(20, 25, 45, .95);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    box-shadow: 0 0 20px rgba(80, 70, 255, .18);
    background-size: cover;
    background-position: center;
}

.profile-avatar:hover {
    border-color: rgba(150, 110, 255, 1);
    transform: scale(1.03);
}

.profile-avatar-change {
    border: 0;
    background: transparent;
    color: #a98cff;
    font-size: 11px;
    cursor: pointer;
    padding: 3px 6px;
}

.profile-avatar-change:hover {
    color: #fff;
}


/* =========================================================
   LOGIN V2 — FUNDO TECNOLÓGICO
   ========================================================= */

#view-login .login-wrapper {
    position: relative !important;
    overflow: hidden !important;

    background:
        radial-gradient(circle at 50% 20%,
            rgba(112, 76, 255, .20) 0%,
            rgba(112, 76, 255, .07) 25%,
            transparent 52%
        ),
        radial-gradient(circle at 12% 75%,
            rgba(0, 153, 255, .09) 0%,
            transparent 35%
        ),
        radial-gradient(circle at 88% 70%,
            rgba(102, 51, 255, .08) 0%,
            transparent 34%
        ),
        linear-gradient(
            180deg,
            #070c17 0%,
            #050a13 100%
        ) !important;
}

/* Grade digital */
#view-login .login-wrapper::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;

    background-image:
        linear-gradient(rgba(92, 135, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(92, 135, 255, .045) 1px, transparent 1px);

    background-size: 48px 48px !important;

    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0,0,0,.65) 22%,
        rgba(0,0,0,.85) 70%,
        transparent 100%
    );

    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0,0,0,.65) 22%,
        rgba(0,0,0,.85) 70%,
        transparent 100%
    );

    opacity: .75 !important;
}

/* Pontos/nós digitais */
#view-login .login-wrapper::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;

    background-image:
        radial-gradient(circle, rgba(126, 105, 255, .65) 1px, transparent 1.5px);

    background-size: 96px 96px !important;
    background-position: 24px 24px !important;

    opacity: .24 !important;
}

/* Mantém login acima dos efeitos */
#view-login .login-box,
#view-login .download-app {
    position: relative !important;
    z-index: 2 !important;
}

