/* ==========================================================================
   Design System & Variáveis de Estilo (Dark Fintech)
   ========================================================================== */
:root {
    --bg-dark: #080c15;
    --bg-card: rgba(15, 23, 42, 0.65);
    --bg-card-hover: rgba(30, 41, 59, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(249, 115, 22, 0.2);
    
    /* Cores de Acento */
    --accent-glow: #0088ff;
    --accent-neon: #f97316;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Estados Semânticos */
    --success: #10b981;
    --success-bg: rgba(16, 185, 129, 0.15);
    --danger: #ef4444;
    --danger-bg: rgba(239, 68, 68, 0.15);
    --warning: #f59e0b;
    --warning-bg: rgba(245, 158, 11, 0.15);
    
    /* Transições */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   Reset & Estilos Gerais
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

p {
    color: var(--text-secondary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-fluid {
    width: 100%;
    padding: 0 2rem;
}

.text-center { text-align: center; }
.text-neon-green { color: var(--success) !important; }
.text-red { color: var(--danger) !important; }

/* ==========================================================================
   Animações Globais
   ========================================================================== */
@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; filter: blur(40px); }
    50% { opacity: 0.8; filter: blur(60px); }
}

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

@keyframes pulseDot {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

/* ==========================================================================
   Elementos de Layout & Grid
   ========================================================================== */
.main-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #040917;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.6rem 0;
}

.brand-logo-img {
    height: 38px;
    width: auto;
    display: block;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.nav-links a:hover {
    color: #ffffff;
}

.btn-nav-mvp {
    background: linear-gradient(135deg, var(--accent-glow), #4c1d95);
    color: #ffffff !important;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(127, 0, 255, 0.25);
}

.btn-nav-mvp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(127, 0, 255, 0.4);
}

/* Hero Section */
.hero-section {
    padding: 7rem 0 5rem;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.badge-tag {
    display: inline-block;
    padding: 0.35rem 0.8rem;
    border-radius: 99px;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.2);
    color: var(--accent-neon);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-neon), var(--accent-glow));
    color: #0b0f19;
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 242, 254, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Radar Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 6s ease-in-out infinite;
}

.hero-dash-mockups {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 400px;
    perspective: 1000px;
}

.dash-mockup {
    position: absolute;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    object-fit: cover;
    object-position: top center;
}

.dash-mockup-back {
    top: 0;
    right: 0;
    width: 85%;
    height: 80%;
    transform: translateZ(-50px) rotateY(-5deg) translateY(20px);
    opacity: 0.6;
    animation: floatBack 8s ease-in-out infinite;
}

.dash-mockup-front {
    bottom: 0;
    left: 0;
    width: 90%;
    height: 75%;
    transform: translateZ(50px) rotateY(5deg);
    z-index: 2;
    box-shadow: 0 30px 60px rgba(0, 242, 254, 0.2);
    animation: floatFront 8s ease-in-out infinite reverse;
}

@keyframes floatBack {
    0%, 100% { transform: translateZ(-50px) rotateY(-5deg) translateY(20px); }
    50% { transform: translateZ(-50px) rotateY(-5deg) translateY(5px); }
}

@keyframes floatFront {
    0%, 100% { transform: translateZ(50px) rotateY(5deg) translateY(0); }
    50% { transform: translateZ(50px) rotateY(5deg) translateY(-15px); }
}

/* Seções Básicas */
.section-padding {
    padding: 6rem 0;
}

.bg-slate {
    background-color: #0c1220;
}

.dark-section {
    background-color: #080c14;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 40%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   Cards & Comparativos (O Problema vs A Solução)
   ========================================================================== */
.split-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
    backdrop-filter: blur(12px);
}

.card:hover {
    transform: translateY(-4px);
}

.card-chaos {
    border-left: 4px solid #ef4444;
    background: rgba(239, 68, 68, 0.02);
    border: 1px solid rgba(239, 68, 68, 0.1);
    border-left: 4px solid #ef4444;
}

.card-chaos:hover {
    border-color: #f87171;
    background: rgba(239, 68, 68, 0.04);
    box-shadow: 0 8px 30px rgba(239, 68, 68, 0.15);
}

.card-order {
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-left: 4px solid var(--accent-neon);
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.6), rgba(0, 242, 254, 0.05));
    box-shadow: 0 10px 40px rgba(0, 242, 254, 0.1);
    transform: scale(1.02);
}

.card-order:hover {
    border-color: #38bdf8;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.8), rgba(0, 242, 254, 0.1));
    box-shadow: 0 15px 50px rgba(0, 242, 254, 0.25);
    transform: scale(1.04);
}

.card-icon {
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.card ul {
    list-style: none;
}

.card ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.card-chaos ul li::before {
    content: "✕";
    position: absolute;
    left: 0;
    color: #ef4444;
    font-weight: bold;
}

.card-order ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-neon);
    font-weight: bold;
}

/* ==========================================================================
   Diferenciais Técnicos
   ========================================================================== */
.features-detailed-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.tech-item {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.2rem;
    transition: var(--transition-smooth);
}

