/* ============================================================
   style.css — Estilos customizados do SpeedCripto
   Regra: nunca sobrescrever classes do Bootstrap diretamente.
   Prefixo "sc-" em todas as classes customizadas.
   ============================================================ */

/* 1. Variáveis CSS */
:root {
    --sc-purple:       #7C3AED;
    --sc-purple-light: #a78bfa;
    --sc-cyan:         #06B6D4;
    --sc-cyan-light:   #67e8f9;
    --sc-indigo:       #4F46E5;
    --sc-dark-bg:      #070b14;
    --sc-dark-card:    rgba(255, 255, 255, 0.04);
    --sc-dark-input:   rgba(255, 255, 255, 0.05);
    --sc-text:         #f1f5f9;
    --sc-text-muted:   #64748b;
    --sc-border:       rgba(124, 58, 237, 0.22);
}

/* 2. Base */
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}


/* ============================================================
   AUTH LAYOUT — login, registro, recuperação de senha
   ============================================================ */

.sc-auth-body {
    min-height: 100vh;
    background: var(--sc-dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    padding: 1.5rem;
}

/* ── Orbs animados de fundo ─────────────────────────────── */
.sc-auth-orb {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.sc-auth-orb--1 {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(124,58,237,.55) 0%, transparent 70%);
    top: -160px;
    left: -160px;
    animation: sc-orb-float 9s ease-in-out infinite;
}

.sc-auth-orb--2 {
    width: 440px;
    height: 440px;
    background: radial-gradient(circle, rgba(6,182,212,.45) 0%, transparent 70%);
    bottom: -120px;
    right: -120px;
    animation: sc-orb-float 11s ease-in-out infinite reverse;
}

.sc-auth-orb--3 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(79,70,229,.4) 0%, transparent 70%);
    top: 45%;
    left: 58%;
    animation: sc-orb-float 14s ease-in-out infinite 2s;
}

@keyframes sc-orb-float {
    0%, 100% { transform: translate(0, 0) scale(1);          }
    33%       { transform: translate(28px, -28px) scale(1.06); }
    66%       { transform: translate(-18px, 18px) scale(.94); }
}

/* ── Grade futurista ────────────────────────────────────── */
.sc-auth-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(124,58,237,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124,58,237,.06) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

/* ── Card glassmorphism ─────────────────────────────────── */
.sc-auth-card {
    background: var(--sc-dark-card);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid var(--sc-border);
    border-radius: 1.5rem;
    padding: 2.75rem 2.25rem 2rem;
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 1;
    box-shadow:
        0 0 0 1px rgba(255,255,255,.04) inset,
        0 0 60px rgba(124,58,237,.14),
        0 30px 60px rgba(0,0,0,.55);
    animation: sc-card-in .4s cubic-bezier(.22,1,.36,1) both;
}

@keyframes sc-card-in {
    from { opacity: 0; transform: translateY(24px) scale(.97); }
    to   { opacity: 1; transform: translateY(0)    scale(1);   }
}

/* ── Logo ───────────────────────────────────────────────── */
.sc-auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    margin-bottom: 2rem;
    text-decoration: none;
}

.sc-auth-logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, rgba(124,58,237,.35), rgba(6,182,212,.25));
    border: 1px solid rgba(167,139,250,.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 24px rgba(124,58,237,.4);
    transition: box-shadow .3s;
}

.sc-auth-logo:hover .sc-auth-logo-icon {
    box-shadow: 0 0 36px rgba(124,58,237,.65);
}

.sc-auth-logo-text {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -.4px;
    background: linear-gradient(90deg, var(--sc-purple-light), var(--sc-cyan-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Título e subtítulo ─────────────────────────────────── */
.sc-auth-title {
    color: var(--sc-text);
    font-size: 1.45rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 .35rem;
    letter-spacing: -.3px;
}

.sc-auth-subtitle {
    color: var(--sc-text-muted);
    font-size: .85rem;
    text-align: center;
    margin-bottom: 2rem;
}

/* ── Inputs ─────────────────────────────────────────────── */
.sc-auth-input-group {
    position: relative;
    margin-bottom: 1.1rem;
}

.sc-auth-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sc-text-muted);
    pointer-events: none;
    display: flex;
    z-index: 5;
    transition: color .2s;
}

.sc-auth-input-group:focus-within .sc-auth-input-icon {
    color: var(--sc-purple-light);
}

.sc-auth-input {
    width: 100%;
    background: var(--sc-dark-input) !important;
    border: 1px solid rgba(124,58,237,.2) !important;
    border-radius: .75rem !important;
    color: var(--sc-text) !important;
    padding: .78rem 1rem .78rem 2.75rem !important;
    font-size: .9rem !important;
    transition: border-color .2s, box-shadow .2s, background .2s !important;
}

.sc-auth-input::placeholder {
    color: #3d4f65 !important;
}

.sc-auth-input:focus {
    outline: none !important;
    border-color: var(--sc-purple) !important;
    box-shadow: 0 0 0 3px rgba(124,58,237,.18) !important;
    background: rgba(124,58,237,.06) !important;
}

/* padding extra para input com botão de toggle */
.sc-auth-input--senha {
    padding-right: 3rem !important;
}

/* ── Toggle senha ───────────────────────────────────────── */
.sc-auth-toggle-senha {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--sc-text-muted);
    cursor: pointer;
    padding: 2px;
    display: flex;
    align-items: center;
    z-index: 5;
    transition: color .2s;
}

.sc-auth-toggle-senha:hover { color: var(--sc-purple-light); }

/* ── Checkbox manter conectado ──────────────────────────── */
.sc-auth-check-label {
    color: #94a3b8;
    font-size: .85rem;
    cursor: pointer;
    user-select: none;
}

.sc-auth-check-label input[type="checkbox"] {
    accent-color: var(--sc-purple);
    width: 15px;
    height: 15px;
    cursor: pointer;
}

/* ── Link recuperar senha ───────────────────────────────── */
.sc-auth-link {
    color: var(--sc-purple-light);
    font-size: .85rem;
    text-decoration: none;
    transition: color .2s;
}

.sc-auth-link:hover {
    color: var(--sc-cyan-light);
    text-decoration: underline;
}

/* ── Botão principal ────────────────────────────────────── */
.sc-auth-btn {
    width: 100%;
    padding: .82rem;
    background: linear-gradient(135deg, var(--sc-purple), var(--sc-indigo));
    border: none;
    border-radius: .75rem;
    color: #fff;
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .4px;
    cursor: pointer;
    transition: opacity .2s, box-shadow .2s, transform .1s;
    box-shadow: 0 4px 24px rgba(124,58,237,.38);
    position: relative;
    overflow: hidden;
}