.tech-item:hover {
    border-color: rgba(0, 242, 254, 0.15);
    background: rgba(15, 23, 42, 0.6);
}

.tech-head {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}

.tech-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sec-icon { background: rgba(127, 0, 255, 0.15); color: #c084fc; }
.api-icon { background: rgba(0, 242, 254, 0.15); color: #22d3ee; }
.db-icon { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.ai-icon { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }

.tech-item h3 {
    font-size: 1.25rem;
}

.tech-desc {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.tech-list {
    list-style: none;
}

.tech-list li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
    position: relative;
    padding-left: 1.2rem;
}

.tech-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-neon);
}

/* ==========================================================================
   Comercial & Simulador
   ========================================================================== */
.relative { position: relative; }
.glow-bg {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(127, 0, 255, 0.08) 0%, rgba(0, 242, 254, 0) 70%);
    z-index: 0;
    pointer-events: none;
    animation: pulseGlow 10s ease-in-out infinite;
}
.gb-left { top: 10%; left: -10%; }

.proposal-container-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.pricing-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.9) 0%, rgba(8, 12, 21, 0.95) 100%);
    border: 1px solid rgba(127, 0, 255, 0.25);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(127, 0, 255, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 30px;
    background: var(--accent-neon);
    color: #080c14;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.35rem 0.9rem;
    border-radius: 99px;
    letter-spacing: 0.05em;
}

.pricing-card h2 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.setup-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.price-value {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
}

.price-value .currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-neon);
}

.price-value .amount {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
}

.price-value .period {
    font-size: 1rem;
    color: var(--text-secondary);
}

.infra-alert {
    display: flex;
    gap: 0.75rem;
    background: rgba(245, 158, 11, 0.06);
    border: 1px solid rgba(245, 158, 11, 0.15);
    padding: 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    color: #fbbf24;
    margin-bottom: 2rem;
}

.infra-alert svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.1), rgba(255,255,255,0));
    margin-bottom: 2rem;
}

.maintenance-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.plan-selector {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.plan-option {
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 14px;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
}

.plan-option:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.plan-option.active {
    border-color: var(--accent-neon);
    background: rgba(0, 242, 254, 0.03);
    box-shadow: 0 4px 16px rgba(0, 242, 254, 0.08);
}

.plan-radio {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--text-muted);
    margin-right: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.plan-option.active .plan-radio {
    border-color: var(--accent-neon);
}

.plan-option.active .plan-radio::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--accent-neon);
}

.plan-details {
    display: flex;
    flex-direction: column;
}

.plan-months {
    font-weight: 600;
    font-size: 1rem;
}

.plan-price {
    font-size: 0.9rem;
    color: var(--accent-neon);
}

.plan-discount-tag {
    position: absolute;
    right: 1.2rem;
    background: rgba(16, 185, 129, 0.12);
    color: var(--success);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
}

.total-calc-box {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: auto;
}

.calc-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.calc-row hr {
    border-color: var(--border-color);
    margin: 0.75rem 0;
}

.calc-row.total {
    margin-bottom: 0;
    font-weight: 700;
    font-size: 1.15rem;
}

.calc-row.total span:last-child {
    color: var(--accent-neon);
}

/* Escopo da Proposta */
.proposal-scope-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.proposal-scope-card h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.scope-list {
    list-style: none;
}

.scope-list li {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.scope-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.scope-list h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.scope-list p {
    font-size: 0.9rem;
}

.next-step-box {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 1rem;
}

.next-step-box h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.next-step-box p {
    font-size: 0.9rem;
}

/* ==========================================================================
   Dashboard MVP (Tema Claro / Fundo Branco)
   ========================================================================== */
.border-top-glow {
    border-top: 1px solid rgba(249, 115, 22, 0.15);
    position: relative;
}

/* Mockup Layout */
.dashboard-mockup {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 700px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
    color: #0f172a;
}

/* Sidebar Dashboard (Tema Escuro - #040917) */
.dash-sidebar {
    background: #040917;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
}

.dash-sidebar-header {
    margin-bottom: 2.5rem;
    padding: 0 0.5rem;
}

.app-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(249, 115, 22, 0.08);
    border: 1px solid rgba(249, 115, 22, 0.2);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
}

.pulse-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-neon);
    box-shadow: 0 0 6px var(--accent-neon);
    animation: pulseDot 2s infinite;
}

.indicator-text {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-neon);
    letter-spacing: 0.05em;
}

.dash-menu {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.menu-item svg {
    flex-shrink: 0;
}

.menu-item:hover, .menu-item.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.menu-item.active {
    background: rgba(249, 115, 22, 0.1);
    color: #ffffff;
    border-left: 3px solid var(--accent-neon);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.menu-item.disabled-item {
    opacity: 0.3;
    cursor: not-allowed;
    display: flex;
    justify-content: space-between;
}

.menu-item.disabled-item:hover {
    background: transparent;
    color: #94a3b8;
}

.lock-icon {
    color: rgba(255, 255, 255, 0.3);
}

.sidebar-user-card {
    margin-top: auto;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.8rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent-neon), var(--accent-glow));
    border-radius: 50%;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffff;
}

.user-role {
    font-size: 0.7rem;
    color: #94a3b8;
}

/* Painel de Conteúdo */
.dash-content {
    background: #ffffff;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-height: 800px;
    overflow-y: auto;
}

.dash-content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1.5rem;
}

.dash-title {
    font-size: 1.6rem;
    color: #0f172a;
}

.dash-filters {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.filter-group label {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
}

.filter-group select {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    outline: none;
    cursor: pointer;
    min-width: 140px;
    transition: var(--transition-fast);
}

.filter-group select:focus {
    border-color: var(--accent-neon);
}

.btn-dash-export {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-dash-export:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

/* Banner de Alerta (Aegis) */
.dash-alert-bar {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: 8px;
    padding: 0.75rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.alert-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ef4444;
    box-shadow: 0 0 6px #ef4444;
    flex-shrink: 0;
    animation: pulseDot 2s infinite;
}

.dash-alert-bar p {
    font-size: 0.85rem;
    color: #991b1b;
}

.dash-alert-bar a {
    color: #7f1d1d;
    text-decoration: underline;
    font-weight: 600;
}

/* Grid de Métricas */
.dash-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.metric-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.metric-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.metric-card-header span {
    font-size: 0.8rem;
    color: #475569;
    font-weight: 500;
}

.metric-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.t-tpv { background: rgba(0, 136, 255, 0.08); color: #0088ff; }
.t-margin { background: rgba(249, 115, 22, 0.08); color: var(--accent-neon); }
.t-conversion { background: rgba(16, 185, 129, 0.08); color: #10b981; }
.t-chargeback { background: rgba(239, 68, 68, 0.08); color: #ef4444; }

.metric-value {
    font-size: 1.6rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.metric-footer {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
}

.trend {
    display: inline-flex;
    align-items: center;
    gap: 0.1rem;
    font-weight: 600;
}

.trend.positive { color: #059669; }
.trend.negative { color: #dc2626; }
.trend.neutral { color: #475569; }

.footer-desc {
    color: #94a3b8;
}

/* Gráfico e Tabela Grid */
.dash-data-section {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.5rem;
}

.dash-chart-card, .dash-table-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.chart-header, .table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.chart-header h3, .table-header h3 {
    font-size: 0.95rem;
    color: #0f172a;
    font-weight: 600;
}

.chart-legends {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #475569;
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.tpv-dot { background-color: #002060; }
.margin-dot { background-color: #f97316; }

.chart-body {
    height: 180px;
    display: flex;
    align-items: flex-end;
}

/* Elementos SVG Gráfico (Tema Claro) */
#finance-chart path.chart-area-tpv {
    fill: url(#tpvGrad);
}

#finance-chart path.chart-area-margin {
    fill: url(#marginGrad);
}

#finance-chart path.chart-line-tpv {
    stroke: #002060;
    stroke-width: 2.5;
    fill: none;
}

#finance-chart path.chart-line-margin {
    stroke: #f97316;
    stroke-width: 2.5;
    fill: none;
}

#finance-chart circle.chart-dot {
    fill: #ffffff;
    stroke-width: 2.5;
    cursor: pointer;
    transition: var(--transition-fast);
}

#finance-chart circle.chart-dot:hover {
    r: 6;
}

#finance-chart text.chart-label {
    fill: #64748b;
    font-size: 9px;
    font-family: 'Inter', sans-serif;
}

/* Tabela */
.table-badge {
    font-size: 0.75rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    color: #475569;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.dash-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.85rem;
}

.dash-table th {
    color: #475569;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
}

.dash-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

.dash-table tbody tr {
    cursor: pointer;
    transition: var(--transition-fast);
}

.dash-table tbody tr:hover {
    background: #f8fafc;
}

.client-name-cell {
    display: flex;
    flex-direction: column;
}

.client-name {
    color: #0f172a;
    font-weight: 600;
}

.client-cnpj {
    font-size: 0.7rem;
    color: #64748b;
}

.method-cell {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-brand-icon {
    width: 24px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Status Badges */
.badge-status {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-status.aprovada {
    background-color: rgba(16, 185, 129, 0.1);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-status.negada {
    background-color: rgba(239, 68, 68, 0.1);
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.badge-status.chargeback {
    background-color: rgba(245, 158, 11, 0.1);
    color: #b45309;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

/* ==========================================================================
   Drawer Lateral (Slide-out Details Panel - Tema Claro)
   ========================================================================== */
.dash-drawer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 380px;
    background: #ffffff;
    border-left: 1px solid #e2e8f0;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    z-index: 10;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform var(--transition-smooth);
}

.dash-drawer.open {
    transform: translateX(0);
}

.drawer-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-header h3 {
    font-size: 1.1rem;
    color: #0f172a;
}

.btn-close-drawer {
    background: transparent;
    border: 0;
    color: #475569;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.btn-close-drawer:hover {
    color: #0f172a;
    background: #f1f5f9;
}

.drawer-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

/* Blocos no Drawer */
.drawer-section-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.8rem;
}

.client-meta-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
}

.meta-row:last-child { margin-bottom: 0; }
.meta-row span:first-child { color: #64748b; }
.meta-row span:last-child { color: #0f172a; font-weight: 500; }

/* Donut Chart CSS */
.donut-chart-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.donut-graphic {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.donut-inner {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ffffff;
    color: #0f172a;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.donut-labels {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.75rem;
}

.donut-label-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #475569;
}

.donut-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.donut-dot.seller { background-color: #10b981; }
.donut-dot.zoop { background-color: #002060; }
.donut-dot.monedd { background-color: #f97316; }

/* IA Insights no Drawer */
.ai-insights-box {
    background: #fff7ed;
    border: 1px solid #ffedd5;
    border-radius: 10px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ai-insights-box h4 {
    color: #ea580c;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ai-insights-box p {
    font-size: 0.82rem;
    color: #c2410c;
    line-height: 1.5;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer {
    background-color: #05080c;
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
    color: var(--text-muted);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.footer-links p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Responsividade
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-visual {
        order: -1;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .split-cards-grid, .features-detailed-grid, .proposal-container-grid, .dash-data-section {
        grid-template-columns: 1fr;
    }

    .dash-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dashboard-mockup {
        grid-template-columns: 1fr;
    }

    .dash-sidebar {
        border-right: 0;
        border-bottom: 1px solid var(--border-color);
    }

    .dash-metrics-grid {
        grid-template-columns: 1fr;
    }

    .dash-filters {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .dash-drawer {
        width: 100%;
        position: fixed;
    }
}

/* ==========================================================================
   Modo Apresentação (Slides & Controles)
   ========================================================================== */
.presentation-wrapper {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: #080c15;
}

.slide-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.97) translateY(15px);
    overflow-y: auto;
    padding: 3.5rem 1.5rem 2.5rem; /* Ajustado para compactar e evitar scroll */
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-section.active-slide {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1) translateY(0);
    z-index: 10;
}

/* Ajustes de Redimensionamento do Menu e Logos */
@media (min-width: 1024px) {
    .brand-logo-img {
        height: 60px !important; /* Aumentado ainda mais para destaque */
        width: auto;
    }
}

/* Centralização do conteúdo dos slides */
.slide-section > .container,
.slide-section > .container-fluid {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
}

#slide-hero {
    background: #040917; /* Fundo idêntico ao header */
    align-items: flex-start !important;
    padding-top: 6rem !important; /* ~80px header + 16px folga confortável */
}

#slide-hero .badge-tag {
    margin-bottom: 0.75rem;
}

#slide-hero .hero-container {
    gap: 2rem; /* Reduzir gap entre colunas para compactar */
    align-items: center;
}

/* Slide de proposta: garantir que o título não seja cortado */
#slide-proposta {
    align-items: flex-start !important;
    padding-top: 4.5rem !important;
}

/* Primeira Dobra (Slide 1): Logo Ampliado em 400% e Título Compacto */
.hero-logo-large-container {
    display: block;
    margin-bottom: 0.75rem; /* Compactado */
}

.hero-logo-large {
    height: 110px; /* Reduzido de 120px para melhor encaixe em telas normais */
    width: auto;
    max-width: 100%;
    display: block;
    filter: none; /* Removida a sombra/borda por solicitação do usuário */
}

.price-conditions {
    font-size: 0.72rem;
    color: #94a3b8;
    margin: 0.25rem 0 0.75rem;
    font-style: italic;
    line-height: 1.3;
}

.hero-title-compact {
    font-size: 2.1rem; /* Compactado */
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 0.75rem; /* Compactado */
    letter-spacing: -0.02em;
}

.hero-desc {
    font-size: 0.92rem; /* Compactado */
    line-height: 1.45;
    margin-bottom: 1.25rem; /* Compactado */
    max-width: 550px;
}

/* Enquadramento Geral: Redução de Margens e Padding para evitar rolagem */
.section-header {
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section-header .section-subtitle {
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Diferenciais Técnicos: Carrossel Dinâmico de 2 em 2 */
.tech-carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding-bottom: 1rem;
}

.tech-carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 200%; /* Duas páginas de 100% cada */
}

.tech-carousel-page {
    width: 50%; /* Cada página ocupa 100% do container */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 0.5rem;
    box-sizing: border-box;
}

.tech-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition-fast);
}

.tech-carousel-dot:hover {
    background: rgba(255, 255, 255, 0.4);
}

.tech-carousel-dot.active {
    background: var(--accent-neon);
    box-shadow: 0 0 6px var(--accent-neon);
    width: 20px;
    border-radius: 4px;
}

@media (max-width: 992px) {
    .tech-carousel-container {
        overflow: visible;
    }
    .tech-carousel-track {
        display: flex;
        flex-direction: column;
        width: 100% !important;
        transform: none !important;
        gap: 1.25rem;
    }
    .tech-carousel-page {
        width: 100% !important;
        grid-template-columns: 1fr;
        padding: 0;
    }
    .tech-carousel-dots {
        display: none !important;
    }
}

/* Slide 4 (Proposta/Valores) Compactado */
.proposal-container-grid {
    gap: 1.5rem;
}

.pricing-card.card-premium, 
.proposal-scope-card {
    padding: 1.5rem;
}

.pricing-card h2 {
    font-size: 1.5rem;
}

.scope-list li {
    margin-bottom: 0.75rem;
}

.scope-list p {
    font-size: 0.8rem;
}

.scope-list h4 {
    font-size: 0.9rem;
    margin-bottom: 0.1rem;
}

/* Controles de Navegação Globais da Apresentação */
.presentation-controls {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(8, 12, 21, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
}

.control-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.control-btn:hover {
    color: var(--accent-neon);
    background: rgba(255, 255, 255, 0.05);
}

.slide-dots {
    display: flex;
    gap: 0.6rem;
}

.slide-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: var(--transition-fast);
}

.slide-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.slide-dot.active {
    background: var(--accent-neon);
    box-shadow: 0 0 8px var(--accent-neon);
    width: 24px;
    border-radius: 4px;
}

/* ==========================================================================
   Modo MVP em Tela Cheia e Modal de Boas-vindas
   ========================================================================== */
body.mvp-mode {
    overflow: hidden;
}

body.mvp-mode .main-header,
body.mvp-mode .main-footer,
body.mvp-mode .presentation-controls {
    display: none !important;
}

body.mvp-mode .presentation-wrapper {
    height: 100vh;
    width: 100vw;
}

body.mvp-mode #slide-mvp {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100vw;
    height: 100vh;
}

body.mvp-mode #slide-mvp > .container-fluid {
    width: 100%;
    height: 100%;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.mvp-mode .dashboard-mockup {
    height: 100vh;
    border-radius: 0;
    border: none;
    margin: 0;
    max-width: 100% !important;
}

/* Modal de Boas-vindas do MVP */
.mvp-welcome-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 9, 23, 0.9);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: 1.5rem;
    box-sizing: border-box;
}

.mvp-welcome-modal.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.mvp-welcome-content {
    background: #ffffff;
    color: #0f172a;
    padding: 3rem 2.5rem;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: modalSlideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mvp-welcome-icon-box {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(249, 115, 22, 0.1);
    color: var(--accent-neon);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.pulsing-icon {
    animation: iconPulse 2s infinite;
}

.mvp-welcome-desc {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 1rem 0 2rem;
}

.btn-start-mvp {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
}

@keyframes modalSlideUp {
    from {
        transform: translateY(30px) scale(0.96);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes iconPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
        filter: drop-shadow(0 0 8px var(--accent-neon));
    }
    100% {
        transform: scale(1);
    }
}

/* Botão de Saída do MVP */
.btn-exit-mvp {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.3);
    color: #ffffff;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition-fast);
    margin: 1rem 0.5rem;
    cursor: pointer;
}

.btn-exit-mvp:hover {
    background: var(--accent-neon);
    border-color: var(--accent-neon);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.4);
}

/* Aviso de Preview no MVP */
.mvp-disclaimer-banner {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: #fff7ed;
    border: 1px solid #ffedd5;
    border-left: 4px solid var(--accent-neon);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    color: #c2410c;
    font-size: 0.85rem;
    line-height: 1.4;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.disclaimer-icon {
    flex-shrink: 0;
    color: var(--accent-neon);
    display: flex;
}

/* ==========================================================================
   Novos Estilos de Precificação Estática (Slide 4)
   ========================================================================== */
.maintenance-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.maintenance-option-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.5rem;
    border-radius: 12px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: var(--transition-normal);
}

.maintenance-option-card.highlighted {
    background: rgba(249, 115, 22, 0.03);
    border: 1px solid rgba(249, 115, 22, 0.25);
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.05);
}

.maint-badge {
    position: absolute;
    top: -10px;
    right: 15px;
    background: var(--accent-neon);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.maint-months {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.maintenance-option-card.highlighted .maint-months {
    color: var(--accent-neon);
}

.maint-price-box {
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
}

.maint-currency {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
}

.maint-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.maint-period {
    font-size: 0.85rem;
    color: #64748b;
}

/* ==========================================================================
   Estilização Compacta do Rodapé
   ========================================================================== */
.main-footer {
    padding: 1.25rem 0;
    background: #040917;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #64748b;
    font-size: 0.8rem;
    z-index: 50;
    position: relative;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo p {
    margin: 0;
    font-size: 0.85rem;
}

.footer-links p {
    margin: 0;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .maintenance-options-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Etapa 2 — MVP em Tela Cheia & Sistema de Abas
   ========================================================================== */

/* Quando o body tem a classe mvp-fullscreen, oculta header, footer e controles */
body.mvp-fullscreen .main-header,
body.mvp-fullscreen .main-footer,
body.mvp-fullscreen .presentation-controls {
    display: none !important;
}

/* O slide MVP em modo tela cheia ocupa 100vh sem o offset do header */
body.mvp-fullscreen #slide-mvp {
    top: 0 !important;
    height: 100vh !important;
    padding-top: 0 !important;
}

/* Dashboard ocupa toda a altura disponível em modo tela cheia */
body.mvp-fullscreen .dashboard-mockup {
    height: 100vh;
    border-radius: 0;
    border: none;
    box-shadow: none;
}

/* ==========================================================================
   Sistema de Tabs (Abas do Dashboard)
   ========================================================================== */
.dash-tab-panel {
    display: none;
    animation: tabFadeIn 0.25s ease;
}

.dash-tab-panel.active-tab-panel {
    display: block;
}

@keyframes tabFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Item de menu ativo no sidebar */
.dash-menu .menu-item.active {
    background: rgba(249, 115, 22, 0.12);
    color: #f97316;
    border-left: 3px solid #f97316;
}

.dash-menu .menu-item.active svg {
    stroke: #f97316;
}

/* Transição suave no hover dos itens de menu */
.dash-menu .menu-item {
    transition: background 0.18s ease, color 0.18s ease, border-left-color 0.18s ease;
    border-left: 3px solid transparent;
}

/* ==========================================================================
   Estado "Coming Soon" — Abas ainda não implementadas
   ========================================================================== */
.tab-coming-soon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 2rem;
    min-height: calc(100vh - 200px);
    color: #94a3b8;
    gap: 1rem;
}

.coming-soon-icon {
    width: 96px;
    height: 96px;
    background: rgba(249, 115, 22, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    border: 1.5px dashed rgba(249, 115, 22, 0.3);
}

.coming-soon-icon svg {
    stroke: rgba(249, 115, 22, 0.6);
}

.tab-coming-soon h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #475569;
    margin: 0;
}

.tab-coming-soon p {
    font-size: 0.88rem;
    max-width: 420px;
    line-height: 1.6;
    color: #94a3b8;
    margin: 0;
}

/* ==========================================================================
   NEW DASHBOARD REDESIGN STYLES
   ========================================================================== */

/* 1. Dashboard Structural Layout */
.kpi-grid-6 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.kpi-card-enhanced {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.kpi-card-enhanced:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
}

.kpi-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    z-index: 2;
}

.kpi-label {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
}

.kpi-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}
.icon-tpv { background: linear-gradient(135deg, #1e3a8a, #3b82f6); }
.icon-margin { background: linear-gradient(135deg, #047857, #10b981); }
.icon-approval { background: linear-gradient(135deg, #b45309, #f59e0b); }
.icon-chargeback { background: linear-gradient(135deg, #991b1b, #ef4444); }
.icon-txcount { background: linear-gradient(135deg, #4338ca, #6366f1); }
.icon-sellers { background: linear-gradient(135deg, #c2410c, #f97316); }

.kpi-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
    z-index: 2;
    font-family: 'Outfit', sans-serif;
}
.text-success { color: #10b981 !important; }
.text-danger { color: #ef4444 !important; }

.kpi-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    z-index: 2;
}

.kpi-trend {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
}
.kpi-trend.positive { background: rgba(16, 185, 129, 0.1); color: #059669; }
.kpi-trend.negative { background: rgba(239, 68, 68, 0.1); color: #dc2626; }
.kpi-trend.neutral { background: rgba(100, 116, 139, 0.1); color: #475569; }

.kpi-desc { color: #94a3b8; }

.kpi-sparkline {
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 50px;
    opacity: 0.2;
    z-index: 1;
    pointer-events: none;
}

/* Auto Refresh Bar */
.auto-refresh-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.refresh-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

.refresh-pulse {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    animation: pulseDot 2s infinite;
}

.btn-refresh {
    background: none;
    border: none;
    color: #475569;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
    font-weight: 600;
    transition: color 0.2s;
}
.btn-refresh:hover { color: #0f172a; }

/* Period Pills */
.period-pills {
    display: flex;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 8px;
    gap: 2px;
}

.period-pills .pill {
    background: transparent;
    border: none;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.period-pills .pill:hover {
    color: #0f172a;
}

.period-pills .pill.active {
    background: #ffffff;
    color: #f97316;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Charts Grid */
.charts-grid-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.charts-grid-secondary,
.charts-grid-analysis {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.chart-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.chart-card-full {
    width: 100%;
    margin-bottom: 2rem;
}

.chart-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.chart-card-header h3 {
    font-size: 1.1rem;
    color: #0f172a;
    margin: 0 0 0.25rem 0;
}

.chart-subtitle {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
}

.chart-legends {
    display: flex;
    gap: 1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: #475569;
    font-weight: 500;
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.chart-canvas-container {
    position: relative;
    width: 100%;
}

/* Donut specific */
.donut-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 220px;
}

.donut-center-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.donut-total {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1;
}

.donut-label {
    font-size: 0.7rem;
    color: #64748b;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Ranking Table inside Card */
.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ranking-avatar {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.ranking-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.ranking-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f172a;
    display: flex;
    justify-content: space-between;
}

.ranking-name span:last-child {
    color: #10b981;
}

.ranking-bar-bg {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.ranking-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #f97316, #fb923c);
    border-radius: 3px;
}

.link-see-all {
    font-size: 0.8rem;
    color: #f97316;
    text-decoration: none;
    font-weight: 600;
}
.link-see-all:hover { text-decoration: underline; }

/* Mini KPI Grid (Analysis Tab) */
.mini-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.mini-kpi-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.mini-kpi-label {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.mini-kpi-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.mini-kpi-trend {
    font-size: 0.75rem;
    font-weight: 500;
}

/* Market Insights Grid */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.insight-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.insight-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.insight-content h4 {
    font-size: 0.9rem;
    color: #0f172a;
    margin: 0 0 0.25rem 0;
}

.insight-content p {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

.insight-badge {
    position: absolute;
    top: -10px;
    right: 1.25rem;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}
.insight-badge.success { background: #d1fae5; color: #065f46; border-color: #a7f3d0; }
.insight-badge.danger { background: #fee2e2; color: #991b1b; border-color: #fecaca; }

/* ==========================================================================
   KANBAN BOARD STYLES
   ========================================================================== */
.kanban-board {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.kanban-column {
    flex: 1;
    min-width: 300px;
    background: #f1f5f9;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    max-height: 700px;
}

.kanban-column-header {
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.kanban-column-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.kanban-column-header h4 {
    font-size: 0.95rem;
    color: #0f172a;
    margin: 0;
    flex-grow: 1;
}

.kanban-count {
    background: #e2e8f0;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
}

.kanban-cards {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
    flex-grow: 1;
}

.kanban-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    cursor: grab;
    transition: transform 0.2s, box-shadow 0.2s;
}

.kanban-card:active {
    cursor: grabbing;
}

.kanban-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.kanban-card.done {
    opacity: 0.7;
    background: #f8fafc;
}

.kanban-card-tags {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.kanban-tag {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 4px;
}
.tag-chargeback { background: #fee2e2; color: #dc2626; }
.tag-revisao { background: #e0e7ff; color: #4338ca; }
.tag-contato { background: #ffedd5; color: #ea580c; }
.tag-pagamento { background: #dcfce7; color: #16a34a; }
.tag-documentacao { background: #f3f4f6; color: #4b5563; }

.kanban-priority {
    font-size: 0.65rem;
    font-weight: 600;
}
.priority-high { color: #dc2626; }
.priority-medium { color: #ea580c; }
.priority-low { color: #4b5563; }

.kanban-card h5 {
    font-size: 0.9rem;
    color: #0f172a;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.kanban-card p {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

.kanban-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed #e2e8f0;
    padding-top: 0.75rem;
}

.kanban-avatars {
    display: flex;
}

.kanban-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    margin-left: -8px;
}
.kanban-avatar:first-child { margin-left: 0; }

.kanban-due {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 500;
}
.kanban-due.overdue {
    color: #dc2626;
    background: #fee2e2;
    padding: 2px 6px;
    border-radius: 4px;
}
.kanban-due.done-date {
    color: #059669;
}

/* ==========================================================================
   CLIENTS / SELLERS TAB STYLES
   ========================================================================== */
.client-search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.client-search-box svg {
    position: absolute;
    left: 12px;
    color: #94a3b8;
}

.client-search-box input {
    padding: 0.6rem 1rem 0.6rem 2.2rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.85rem;
    width: 300px;
    outline: none;
    transition: all 0.2s;
}

.client-search-box input:focus {
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.search-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    margin-top: 4px;
    z-index: 10;
    max-height: 200px;
    overflow-y: auto;
}

.autocomplete-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
}
.autocomplete-item:last-child { border-bottom: none; }
.autocomplete-item:hover { background: #f8fafc; }
.autocomplete-name { font-size: 0.85rem; font-weight: 600; color: #0f172a; display: block; }
.autocomplete-doc { font-size: 0.7rem; color: #64748b; }

.client-profile-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

/* Credit Card Visual (Onpay Reference) */
.credit-card-container {
    perspective: 1000px;
}

.credit-card-visual {
    background: linear-gradient(135deg, #0f172a, #1e293b, #020617);
    border-radius: 16px;
    padding: 1.5rem;
    color: #ffffff;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform-style: preserve-3d;
    transition: transform 0.5s;
}
.credit-card-visual::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 60%);
    transform: rotate(30deg);
    pointer-events: none;
}

.card-number {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.4rem;
    letter-spacing: 2px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    margin-top: 1rem;
}

.card-details {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.card-holder {
    display: flex;
    flex-direction: column;
}

.card-label {
    font-size: 0.55rem;
    color: #94a3b8;
    margin-bottom: 2px;
}

.card-name {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-brand-logo {
    font-size: 1.5rem;
    font-weight: 800;
    font-style: italic;
    color: #ffffff;
    opacity: 0.9;
}

/* Client Summary Cards */
.client-summary-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.client-stat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.stat-trend {
    font-size: 0.75rem;
    font-weight: 500;
}
.stat-trend.positive { color: #10b981; }
.stat-trend.neutral { color: #64748b; }

/* Available Cards (Mini cards) */
.available-cards-section {
    margin-top: 2rem;
}

.available-cards-section h3 {
    font-size: 1.1rem;
    color: #0f172a;
    margin-bottom: 1rem;
}

.available-cards-grid {
    display: flex;
    gap: 1rem;
}

.mini-cc {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    width: 220px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.mini-cc:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.mini-cc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mini-cc-brand {
    font-weight: 700;
    font-size: 1.1rem;
    font-style: italic;
    color: #0f172a;
}
.mini-cc-brand.mastercard { color: #ea580c; }
.mini-cc-brand.elo { color: #0284c7; }

.mini-cc-balance-label {
    font-size: 0.7rem;
    color: #64748b;
}

.mini-cc-balance {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
}

.btn-view-client {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    cursor: pointer;
}
.btn-view-client:hover { background: #f1f5f9; }

/* ==========================================================================
   Dashboard MVP Layout Overrides (Fase 4)
   ========================================================================== */

/* Make transaction names clickable */
.clickable-transaction-name {
    color: var(--primary-color) !important;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}
.clickable-transaction-name:hover {
    color: var(--accent-color) !important;
}

/* Drawer Overrides */
.dash-drawer {
    border-left: 1px solid var(--border-color);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
}
.drawer-header {
    border-bottom: 1px solid var(--border-color);
}
.drawer-header h3 {
    color: var(--text-dark);
}
.btn-close-drawer {
    color: var(--text-muted);
}
.btn-close-drawer:hover {
    color: var(--text-dark);
    background: #f1f5f9;
}
.client-meta-box {
    background: #f8fafc;
    border: 1px solid var(--border-color);
}
.meta-row span:last-child {
    color: var(--text-dark);
}
.donut-inner {
    background: #ffffff;
    color: var(--text-dark);
}
.ai-insights-box {
    background: rgba(249, 115, 22, 0.05);
    border: 1px solid rgba(249, 115, 22, 0.2);
}

/* Kanban Overrides */
.kanban-board {
    padding: 0;
}
.kanban-column {
    background: #f8fafc;
    border: 1px solid var(--border-color);
}
.kanban-column h3 {
    color: var(--text-dark);
}
.kanban-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
}
.kanban-card:hover {
    border-color: var(--accent-neon);
}
.k-card-title {
    color: var(--text-dark);
}
.k-card-amount {
    color: var(--text-dark);
}
.k-card-footer {
    border-top: 1px solid var(--border-color);
}
.k-card-date {
    color: var(--text-muted);
}

/* BI Analytics Filters */
.bi-filters-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    background: #ffffff;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}
.bi-filter-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
    min-width: 140px;
}
.bi-filter-item label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}
.bi-filter-item select {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    padding: 0.6rem;
    border-radius: 8px;
    outline: none;
    font-size: 0.85rem;
    transition: var(--transition-fast);
}
.bi-filter-item select:focus {
    border-color: var(--accent-neon);
}

/* BI Charts Grid */
.bi-charts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.bi-chart-full {
    grid-column: 1 / -1;
}

/* New Seller Profile Layout */
.seller-profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.btn-back-list {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.85rem;
    transition: var(--transition-fast);
}
.btn-back-list:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}
.seller-profile-info h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}
.seller-profile-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Distribuição de Recebimentos */
.payment-methods-widget {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.payment-method-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.pm-name {
    width: 80px;
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 500;
}
.pm-bar-container {
    flex: 1;
    height: 8px;
    background: #f1f5f9;
    border-radius: 4px;
    overflow: hidden;
}
.pm-bar {
    height: 100%;
    border-radius: 4px;
}
.pm-credit { background: linear-gradient(90deg, #002060, #0088ff); }
.pm-pix { background: linear-gradient(90deg, #10b981, #34d399); }
.pm-debit { background: linear-gradient(90deg, #6366f1, #818cf8); }
.pm-boleto { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.pm-value {
    width: 60px;
    text-align: right;
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* ==========================================================================
   Transaction Drawer
   ========================================================================== */
.transaction-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9998;
    backdrop-filter: blur(4px);
}

.transaction-drawer {
    position: fixed;
    top: 0;
    right: -400px; /* Hidden by default */
    width: 380px;
    max-width: 100vw;
    height: 100vh;
    background: #ffffff;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.transaction-drawer.open {
    right: 0;
}

.tx-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: #f8fafc;
}

.tx-drawer-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.btn-close-drawer {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-close-drawer:hover {
    background: #e2e8f0;
    color: var(--text-dark);
}

.tx-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tx-detail-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tx-detail-group label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

.tx-detail-group p {
    margin: 0;
    color: var(--text-dark); /* Using dark text for light mode */
}

.tx-detail-group .badge-status {
    align-self: flex-start;
}