/* brilho interno no hover */
.sc-auth-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.12), transparent);
    opacity: 0;
    transition: opacity .2s;
}

.sc-auth-btn:hover:not(:disabled)::after { opacity: 1; }

.sc-auth-btn:hover:not(:disabled) {
    box-shadow: 0 6px 32px rgba(124,58,237,.55);
    transform: translateY(-1px);
}

.sc-auth-btn:active:not(:disabled) {
    transform: translateY(0);
}

.sc-auth-btn:disabled {
    opacity: .7;
    cursor: not-allowed;
}

/* ── Alerta de erro ─────────────────────────────────────── */
.sc-auth-alert {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: rgba(239, 68, 68, .1);
    border: 1px solid rgba(239, 68, 68, .25);
    border-radius: .65rem;
    color: #f87171;
    font-size: .85rem;
    padding: .7rem 1rem;
    margin-bottom: 1.25rem;
    animation: sc-card-in .3s ease both;
}

.sc-auth-alert--success {
    background: rgba(16, 185, 129, .1);
    border-color: rgba(16, 185, 129, .25);
    color: #34d399;
}

/* ── Rodapé do card ─────────────────────────────────────── */
.sc-auth-footer {
    text-align: center;
    margin-top: 1.75rem;
    color: #2a3a52;
    font-size: .78rem;
}

/* ── Responsividade ─────────────────────────────────────── */
@media (max-width: 480px) {
    .sc-auth-card {
        padding: 2rem 1.4rem 1.6rem;
        border-radius: 1.2rem;
    }
}


/* ============================================================
   DASHBOARD / PAINEL INTERNO
   ============================================================ */

/* ── Layout base ────────────────────────────────────────── */
.sc-dash-body {
    background: #070b14;
    color: #f1f5f9;
    min-height: 100vh;
    display: flex;
}

/* ── Sidebar ────────────────────────────────────────────── */
.sc-dash-sidebar {
    width: 240px;
    min-height: 100vh;
    background: rgba(10, 12, 22, 0.97);
    border-right: 1px solid rgba(124, 58, 237, 0.12);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 200;
    display: flex;
    flex-direction: column;
    transition: transform .28s cubic-bezier(.4,0,.2,1);
}

/* Logo da sidebar */
.sc-dash-sidebar-logo {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: 1.4rem 1.25rem 1rem;
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
    margin-bottom: .5rem;
}

.sc-dash-sidebar-logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, rgba(124,58,237,.35), rgba(6,182,212,.25));
    border: 1px solid rgba(167,139,250,.25);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 18px rgba(124,58,237,.35);
    flex-shrink: 0;
}

.sc-dash-sidebar-logo-text {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -.3px;
    background: linear-gradient(90deg, #a78bfa, #67e8f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Nav */
.sc-dash-nav {
    flex: 1;
    padding: .25rem .75rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.sc-dash-nav-label {
    display: block;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #334155;
    padding: .6rem .5rem .3rem;
}

.sc-dash-nav-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .62rem .75rem;
    color: #64748b;
    text-decoration: none;
    border-radius: .6rem;
    font-size: .88rem;
    font-weight: 500;
    border-left: 2px solid transparent;
    transition: color .18s, background .18s, border-color .18s;
    margin: 1px 0;
}

.sc-dash-nav-item:hover {
    color: #cbd5e1;
    background: rgba(124, 58, 237, .07);
}

.sc-dash-nav-item.active {
    color: #a78bfa;
    background: rgba(124, 58, 237, .12);
    border-left-color: #7C3AED;
}

.sc-dash-nav-item--logout { color: #475569; }
.sc-dash-nav-item--logout:hover { color: #ef4444; background: rgba(239, 68, 68, .07); }

/* ── Nav grupo com sub-itens ──────────────────────────── */
.sc-dash-nav-item--parent {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}
.sc-dash-nav-chevron {
    margin-left: auto;
    flex-shrink: 0;
    transition: transform .22s;
}
.sc-dash-nav-group.open .sc-dash-nav-chevron {
    transform: rotate(180deg);
}
.sc-dash-nav-sub {
    display: none;
    flex-direction: column;
    padding-left: 2.6rem;
    margin: 2px 0 4px;
}
.sc-dash-nav-group.open .sc-dash-nav-sub {
    display: flex;
}
.sc-dash-nav-subitem {
    display: block;
    padding: .45rem .75rem;
    color: #475569;
    text-decoration: none;
    font-size: .82rem;
    font-weight: 500;
    border-radius: .5rem;
    border-left: 2px solid transparent;
    transition: color .18s, background .18s, border-color .18s;
    margin: 1px 0;
}
.sc-dash-nav-subitem:hover {
    color: #cbd5e1;
    background: rgba(124, 58, 237, .06);
}
.sc-dash-nav-subitem.active {
    color: #a78bfa;
    background: rgba(124, 58, 237, .1);
    border-left-color: #7C3AED;
}

/* Footer da sidebar */
.sc-dash-sidebar-footer {
    padding: .75rem;
    border-top: 1px solid rgba(124, 58, 237, .1);
}

/* ── Área principal ─────────────────────────────────────── */
.sc-dash-main {
    margin-left: 240px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* ── Header ─────────────────────────────────────────────── */
.sc-dash-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 11, 20, .9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(124, 58, 237, .1);
    padding: .9rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.sc-dash-header-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0;
    line-height: 1.2;
}

.sc-dash-header-sub {
    font-size: .78rem;
    color: #475569;
    margin: 0;
}

/* Badge mercado aberto */
.sc-dash-market-badge {
    display: flex;
    align-items: center;
    gap: .45rem;
    font-size: .78rem;
    color: #64748b;
    background: rgba(16, 185, 129, .07);
    border: 1px solid rgba(16, 185, 129, .2);
    border-radius: 2rem;
    padding: .3rem .75rem;
}

.sc-dash-market-dot {
    width: 7px;
    height: 7px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 6px #10b981;
    animation: sc-pulse 2s ease-in-out infinite;
}

@keyframes sc-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: .4; }
}

/* Avatar */
.sc-dash-avatar {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, #7C3AED, #06B6D4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
}

/* Hamburger mobile */
.sc-dash-hamburger {
    background: none;
    border: 1px solid rgba(124, 58, 237, .2);
    border-radius: .5rem;
    padding: .35rem .45rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.sc-dash-hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background: #94a3b8;
    border-radius: 2px;
    transition: background .2s;
}

.sc-dash-hamburger:hover span { background: #a78bfa; }

/* ── Conteúdo ────────────────────────────────────────────── */
.sc-dash-content {
    padding: 1.6rem 1.75rem 2.5rem;
    flex: 1;
}

/* ── Cards base ─────────────────────────────────────────── */
.sc-dash-card {
    background: rgba(255, 255, 255, .025);
    border: 1px solid rgba(124, 58, 237, .12);
    border-radius: 1rem;
    padding: 1.4rem 1.5rem;
}

.sc-dash-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.sc-dash-card__title {
    font-size: .95rem;
    font-weight: 600;
    color: #f1f5f9;
    margin: 0 0 .15rem;
}

.sc-dash-card__sub {
    font-size: .78rem;
    color: #475569;
    margin: 0;
}

.sc-dash-card__link {
    font-size: .8rem;
    color: #7C3AED;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s;
}

.sc-dash-card__link:hover { color: #a78bfa; }

/* ── Stat cards ─────────────────────────────────────────── */
.sc-stat-card {
    background: rgba(255, 255, 255, .025);
    border: 1px solid rgba(124, 58, 237, .12);
    border-radius: 1rem;
    padding: 1.2rem 1.3rem;
    position: relative;
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}

.sc-stat-card:hover {
    border-color: rgba(124, 58, 237, .28);
    box-shadow: 0 0 24px rgba(124, 58, 237, .08);
}

.sc-stat-card__icon {
    width: 38px;
    height: 38px;
    border-radius: .65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .85rem;
}

.sc-stat-card__icon--purple { background: rgba(124, 58, 237, .15); color: #a78bfa; }
.sc-stat-card__icon--green  { background: rgba(16, 185, 129, .15); color: #34d399; }
.sc-stat-card__icon--orange { background: rgba(251, 146, 60, .15);  color: #fb923c; }
.sc-stat-card__icon--cyan   { background: rgba(6, 182, 212, .15);   color: #22d3ee; }
.sc-stat-card__icon--purple { background: rgba(124, 58, 237, .18);  color: #a78bfa; }

.sc-stat-card__label {
    font-size: .78rem;
    color: #64748b;
    margin: 0 0 .3rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.sc-stat-card__value {
    font-size: 1.55rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 .3rem;
    letter-spacing: -.5px;
    line-height: 1.1;
}

.sc-stat-card__value--green  { color: #34d399; }
.sc-stat-card__value--purple { color: #a78bfa; }

.sc-stat-card__sacar-btn {
    position: absolute;
    top: 1.2rem;
    right: 1.3rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .28rem .7rem;
    background: linear-gradient(135deg, var(--sc-purple), var(--sc-cyan));
    color: #fff;
    font-size: .75rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: opacity .2s, transform .15s;
}

.sc-stat-card__sacar-btn:hover { opacity: .85; transform: translateY(-1px); color: #fff; }

.sc-stat-card__sacar-btn--orange {
    background: linear-gradient(135deg, #f59e0b, #fb923c);
}

/* ── Seletor de quantidade (modal comprar posição) ───────── */
.sc-compra-qty-wrap {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(124,58,237,.35);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}

.sc-compra-qty-wrap:focus-within {
    border-color: rgba(124,58,237,.7);
    box-shadow: 0 0 0 3px rgba(124,58,237,.12);
}

.sc-compra-qty-btn {
    width: 52px;
    height: 56px;
    flex-shrink: 0;
    background: rgba(124,58,237,.12);
    border: none;
    color: var(--sc-purple-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s, color .15s;
}

.sc-compra-qty-btn:hover { background: rgba(124,58,237,.25); color: #fff; }
.sc-compra-qty-btn:active { background: rgba(124,58,237,.35); }

.sc-compra-qty-input {
    flex: 1;
    background: transparent;
    border: none;
    border-left: 1px solid rgba(124,58,237,.2);
    border-right: 1px solid rgba(124,58,237,.2);
    color: var(--sc-text);
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    padding: .6rem .5rem;
    outline: none;
    -moz-appearance: textfield;
}

.sc-compra-qty-input::-webkit-inner-spin-button,
.sc-compra-qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.sc-compra-preview {
    background: rgba(255,255,255,.04);
    border: 1px solid var(--sc-border);
    border-radius: 8px;
    padding: .75rem 1rem;
    margin-top: 1rem;
}

/* ── Alerta pendente no topo do painel ───────────────────── */
.sc-alerta-pendente {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    background: rgba(245, 158, 11, .08);
    border: 1px solid rgba(245, 158, 11, .3);
    border-radius: 10px;
    padding: .85rem 1.1rem;
    margin-bottom: 1.25rem;
    color: #fbbf24;
    font-size: .86rem;
    line-height: 1.5;
}

.sc-alerta-pendente__icone {
    flex-shrink: 0;
    margin-top: .1rem;
}

.sc-alerta-pendente__texto {
    color: var(--sc-text);
}

.sc-alerta-pendente__texto strong {
    color: #fbbf24;
    display: block;
    margin-bottom: .15rem;
}

.sc-alerta-pendente__link {
    color: var(--sc-cyan);
    text-decoration: none;
    font-weight: 600;
    margin-left: .35rem;
}

.sc-alerta-pendente__link:hover { text-decoration: underline; }

.sc-stat-card__change {
    font-size: .78rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: .2rem;
}

.sc-stat-card__change--up   { color: #34d399; }
.sc-stat-card__change--down { color: #f87171; }
.sc-stat-card__change--muted{ color: #475569; }

/* ── Card da mesa (override para fundo mais escuro) ───── */
.sc-mesa-card {
    background: #05040f;
    border-color: rgba(249,115,22,.18);
}

/* ── Card de indicação ───────────────────────────────── */
.sc-indicacao-card {
    border-color: rgba(124,58,237,.2);
}

/* Cabeçalho (ícone + texto) */
.sc-indicacao-criar,
.sc-indicacao-ativo {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin-bottom: 1rem;
}
.sc-indicacao-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: .75rem;
    background: rgba(124,58,237,.12);
    color: #a78bfa;
    flex-shrink: 0;
}
.sc-indicacao-icon--ativo {
    background: rgba(16,185,129,.1);
    color: #34d399;
}
.sc-indicacao-criar__titulo,
.sc-indicacao-ativo__titulo {
    font-size: .92rem;
    font-weight: 600;
    color: #f1f5f9;
    margin: 0 0 .2rem;
}
.sc-indicacao-criar__sub {
    font-size: .8rem;
    color: #64748b;
    margin: 0;
}
.sc-indicacao-criar__sub strong { color: #fb923c; font-weight: 600; }

/* Formulário de criação */
.sc-indicacao-form__grupo {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(124,58,237,.2);
    border-radius: .65rem;
    overflow: hidden;
}
.sc-indicacao-form__prefix {
    padding: 0 .75rem;
    color: #475569;
    font-size: .8rem;
    white-space: nowrap;
    border-right: 1px solid rgba(255,255,255,.07);
}
.sc-indicacao-form__input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    padding: .7rem .75rem;
    color: #e2e8f0;
    font-size: .88rem;
    min-width: 0;
}
.sc-indicacao-form__input::placeholder { color: #334155; }
.sc-indicacao-form__btn {
    padding: .7rem 1.2rem;
    background: linear-gradient(135deg, #7C3AED, #6d28d9);
    color: #fff;
    border: none;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity .18s;
}
.sc-indicacao-form__btn:hover { opacity: .88; }
.sc-indicacao-form__hint {
    font-size: .76rem;
    color: #475569;
    margin: .5rem 0 0;
}
.sc-indicacao-form__hint em { color: #64748b; font-style: normal; }

/* Link ativo */
.sc-indicacao-link {
    display: flex;
    align-items: center;
    gap: .75rem;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(124,58,237,.2);
    border-radius: .65rem;
    overflow: hidden;
    margin-bottom: .5rem;
}
.sc-indicacao-link__input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    padding: .75rem 1rem;
    color: #a78bfa;
    font-size: .85rem;
    min-width: 0;
}
.sc-indicacao-link__btn {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .7rem 1.2rem;
    background: linear-gradient(135deg, #7C3AED, #6d28d9);
    color: #fff;
    border: none;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: opacity .18s;
}
.sc-indicacao-link__btn:hover { opacity: .88; }
.sc-indicacao-link__hint {
    font-size: .76rem;
    color: #475569;
    margin: 0;
}

/* ════════════════════════════════════════════════════════
   MEUS DADOS
════════════════════════════════════════════════════════ */
.sc-md-wrap {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

/* Coluna avatar */
.sc-md-avatar-col { flex: 0 0 200px; }

.sc-md-avatar-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.8rem 1.2rem;
}
.sc-md-avatar-wrap {
    position: relative;
    margin-bottom: 1rem;
}
.sc-md-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7C3AED, #0ea5e9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: .5px;
}
.sc-md-avatar-cam {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #7C3AED;
    border: 2px solid #0f0e1a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .18s;
}
.sc-md-avatar-cam:hover { background: #6d28d9; }
.sc-md-avatar-name {
    font-size: .95rem;
    font-weight: 600;
    color: #f1f5f9;
    margin: 0 0 .2rem;
}
.sc-md-avatar-role {
    font-size: .78rem;
    color: #475569;
    margin: 0;
}

/* Coluna formulário */
.sc-md-form-col { flex: 1; min-width: 0; }

.sc-md-section { margin-bottom: 1.25rem; }
.sc-md-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 .2rem;
}
.sc-md-section-sub {
    font-size: .8rem;
    color: #475569;
    margin: 0 0 1.25rem;
}

/* Grid de campos */
.sc-md-field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.sc-md-field { display: flex; flex-direction: column; gap: .35rem; }
.sc-md-field--full { grid-column: 1 / -1; }

.sc-md-label {
    font-size: .78rem;
    font-weight: 600;
    color: #64748b;
    letter-spacing: .03em;
}
.sc-md-input-wrap {
    display: flex;
    align-items: center;
    gap: .6rem;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: .6rem;
    padding: 0 .9rem;
    transition: border-color .18s;
}
.sc-md-input-wrap:focus-within {
    border-color: rgba(124,58,237,.5);
}
.sc-md-input-wrap--readonly {
    background: rgba(255,255,255,.02);
    border-color: rgba(255,255,255,.05);
}
.sc-md-input-icon { color: #334155; flex-shrink: 0; }
.sc-md-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    padding: .7rem 0;
    color: #e2e8f0;
    font-size: .88rem;
    min-width: 0;
}
.sc-md-input[readonly] { color: #475569; cursor: default; }
.sc-md-input::placeholder { color: #334155; }

.sc-md-hint {
    font-size: .74rem;
    color: #334155;
    margin: 0;
}
.sc-md-hint--info {
    display: flex;
    align-items: center;
    gap: .4rem;
    color: #475569;
}
.sc-md-hint__link {
    color: #a78bfa;
    text-decoration: none;
    font-weight: 500;
}
.sc-md-hint__link:hover { text-decoration: underline; }

/* Seção RMCoin */
.sc-md-section--rmcoin {
    border-color: rgba(124,58,237,.2);
}
.sc-md-rmcoin-header {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    color: #a78bfa;
}
.sc-md-rmcoin-title {
    font-size: .92rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 .15rem;
}
.sc-md-rmcoin-sub {
    font-size: .78rem;
    color: #475569;
    margin: 0;
}
.sc-md-rmcoin-footer { margin-top: .9rem; }

/* Botão salvar */
.sc-md-actions { display: flex; justify-content: flex-end; }
.sc-md-save-btn {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .7rem 1.6rem;
    background: linear-gradient(135deg, #7C3AED, #6d28d9);
    color: #fff;
    border: none;
    border-radius: .65rem;
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .18s, box-shadow .18s;
    box-shadow: 0 4px 18px rgba(124,58,237,.3);
}
.sc-md-save-btn:hover { opacity: .9; box-shadow: 0 6px 22px rgba(124,58,237,.4); }

@media (max-width: 768px) {
    .sc-md-wrap { flex-direction: column; }
    .sc-md-avatar-col { flex: none; width: 100%; }
    .sc-md-field-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════
   MEUS INDICADOS
════════════════════════════════════════════════════════ */
.sc-ind-header { margin-bottom: 1.25rem; }
.sc-ind-titulo {
    font-size: 1.15rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 .3rem;
}
.sc-ind-subtitulo { display: flex; align-items: center; gap: 0; margin: 0; }
.sc-ind-stat      { font-size: .82rem; color: #475569; }
.sc-ind-stat strong { color: #94a3b8; }
.sc-ind-stat--ativo strong   { color: #34d399; }
.sc-ind-stat--pendente strong { color: #f59e0b; }
.sc-ind-sep { margin: 0 .5rem; color: #334155; font-size: .82rem; }

/* Toolbar */
.sc-ind-toolbar {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}
.sc-ind-filtros { display: flex; gap: .4rem; flex-wrap: wrap; flex: 1; }
.sc-ind-filtro {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .38rem .85rem;
    border-radius: 2rem;
    font-size: .78rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.03);
    color: #64748b;
    transition: border-color .15s, background .15s, color .15s;
}
.sc-ind-filtro:hover  { border-color: rgba(124,58,237,.4); color: #a78bfa; }
.sc-ind-filtro.ativo  { background: rgba(124,58,237,.15); border-color: rgba(124,58,237,.4); color: #a78bfa; }

.sc-ind-busca-wrap {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: .6rem;
    padding: 0 .8rem;
    width: 230px;
    flex-shrink: 0;
    transition: border-color .18s;
}
.sc-ind-busca-wrap:focus-within { border-color: rgba(124,58,237,.4); }
.sc-ind-busca-icon { color: #334155; flex-shrink: 0; }
.sc-ind-busca {
    background: none;
    border: none;
    outline: none;
    padding: .58rem 0;
    color: #e2e8f0;
    font-size: .82rem;
    width: 100%;
}
.sc-ind-busca::placeholder { color: #334155; }

/* Grid */
.sc-ind-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

/* Card */
.sc-ind-card {
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(124,58,237,.1);
    border-radius: 1rem;
    padding: 1.4rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .85rem;
    transition: border-color .2s, box-shadow .2s;
}
.sc-ind-card:hover {
    border-color: rgba(124,58,237,.3);
    box-shadow: 0 4px 20px rgba(124,58,237,.1);
}

.sc-ind-avatar-wrap { position: relative; display: inline-block; }
.sc-ind-avatar {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}
.sc-ind-status-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #0d0c1e;
}
.sc-ind-status-dot--ativo    { background: #10b981; }
.sc-ind-status-dot--pendente { background: #f59e0b; }
.sc-ind-status-dot--inativo  { background: #475569; }

.sc-ind-card-info { width: 100%; }
.sc-ind-card-nome {
    font-size: .9rem;
    font-weight: 600;
    color: #f1f5f9;
    margin: 0 0 .5rem;
}
.sc-ind-badges { display: flex; justify-content: center; gap: .4rem; margin-bottom: .6rem; }
.sc-ind-badge {
    font-size: .7rem;
    font-weight: 600;
    padding: .15rem .65rem;
    border-radius: 2rem;
}
.sc-ind-badge--ativo    { background: rgba(16,185,129,.12);  color: #34d399; border: 1px solid rgba(16,185,129,.2); }
.sc-ind-badge--pendente { background: rgba(245,158,11,.1);   color: #fbbf24; border: 1px solid rgba(245,158,11,.2); }
.sc-ind-badge--inativo  { background: rgba(71,85,105,.15);   color: #64748b; border: 1px solid rgba(71,85,105,.2); }

.sc-ind-meta {
    display: flex;
    justify-content: center;
    gap: .9rem;
    font-size: .75rem;
    color: #475569;
    flex-wrap: wrap;
}
.sc-ind-meta span { display: flex; align-items: center; gap: .3rem; }

.sc-ind-btn-contato {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    width: 100%;
    padding: .5rem 0;
    border-radius: .55rem;
    font-size: .78rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,.07);
    background: rgba(255,255,255,.03);
    color: #64748b;
    transition: border-color .15s, color .15s, background .15s;
}
.sc-ind-btn-contato:hover {
    border-color: rgba(124,58,237,.4);
    color: #a78bfa;
    background: rgba(124,58,237,.06);
}

/* Estado vazio */
.sc-ind-vazio {
    text-align: center;
    padding: 4rem 1rem;
    color: #334155;
}
.sc-ind-vazio svg { display: block; margin: 0 auto .75rem; opacity: .3; }
.sc-ind-vazio p   { font-size: .88rem; margin: 0; }

/* Modal */
.sc-ind-modal-bg {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1060;
    backdrop-filter: blur(3px);
}
.sc-ind-modal {
    background: #0f0e1a;
    border: 1px solid rgba(124,58,237,.2);
    border-radius: 1rem;
    width: 320px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.sc-ind-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.sc-ind-modal-titulo {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-size: .9rem;
    font-weight: 600;
    color: #f1f5f9;
    margin: 0;
}
.sc-ind-modal-fechar {
    background: none;
    border: none;
    color: #475569;
    cursor: pointer;
    padding: 0;
    display: flex;
    transition: color .15s;
}
.sc-ind-modal-fechar:hover { color: #f1f5f9; }
.sc-ind-modal-body { padding: .5rem 1.2rem 1rem; }

.sc-ind-contato-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .85rem 0;
    text-decoration: none;
    color: #e2e8f0;
    border-bottom: 1px solid rgba(255,255,255,.05);
    transition: color .15s;
}
.sc-ind-contato-link:last-child { border-bottom: none; }
.sc-ind-contato-link:hover      { color: #a78bfa; }
.sc-ind-contato-link--whatsapp:hover { color: #34d399; }

.sc-ind-contato-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sc-ind-contato-icon--email    { background: rgba(124,58,237,.15); color: #a78bfa; }
.sc-ind-contato-icon--whatsapp { background: rgba(16,185,129,.12); color: #34d399; }
.sc-ind-contato-label { display: block; font-size: .7rem; color: #475569; margin-bottom: .15rem; }
.sc-ind-contato-valor { display: block; font-size: .82rem; font-weight: 500; }

@media (max-width: 1024px) { .sc-ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  {
    .sc-ind-grid       { grid-template-columns: 1fr; }
    .sc-ind-busca-wrap { width: 100%; }
}

/* ════════════════════════════════════════════════════════
   ALTERAR SENHA
════════════════════════════════════════════════════════ */
.sc-as-wrap {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}
.sc-as-form-col { flex: 1; min-width: 0; }
.sc-as-tips-col { flex: 0 0 350px; }

.sc-as-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 .15rem;
}
.sc-as-section-sub {
    font-size: .8rem;
    color: #475569;
    margin: 0 0 1.4rem;
}

.sc-as-field { margin-bottom: 1.1rem; }
.sc-as-field:last-of-type { margin-bottom: 0; }

.sc-as-label {
    display: block;
    font-size: .78rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: .35rem;
    letter-spacing: .03em;
}
.sc-as-input-wrap {
    display: flex;
    align-items: center;
    gap: .6rem;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: .6rem;
    padding: 0 .9rem;
    transition: border-color .18s;
}
.sc-as-input-wrap:focus-within { border-color: rgba(124,58,237,.5); }
.sc-as-input-icon { color: #334155; flex-shrink: 0; }
.sc-as-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    padding: .72rem 0;
    color: #e2e8f0;
    font-size: .88rem;
    min-width: 0;
}
.sc-as-input::placeholder { color: #334155; }
.sc-as-toggle-pass {
    background: none;
    border: none;
    color: #334155;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    transition: color .18s;
    flex-shrink: 0;
}
.sc-as-toggle-pass:hover { color: #64748b; }

.sc-as-actions { display: flex; justify-content: flex-end; margin-top: 1.4rem; }
.sc-as-save-btn {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .7rem 1.6rem;
    background: linear-gradient(135deg, #7C3AED, #6d28d9);
    color: #fff;
    border: none;
    border-radius: .65rem;
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .18s, box-shadow .18s;
    box-shadow: 0 4px 18px rgba(124,58,237,.3);
}
.sc-as-save-btn:hover { opacity: .9; }

/* Card de dicas */
.sc-as-tips-card { padding: 1.2rem 1.4rem; }
.sc-as-tips-header {
    display: flex;
    align-items: center;
    gap: .55rem;
    color: #64748b;
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.sc-as-tip {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    font-size: .8rem;
    color: #475569;
    margin-bottom: .65rem;
    line-height: 1.4;
}
.sc-as-tip:last-child { margin-bottom: 0; }
.sc-as-tip svg { flex-shrink: 0; margin-top: 1px; color: #22d3ee; }
.sc-as-tip strong { color: #e2e8f0; font-weight: 600; }

@media (max-width: 768px) {
    .sc-as-wrap { flex-direction: column; }
    .sc-as-tips-col { flex: none; width: 100%; }
}

/* ── Mesa de negociação ─────────────────────────────────── */
.sc-mesa-num {
    display: inline-block;
    background: rgba(249,115,22,.15);
    border: 1px solid rgba(249,115,22,.3);
    color: #fb923c;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .05em;
    padding: .15rem .5rem;
    border-radius: .4rem;
    vertical-align: middle;
    margin-left: .4rem;
}

.sc-mesa-num--final {
    background: rgba(16,185,129,.15);
    border-color: rgba(16,185,129,.3);
    color: #10b981;
}

/* ── Fieldset Mesas ──────────────────────────────────── */
.sc-fieldset-mesas {
    border: 1px solid rgba(167,139,250,.18);
    border-radius: 12px;
    padding: 1.25rem 1.25rem 1rem;
}
.sc-fieldset-mesas__legend {
    float: none;
    width: auto;
    padding: 0 .75rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #a78bfa;
    background: transparent;
    margin-bottom: 0;
}
.sc-fieldset-mesas__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: 2.5rem 1rem;
    color: rgba(226,232,240,.35);
    text-align: center;
}
.sc-fieldset-mesas__empty svg {
    opacity: .4;
}
.sc-fieldset-mesas__empty p {
    margin: 0;
    font-size: .92rem;
}
.sc-fieldset-mesas__empty a {
    color: #f97316;
    text-decoration: underline;
    cursor: pointer;
}

.sc-mesa-svg {
    width: 100%;
    height: auto;
    display: block;
    margin: .5rem 0 .75rem;
}

.sc-mesa-stats {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,.02);
    border: 1px solid rgba(255,255,255,.05);
    border-radius: .65rem;
    padding: .65rem 1.25rem;
    margin-top: .25rem;
}

.sc-mesa-stat {
    flex: 1;
    text-align: center;
}

.sc-mesa-stat__label {
    display: block;
    font-size: .72rem;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: .25rem;
}

.sc-mesa-stat__value {
    display: block;
    font-size: .95rem;
    font-weight: 700;
    color: #e2e8f0;
}

.sc-mesa-stat__total { color: #475569; font-weight: 400; }
.sc-mesa-stat__value--muted { color: #64748b; }

.sc-mesa-stat__divider {
    width: 1px;
    height: 32px;
    background: rgba(255,255,255,.06);
    flex-shrink: 0;
    margin: 0 .5rem;
}

@media (max-width: 575.98px) {
    .sc-mesa-stats { gap: 0; padding: .5rem .75rem; }
    .sc-mesa-stat__label { font-size: .65rem; }
    .sc-mesa-stat__value { font-size: .85rem; }
}

/* ── Gráfico ─────────────────────────────────────────────── */
.sc-chart-wrap {
    display: flex;
    gap: .5rem;
    align-items: stretch;
    margin-bottom: .5rem;
}

.sc-chart-y-labels {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: .7rem;
    color: #334155;
    padding-bottom: 2px;
    min-width: 30px;
    text-align: right;
}

.sc-chart-area {
    flex: 1;
    min-height: 160px;
}

.sc-chart-area svg {
    width: 100%;
    height: 100%;
    display: block;
}

.sc-chart-x-labels {
    display: flex;
    justify-content: space-between;
    font-size: .7rem;
    color: #334155;
    padding-left: 36px;
}

/* Tabs do gráfico */
.sc-chart-tab {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(124,58,237,.15);
    border-radius: .4rem;
    color: #64748b;
    font-size: .75rem;
    padding: .25rem .6rem;
    cursor: pointer;
    transition: all .18s;
}

.sc-chart-tab:hover { color: #a78bfa; border-color: rgba(124,58,237,.3); }
.sc-chart-tab.active { background: rgba(124,58,237,.15); color: #a78bfa; border-color: rgba(124,58,237,.4); }

/* ── Watchlist ───────────────────────────────────────────── */
.sc-watchlist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sc-watchlist__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .7rem 0;
    border-bottom: 1px solid rgba(255,255,255,.04);
}

.sc-watchlist__item:last-child { border-bottom: none; }

.sc-watchlist__coin {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-width: 0;
}

.sc-watchlist__icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.sc-watchlist__icon--btc { background: rgba(251,146,60,.15); color: #fb923c; }
.sc-watchlist__icon--eth { background: rgba(124,58,237,.15); color: #a78bfa; }
.sc-watchlist__icon--sol { background: rgba(16,185,129,.15); color: #34d399; }
.sc-watchlist__icon--bnb { background: rgba(234,179,8,.15);  color: #facc15; }
.sc-watchlist__icon--ada { background: rgba(6,182,212,.15);  color: #22d3ee; }

.sc-watchlist__name {
    font-size: .85rem;
    font-weight: 600;
    color: #cbd5e1;
    margin: 0;
    white-space: nowrap;
}

.sc-watchlist__symbol {
    font-size: .72rem;
    color: #475569;
    margin: 0;
}

.sc-watchlist__spark {
    width: 60px;
    flex-shrink: 0;
}

.sc-watchlist__spark svg { width: 100%; height: 24px; display: block; }

.sc-watchlist__price {
    font-size: .85rem;
    font-weight: 600;
    color: #f1f5f9;
    margin: 0;
    white-space: nowrap;
}

.sc-watchlist__change {
    font-size: .75rem;
    margin: 0;
    white-space: nowrap;
}

.sc-watchlist__change--up   { color: #34d399; }
.sc-watchlist__change--down { color: #f87171; }

/* ── Tabela ──────────────────────────────────────────────── */
.sc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .875rem;
}

.sc-table thead th {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #475569;
    padding: .5rem .75rem .75rem;
    border-bottom: 1px solid rgba(124,58,237,.1);
    white-space: nowrap;
}

.sc-table tbody td {
    padding: .85rem .75rem;
    color: #94a3b8;
    border-bottom: 1px solid rgba(255,255,255,.03);
    vertical-align: middle;
}

.sc-table tbody tr:last-child td { border-bottom: none; }

.sc-table tbody tr:hover td { background: rgba(124,58,237,.04); }

.sc-table__asset {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: #cbd5e1;
    font-weight: 500;
}

.sc-table__asset-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.sc-table__asset-dot--btc { background: #fb923c; box-shadow: 0 0 6px #fb923c; }
.sc-table__asset-dot--eth { background: #a78bfa; box-shadow: 0 0 6px #a78bfa; }
.sc-table__asset-dot--sol { background: #34d399; box-shadow: 0 0 6px #34d399; }
.sc-table__asset-dot--bnb { background: #facc15; box-shadow: 0 0 6px #facc15; }

.sc-table__muted { color: #475569; font-size: .8rem; }

/* ── Badges ──────────────────────────────────────────────── */
.sc-badge {
    display: inline-flex;
    align-items: center;
    padding: .22rem .65rem;
    border-radius: 2rem;
    font-size: .72rem;
    font-weight: 600;
    white-space: nowrap;
    width: auto;
}

.sc-badge--buy     { background: rgba(16,185,129,.12);  color: #34d399; border: 1px solid rgba(16,185,129,.25);  }
.sc-badge--sell    { background: rgba(239,68,68,.12);   color: #f87171; border: 1px solid rgba(239,68,68,.25);   }
.sc-badge--success { background: rgba(16,185,129,.1);   color: #34d399; border: 1px solid rgba(16,185,129,.2);   }
.sc-badge--pending { background: rgba(234,179,8,.1);    color: #facc15; border: 1px solid rgba(234,179,8,.2);    }

/* ── Overlay mobile ──────────────────────────────────────── */
.sc-dash-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    z-index: 190;
    backdrop-filter: blur(2px);
}

.sc-dash-overlay.visible { display: block; }

/* ── Responsividade ──────────────────────────────────────── */
@media (max-width: 991.98px) {
    .sc-dash-sidebar {
        transform: translateX(-100%);
    }

    .sc-dash-sidebar.open {
        transform: translateX(0);
        box-shadow: 8px 0 32px rgba(0,0,0,.5);
    }

    .sc-dash-main {
        margin-left: 0;
    }
}

@media (max-width: 575.98px) {
    .sc-dash-content  { padding: 1rem 1rem 2rem; }
    .sc-dash-header   { padding: .75rem 1rem; }
    .sc-dash-market-badge { display: none; }
    .sc-stat-card__value  { font-size: 1.3rem; }
}


/* ============================================================
   FINANCEIRO — /financeiro
   ============================================================ */

/* Cabeçalho */
.sc-fin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: 1.5rem;
}

.sc-fin-titulo {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--sc-text);
    margin: 0 0 .2rem;
}

.sc-fin-subtitulo {
    font-size: .82rem;
    color: var(--sc-text-muted);
    margin: 0;
}

/* Navegação de período */
.sc-periodo-nav {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--sc-border);
    border-radius: 8px;
    padding: .35rem .6rem;
}

.sc-periodo-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    color: var(--sc-text-muted);
    text-decoration: none;
    transition: background .2s, color .2s;
}

.sc-periodo-btn:hover { background: rgba(255,255,255,.07); color: var(--sc-text); }
.sc-periodo-btn--disabled { opacity: .3; cursor: default; pointer-events: none; }

.sc-periodo-label {
    font-size: .83rem;
    font-weight: 600;
    color: var(--sc-text);
    min-width: 110px;
    text-align: center;
}

/* Card saldo disponível */
.sc-fin-saldo-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.4rem 1.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, rgba(124,58,237,.15) 0%, rgba(6,182,212,.08) 100%);
    border: 1px solid rgba(124,58,237,.3);
}

.sc-fin-saldo-left { display: flex; flex-direction: column; gap: .3rem; }

.sc-fin-saldo-label {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .78rem;
    color: var(--sc-text-muted);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.sc-fin-saldo-valor {
    font-size: 2rem;
    font-weight: 800;
    color: var(--sc-text);
    line-height: 1.1;
}

.sc-fin-btn-saque {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem 1.25rem;
    background: linear-gradient(135deg, var(--sc-purple), var(--sc-cyan));
    color: #fff;
    font-size: .85rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity .2s, transform .15s;
    flex-shrink: 0;
}

.sc-fin-btn-saque:hover:not(:disabled) { opacity: .88; transform: translateY(-1px); }
.sc-fin-btn-saque:disabled { opacity: .4; cursor: not-allowed; }

/* Cards de resumo do período */
.sc-fin-resumo {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.sc-fin-resumo-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
}

.sc-fin-resumo-icone {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sc-fin-resumo-card--credito .sc-fin-resumo-icone {
    background: rgba(16,185,129,.15);
    color: #10b981;
}

.sc-fin-resumo-card--debito .sc-fin-resumo-icone {
    background: rgba(239,68,68,.12);
    color: #ef4444;
}

.sc-fin-resumo-label {
    display: block;
    font-size: .75rem;
    color: var(--sc-text-muted);
    margin-bottom: .2rem;
}

.sc-fin-resumo-valor {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--sc-text);
}

/* Card do extrato */
.sc-fin-extrato-card { padding: 0; overflow: hidden; }

/* Estado vazio */
.sc-fin-vazio {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
    padding: 3rem 1rem;
    color: var(--sc-text-muted);
    text-align: center;
}

.sc-fin-vazio p { margin: 0; font-size: .9rem; }

/* Tabela desktop */
.sc-fin-tabela {
    width: 100%;
    border-collapse: collapse;
    font-size: .85rem;
}

.sc-fin-tabela thead th {
    padding: .75rem 1rem;
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--sc-text-muted);
    border-bottom: 1px solid var(--sc-border);
    white-space: nowrap;
}

.sc-fin-tabela tbody tr {
    border-bottom: 1px solid rgba(255,255,255,.04);
    transition: background .15s;
}

.sc-fin-tabela tbody tr:last-child { border-bottom: none; }
.sc-fin-tabela tbody tr:hover { background: rgba(255,255,255,.025); }

.sc-fin-tabela td {
    padding: .8rem 1rem;
    color: var(--sc-text);
    vertical-align: middle;
}

.sc-fin-td-data { color: var(--sc-text-muted); font-size: .8rem; white-space: nowrap; }
.sc-fin-td-desc { font-weight: 500; }

/* Badges tipo e subtipo */
.sc-fin-tipo, .sc-fin-subtipo {
    display: inline-block;
    padding: .2rem .55rem;
    border-radius: 20px;
    font-size: .72rem;
    font-weight: 600;
}

.sc-fin-tipo--credito { background: rgba(16,185,129,.15); color: #10b981; }
.sc-fin-tipo--debito  { background: rgba(239,68,68,.12);  color: #ef4444; }

.sc-fin-subtipo--bonus_indicacao { background: rgba(124,58,237,.2);  color: var(--sc-purple-light); }
.sc-fin-subtipo--comissao_mesa   { background: rgba(6,182,212,.15);  color: var(--sc-cyan); }
.sc-fin-subtipo--saque           { background: rgba(239,68,68,.12);  color: #ef4444; }
.sc-fin-subtipo--entrada         { background: rgba(16,185,129,.15); color: #10b981; }

/* Status */
.sc-fin-status {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .2rem .55rem;
    border-radius: 20px;
    font-size: .72rem;
    font-weight: 600;
}

.sc-fin-status--aprovado { background: rgba(16,185,129,.12); color: #10b981; }
.sc-fin-status--pendente { background: rgba(245,158,11,.12); color: #f59e0b; }

/* Valor */
.sc-fin-valor { font-weight: 700; font-size: .88rem; white-space: nowrap; }
.sc-fin-valor--credito { color: #10b981; }
.sc-fin-valor--debito  { color: #ef4444; }

/* Lista mobile */
.sc-fin-lista { display: flex; flex-direction: column; }

.sc-fin-item {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .9rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,.04);
}

.sc-fin-item:last-child { border-bottom: none; }

.sc-fin-item-icone {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sc-fin-item-icone--credito { background: rgba(16,185,129,.15); color: #10b981; }
.sc-fin-item-icone--debito  { background: rgba(239,68,68,.12);  color: #ef4444; }

.sc-fin-item-info {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    flex: 1;
    min-width: 0;
}

.sc-fin-item-desc {
    font-size: .85rem;
    font-weight: 500;
    color: var(--sc-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sc-fin-item-meta {
    font-size: .75rem;
    color: var(--sc-text-muted);
}

.sc-fin-item-valor {
    font-size: .85rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Modal saque */
.sc-fin-modal { max-width: 460px; }

.sc-fin-saque-saldo {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    background: rgba(124,58,237,.1);
    border: 1px solid rgba(124,58,237,.25);
    border-radius: 10px;
    padding: .9rem 1.1rem;
    margin-bottom: 1.25rem;
}

.sc-fin-saque-saldo-label {
    font-size: .75rem;
    color: var(--sc-text-muted);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.sc-fin-saque-saldo-valor {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--sc-text);
}

.sc-fin-campo { margin-bottom: 1rem; }

.sc-fin-campo-info {
    display: block;
    font-size: .75rem;
    color: var(--sc-text-muted);
    margin-top: .35rem;
}

/* Preview */
.sc-fin-preview {
    background: rgba(255,255,255,.04);
    border: 1px solid var(--sc-border);
    border-radius: 8px;
    padding: .75rem 1rem;
    margin-bottom: 1rem;
}

.sc-fin-preview-linha {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .83rem;
    color: var(--sc-text-muted);
    padding: .2rem 0;
}

.sc-fin-preview-linha--destaque {
    border-top: 1px solid var(--sc-border);
    margin-top: .3rem;
    padding-top: .5rem;
    color: var(--sc-text);
    font-weight: 600;
}

.sc-fin-preview-carteira {
    color: var(--sc-cyan);
    font-size: .8rem;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Carteira RMCoin info */
.sc-fin-carteira-info {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .65rem .9rem;
    border-radius: 8px;
    font-size: .83rem;
}

.sc-fin-carteira-info--ok {
    background: rgba(16,185,129,.1);
    border: 1px solid rgba(16,185,129,.25);
    color: #10b981;
}

.sc-fin-carteira-info--ok a {
    margin-left: auto;
    font-size: .75rem;
    color: var(--sc-cyan);
    text-decoration: none;
}

.sc-fin-carteira-info--sem {
    background: rgba(245,158,11,.08);
    border: 1px solid rgba(245,158,11,.2);
    color: #f59e0b;
}

.sc-fin-carteira-info--sem a {
    color: var(--sc-cyan);
    text-decoration: none;
}

/* Footer do modal */
.sc-fin-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: .75rem;
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--sc-border);
}

.sc-fin-btn-cancelar {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    color: var(--sc-text-muted);
    padding: .55rem 1.1rem;
    border-radius: 8px;
    font-size: .85rem;
    cursor: pointer;
    transition: background .2s;
}

.sc-fin-btn-cancelar:hover { background: rgba(255,255,255,.1); color: var(--sc-text); }

.sc-fin-btn-confirmar {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: linear-gradient(135deg, var(--sc-purple), var(--sc-cyan));
    color: #fff;
    border: none;
    padding: .55rem 1.25rem;
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .2s;
}

.sc-fin-btn-confirmar:disabled { opacity: .75; cursor: not-allowed; }
.sc-fin-btn-confirmar:hover:not(:disabled) { opacity: .88; }

@keyframes sc-spin { to { transform: rotate(360deg); } }
.sc-spinner { animation: sc-spin .8s linear infinite; flex-shrink: 0; }

/* ── Loading bloqueante ──────────────────────────────────── */
.sc-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(7, 11, 20, .85);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sc-loading-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--sc-border);
    border-radius: 16px;
    padding: 2.5rem 3rem;
}

.sc-loading-spinner {
    width: 48px;
    height: 48px;
    stroke: var(--sc-purple-light);
}

.sc-loading-texto {
    font-size: 1rem;
    font-weight: 600;
    color: var(--sc-text);
    margin: 0;
}

.sc-loading-sub {
    font-size: .8rem;
    color: var(--sc-text-muted);
    margin: 0;
}

/* Responsivo */
@media (max-width: 575.98px) {
    .sc-fin-resumo { grid-template-columns: 1fr; }
    .sc-fin-saldo-card { flex-direction: column; align-items: flex-start; }
    .sc-fin-btn-saque { width: 100%; justify-content: center; }
    .sc-fin-saldo-valor { font-size: 1.5rem; }
}

