/**
 * Estilos compartilhados para widgets Elementor do TROBO
 * Dashboard Mockup, CRM Mockup, Simulador Mockup, Features Grid
 * v2.0 — Polish profissional
 */

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes trobo-fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes trobo-pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

@keyframes trobo-growBar {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

/* ============================================
   MOCKUP BASE STYLES
   ============================================ */
.trobo-mockup {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(24, 50, 119, 0.12),
        0 4px 16px rgba(32, 86, 223, 0.08);
    font-family: 'Outfit', sans-serif;
    transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.trobo-mockup:hover {
    box-shadow:
        0 24px 70px rgba(24, 50, 119, 0.16),
        0 8px 24px rgba(32, 86, 223, 0.1);
}

/* ============================================
   TOPBAR — Glassmorphism Premium
   ============================================ */
.trobo-mockup-topbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.trobo-mockup-dots {
    display: flex;
    gap: 6px;
}

.trobo-mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.trobo-mockup-dots span:nth-child(1) { background: #EF4444; }
.trobo-mockup-dots span:nth-child(2) { background: #F59E0B; }
.trobo-mockup-dots span:nth-child(3) { background: #10B981; }

.trobo-mockup-topbar-title {
    font-size: 12px;
    font-weight: 600;
    color: #183277;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.2px;
}

.trobo-mockup-content {
    padding: 20px;
}

/* ============================================
   ONLINE BADGE
   ============================================ */
.trobo-online-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 500;
    color: #10B981;
    margin-left: auto;
    background: rgba(16, 185, 129, 0.08);
    padding: 3px 8px;
    border-radius: 10px;
}

.trobo-online-dot {
    width: 6px;
    height: 6px;
    background: #10B981;
    border-radius: 50%;
    animation: trobo-pulse-dot 2s ease-in-out infinite;
}

/* ============================================
   MASCOTE INLINE
   ============================================ */
.trobo-mascote-inline {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

/* ============================================
   DASHBOARD — SIDEBAR
   ============================================ */
.trobo-mockup-with-sidebar {
    display: flex;
}

.trobo-mockup-with-sidebar > .trobo-mockup-main {
    flex: 1;
    min-width: 0;
}

.trobo-mockup-sidebar {
    width: 48px;
    background: linear-gradient(180deg, #183277, #0f2054);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 0;
    gap: 10px;
    flex-shrink: 0;
}

.trobo-sidebar-mascote {
    margin-bottom: 6px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.trobo-sidebar-nav-item {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    position: relative;
    cursor: default;
}

.trobo-sidebar-nav-item i {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
    transition: color 0.2s ease;
}

.trobo-sidebar-nav-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.trobo-sidebar-nav-item:hover i {
    color: rgba(255, 255, 255, 0.6);
}

.trobo-sidebar-nav-item.active {
    background: rgba(0, 200, 200, 0.15);
}

.trobo-sidebar-nav-item.active i {
    color: #00c8c8;
}

.trobo-sidebar-nav-item.active::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 5px;
    bottom: 5px;
    width: 3px;
    background: #00c8c8;
    border-radius: 0 3px 3px 0;
}

/* ============================================
   DASHBOARD — METRIC CARDS
   ============================================ */
.trobo-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.trobo-metric-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.trobo-metric-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(32, 86, 223, 0.08);
}

.trobo-metric-card-enhanced {
    border-left: 3px solid #2056df;
    border-radius: 2px 12px 12px 2px;
    position: relative;
    background: #FFFFFF;
    padding: 14px 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    border-right: 1px solid rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    animation: trobo-fadeInUp 0.4s ease-out backwards;
}

.trobo-metric-card-enhanced:nth-child(1) { animation-delay: 0s; }
.trobo-metric-card-enhanced:nth-child(2) { animation-delay: 0.1s; }
.trobo-metric-card-enhanced:nth-child(3) { animation-delay: 0.2s; }

.trobo-metric-card-enhanced:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(32, 86, 223, 0.1);
}

.trobo-metric-card-enhanced.border-green {
    border-left-color: #10B981;
}

.trobo-metric-card-enhanced.border-teal {
    border-left-color: #00c8c8;
}

.trobo-metric-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.trobo-metric-icon-circle {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trobo-metric-icon-circle.blue {
    background: rgba(32, 86, 223, 0.1);
    color: #2056df;
}

.trobo-metric-icon-circle.green {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

.trobo-metric-icon-circle.teal {
    background: rgba(0, 200, 200, 0.1);
    color: #00c8c8;
}

.trobo-metric-icon-circle i {
    font-size: 13px;
}

.trobo-metric-sparkline {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 20px;
}

.trobo-metric-sparkline span {
    width: 4px;
    border-radius: 2px;
    background: currentColor;
    opacity: 0.25;
    transition: opacity 0.2s ease;
}

.trobo-metric-card-enhanced:hover .trobo-metric-sparkline span {
    opacity: 0.4;
}

.trobo-metric-label {
    font-size: 11px;
    color: #6B7280;
    margin-bottom: 4px;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.trobo-metric-value {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.2;
}

.trobo-metric-value.green { color: #10B981; }
.trobo-metric-value.blue { color: #2056df; }

.trobo-metric-change {
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 6px;
    border-radius: 6px;
}

.trobo-metric-change.positive {
    color: #059669;
    background: rgba(16, 185, 129, 0.08);
}

.trobo-metric-change.negative {
    color: #DC2626;
    background: rgba(239, 68, 68, 0.08);
}

.trobo-metric-change i {
    font-size: 9px;
}

/* ============================================
   DASHBOARD — CHART
   ============================================ */
.trobo-chart-wrapper {
    position: relative;
    background: linear-gradient(180deg, #FAFBFC, #F3F4F6);
    border-radius: 12px;
    padding: 20px 16px 12px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.trobo-chart-grid-line {
    position: absolute;
    left: 16px;
    right: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    z-index: 0;
}

.trobo-chart-goal-line {
    position: absolute;
    left: 16px;
    right: 16px;
    border-top: 1.5px dashed #F59E0B;
    z-index: 1;
}

.trobo-chart-goal-label {
    position: absolute;
    right: 0;
    font-size: 9px;
    font-weight: 600;
    color: #F59E0B;
    transform: translateY(-14px);
    background: rgba(255, 255, 255, 0.8);
    padding: 0 4px;
    border-radius: 3px;
}

.trobo-chart-enhanced {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 110px;
    position: relative;
    z-index: 2;
    padding: 0 4px;
}

.trobo-chart-bar-gradient {
    flex: 1;
    background: linear-gradient(to top, #2056df, #4d8aff);
    border-radius: 4px 4px 0 0;
    min-height: 4px;
    position: relative;
    transform-origin: bottom;
    animation: trobo-growBar 0.6s ease-out backwards;
    transition: all 0.2s ease;
    cursor: default;
}

.trobo-chart-bar-gradient:nth-child(1) { animation-delay: 0.05s; }
.trobo-chart-bar-gradient:nth-child(2) { animation-delay: 0.1s; }
.trobo-chart-bar-gradient:nth-child(3) { animation-delay: 0.15s; }
.trobo-chart-bar-gradient:nth-child(4) { animation-delay: 0.2s; }
.trobo-chart-bar-gradient:nth-child(5) { animation-delay: 0.25s; }
.trobo-chart-bar-gradient:nth-child(6) { animation-delay: 0.3s; }
.trobo-chart-bar-gradient:nth-child(7) { animation-delay: 0.35s; }
.trobo-chart-bar-gradient:nth-child(8) { animation-delay: 0.4s; }
.trobo-chart-bar-gradient:nth-child(9) { animation-delay: 0.45s; }
.trobo-chart-bar-gradient:nth-child(10) { animation-delay: 0.5s; }

.trobo-chart-bar-gradient:hover {
    background: linear-gradient(to top, #183277, #2056df);
    transform: scaleY(1.03);
    box-shadow: 0 -2px 8px rgba(32, 86, 223, 0.2);
}

.trobo-chart-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    padding: 0 4px;
}

.trobo-chart-labels span {
    font-size: 9px;
    color: #9CA3AF;
    flex: 1;
    text-align: center;
    font-weight: 500;
}

.trobo-chart-y-label {
    position: absolute;
    left: 4px;
    font-size: 8px;
    color: #9CA3AF;
    transform: translateY(-50%);
    font-weight: 500;
}

/* ============================================
   MOCKUP FOOTER
   ============================================ */
.trobo-mockup-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    font-size: 10px;
    color: #9CA3AF;
    font-weight: 500;
    background: rgba(248, 250, 252, 0.5);
}

/* ============================================
   CRM — TOPBAR BUTTON
   ============================================ */
.trobo-topbar-btn {
    background: #2056df;
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(32, 86, 223, 0.3);
    transition: all 0.2s ease;
}

.trobo-topbar-btn:hover {
    background: #183277;
    box-shadow: 0 2px 6px rgba(24, 50, 119, 0.4);
}

.trobo-topbar-btn i {
    font-size: 9px;
}

/* ============================================
   CRM — SEARCH BAR
   ============================================ */
.trobo-mockup-searchbar {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    transition: all 0.2s ease;
}

.trobo-mockup-searchbar:hover {
    border-color: #2056df;
    box-shadow: 0 0 0 3px rgba(32, 86, 223, 0.06);
}

.trobo-mockup-searchbar i {
    color: #2056df;
    font-size: 11px;
    opacity: 0.6;
}

.trobo-mockup-searchbar span {
    color: #9CA3AF;
    font-size: 12px;
}

/* ============================================
   CRM — PIPELINE
   ============================================ */
.trobo-pipeline-wrapper {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.trobo-pipeline-wrapper::-webkit-scrollbar {
    height: 4px;
}

.trobo-pipeline-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.trobo-pipeline-wrapper::-webkit-scrollbar-thumb {
    background: #D1D5DB;
    border-radius: 2px;
}

.trobo-pipeline-column {
    min-width: 200px;
    flex: 1;
    background: #F8FAFC;
    border-radius: 12px;
    padding: 12px;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.trobo-column-header {
    font-size: 10px;
    font-weight: 700;
    color: #6B7280;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.trobo-column-dot.blue { background: #2056df; }
.trobo-column-dot.yellow { background: #F59E0B; }
.trobo-column-dot.green { background: #10B981; }
.trobo-column-dot.purple { background: #8B5CF6; }

.trobo-column-badge {
    padding: 2px 7px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    margin-left: auto;
}

.trobo-column-icon {
    font-size: 10px;
    color: #9CA3AF;
}

.trobo-column-cards {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* ============================================
   CRM — LEAD CARDS
   ============================================ */
.trobo-lead-card {
    background: white;
    border-radius: 10px;
    padding: 10px 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.02);
    animation: trobo-fadeInUp 0.35s ease-out backwards;
}

.trobo-lead-card:nth-child(1) { animation-delay: 0.05s; }
.trobo-lead-card:nth-child(2) { animation-delay: 0.1s; }
.trobo-lead-card:nth-child(3) { animation-delay: 0.15s; }

.trobo-lead-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(32, 86, 223, 0.1);
    border-color: rgba(32, 86, 223, 0.1);
}

.trobo-lead-card-enhanced {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.trobo-lead-avatar {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2056df, #183277);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    letter-spacing: 0.3px;
}

.trobo-lead-info {
    flex: 1;
    min-width: 0;
}

.trobo-lead-name {
    font-size: 12px;
    font-weight: 600;
    color: #183277;
    margin-bottom: 2px;
    line-height: 1.3;
}

.trobo-lead-desc {
    font-size: 11px;
    color: #6B7280;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trobo-lead-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}

.trobo-lead-value-badge {
    font-size: 10px;
    background: rgba(32, 86, 223, 0.08);
    color: #2056df;
    padding: 2px 7px;
    border-radius: 6px;
    font-weight: 600;
}

.trobo-lead-time {
    font-size: 10px;
    color: #9CA3AF;
    display: flex;
    align-items: center;
    gap: 3px;
}

.trobo-lead-time i {
    font-size: 9px;
}

.trobo-lead-status-icon {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    margin-left: auto;
}

.trobo-lead-status-icon.whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
}

.trobo-lead-status-icon.phone {
    background: rgba(32, 86, 223, 0.1);
    color: #2056df;
}

.trobo-lead-status-icon.email {
    background: rgba(107, 114, 128, 0.1);
    color: #6B7280;
}

/* ============================================
   SIMULADOR — CREDIT DISPLAY
   ============================================ */
.trobo-credit-display {
    text-align: center;
    margin-bottom: 8px;
}

.trobo-credit-label {
    font-size: 13px;
    color: #6B7280;
    margin-bottom: 6px;
    font-weight: 500;
}

.trobo-credit-value {
    font-size: 32px;
    font-weight: 700;
    color: #183277;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

/* ============================================
   SIMULADOR — SLIDER
   ============================================ */
.trobo-slider-track {
    height: 8px;
    background: #E5E7EB;
    border-radius: 4px;
    position: relative;
    margin: 16px 24px 6px;
}

.trobo-slider-fill {
    height: 100%;
    width: 65%;
    background: linear-gradient(90deg, #00c8c8, #2056df);
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(32, 86, 223, 0.2);
}

.trobo-slider-thumb {
    width: 20px;
    height: 20px;
    background: #FFFFFF;
    border: 3px solid #2056df;
    border-radius: 50%;
    position: absolute;
    top: -6px;
    left: 62%;
    box-shadow:
        0 0 0 4px rgba(32, 86, 223, 0.12),
        0 2px 6px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.2s ease;
}

.trobo-slider-thumb:hover {
    box-shadow:
        0 0 0 6px rgba(32, 86, 223, 0.15),
        0 3px 8px rgba(0, 0, 0, 0.2);
}

.trobo-slider-labels {
    display: flex;
    justify-content: space-between;
    margin: 0 24px 20px;
    font-size: 10px;
    color: #9CA3AF;
    font-weight: 500;
}

/* ============================================
   SIMULADOR — ADMIN CARDS
   ============================================ */
.trobo-simulador-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.trobo-admin-card {
    border-radius: 14px;
    padding: 20px 16px;
    text-align: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    animation: trobo-fadeInUp 0.4s ease-out backwards;
}

.trobo-admin-card:nth-child(1) { animation-delay: 0.05s; }
.trobo-admin-card:nth-child(2) { animation-delay: 0.12s; }
.trobo-admin-card:nth-child(3) { animation-delay: 0.19s; }

.trobo-admin-card-enhanced {
    position: relative;
}

.trobo-admin-card-enhanced:not(.trobo-admin-highlighted) {
    background: #F8FAFC;
    border-color: rgba(0, 0, 0, 0.04);
}

.trobo-admin-card-enhanced:not(.trobo-admin-highlighted):hover {
    border-color: #2056df;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(32, 86, 223, 0.1);
}

.trobo-admin-highlighted {
    box-shadow: 0 8px 32px rgba(32, 86, 223, 0.25);
}

.trobo-admin-highlighted:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(32, 86, 223, 0.3);
}

.trobo-admin-best-badge {
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    background: #00c8c8;
    color: white;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 10px;
    white-space: nowrap;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(0, 200, 200, 0.3);
    display: flex;
    align-items: center;
    gap: 3px;
}

.trobo-admin-best-badge i {
    font-size: 8px;
}

.trobo-admin-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 15px;
}

.trobo-admin-icon-circle.light {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
}

.trobo-admin-icon-circle.dark {
    background: rgba(32, 86, 223, 0.08);
    color: #2056df;
}

.trobo-admin-name {
    font-size: 11px;
    margin-bottom: 6px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.trobo-admin-parcela {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2px;
}

.trobo-admin-prazo {
    font-size: 11px;
    font-weight: 500;
}

/* Old class compat */
.trobo-admin-icon {
    font-size: 14px;
    margin-bottom: 8px;
    opacity: 0.5;
}

/* ============================================
   SIMULADOR — RECOMMENDATION
   ============================================ */
.trobo-recommendation-wrapper {
    text-align: center;
    margin-top: 4px;
}

.trobo-recommendation-enhanced {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(0, 200, 200, 0.08), rgba(32, 86, 223, 0.04));
    padding: 10px 20px;
    border-radius: 24px;
    font-size: 12px;
    font-weight: 600;
    color: #059669;
    border: 1px solid rgba(0, 200, 200, 0.12);
    transition: all 0.2s ease;
}

.trobo-recommendation-enhanced:hover {
    background: linear-gradient(135deg, rgba(0, 200, 200, 0.12), rgba(32, 86, 223, 0.06));
    box-shadow: 0 2px 12px rgba(0, 200, 200, 0.1);
}

.trobo-recommendation-badge {
    display: inline-block;
    background: #D1FAE5;
    color: #059669;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* ============================================
   FEATURES GRID WIDGET
   ============================================ */
.trobo-features-grid {
    display: grid;
    gap: 20px;
}

.trobo-feature-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 24px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.trobo-feature-card.icon-left {
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
}

.trobo-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(32, 86, 223, 0.1);
    border-color: rgba(32, 86, 223, 0.08);
}

.trobo-feature-icon {
    width: 52px;
    height: 52px;
    background: rgba(32, 86, 223, 0.06);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 14px;
    transition: all 0.3s ease;
}

.trobo-feature-card:hover .trobo-feature-icon {
    background: rgba(32, 86, 223, 0.1);
    transform: scale(1.05);
}

.trobo-feature-card.icon-left .trobo-feature-icon {
    margin-bottom: 0;
}

.trobo-feature-icon i {
    font-size: 22px;
    color: #2056df;
}

.trobo-feature-icon svg {
    width: 22px;
    height: 22px;
    fill: #2056df;
}

.trobo-feature-title {
    font-size: 16px;
    font-weight: 600;
    color: #183277;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.trobo-feature-desc {
    font-size: 13px;
    color: #6B7280;
    margin: 0;
    line-height: 1.6;
}

/* ============================================
   V2 — REALISTIC MOCKUPS (pixel-perfect match to React frontend)
   ============================================ */

/* --- Floating circle animations (WelcomeHeader) --- */
@keyframes trobo-headerFloat1 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-45%, -55%) scale(1.05); }
}
@keyframes trobo-headerFloat2 {
    0%, 100% { transform: translateX(50%) scale(1); }
    50% { transform: translateX(45%) scale(1.1); }
}
@keyframes trobo-headerFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(10px, -8px) scale(1.08); }
}
@keyframes trobo-headerFloat4 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-8px, 5px) scale(1.1); }
}

/* --- Sidebar Collapsed: Icon-only (matches real frontend w-16 scaled ~0.75x) --- */
.trobo-sidebar-collapsed {
    width: 48px;
    background: #fff;
    border-right: 1px solid #E5E7EB;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    flex-shrink: 0;
}

.trobo-sidebar-collapsed-logo {
    height: 48px;
    border-bottom: 1px solid #E5E7EB;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trobo-sidebar-collapsed-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    padding: 6px 0;
    width: 100%;
    flex: 1;
    overflow: hidden;
}

.trobo-sidebar-collapsed-item {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    transition: all 0.15s ease;
    color: #6B7280;
}

.trobo-sidebar-collapsed-item:hover {
    background: #F3F4F6;
    color: #374151;
}

.trobo-sidebar-collapsed-item.active {
    background: #EBF5FF;
    color: #2056df;
}

.trobo-sidebar-collapsed-item i {
    font-size: 13px;
}

.trobo-sidebar-collapsed-sep {
    width: 24px;
    height: 1px;
    background: #E5E7EB;
    margin: 3px 0;
}

.trobo-sidebar-collapsed-user {
    margin-top: auto;
    padding: 8px 0;
    border-top: 1px solid #E5E7EB;
    width: 100%;
    display: flex;
    justify-content: center;
}

.trobo-sidebar-collapsed-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #2056df;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Ranking Card (matches real RankingCard.tsx) --- */
.trobo-ranking-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
}

.trobo-ranking-header {
    padding: 12px 16px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.trobo-ranking-header-icon {
    padding: 5px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F59E0B;
    font-size: 12px;
}

.trobo-ranking-header-title {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
}

.trobo-ranking-rows {
    padding: 4px 12px 8px;
}

.trobo-ranking-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 12px;
    transition: background 0.15s ease;
}

.trobo-ranking-row:hover {
    background: #F9FAFB;
}

.trobo-ranking-row.highlight {
    background: #EFF6FF;
    border: 1.5px solid #BFDBFE;
}

.trobo-ranking-medal {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 700;
}

.trobo-ranking-medal.gold { color: #EAB308; background: #FEFCE8; }
.trobo-ranking-medal.silver { color: #9CA3AF; background: #F3F4F6; }
.trobo-ranking-medal.bronze { color: #D97706; background: #FFFBEB; }
.trobo-ranking-medal.default { color: #9CA3AF; background: #F9FAFB; }

.trobo-ranking-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #E5E7EB;
    color: #6B7280;
    font-size: 9px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.trobo-ranking-info {
    flex: 1;
    min-width: 0;
}

.trobo-ranking-name {
    font-size: 11px;
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trobo-ranking-name .you-tag {
    font-size: 9px;
    color: #6B7280;
    font-weight: 400;
    margin-left: 3px;
}

.trobo-ranking-progress {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 3px;
}

.trobo-ranking-bar {
    flex: 1;
    height: 5px;
    background: #E5E7EB;
    border-radius: 3px;
    overflow: hidden;
}

.trobo-ranking-bar-fill {
    height: 100%;
    border-radius: 3px;
    background: #9CA3AF;
    transition: width 0.6s ease;
}

.trobo-ranking-bar-fill.green { background: #10B981; }
.trobo-ranking-bar-fill.blue { background: #2056df; }

.trobo-ranking-pct {
    font-size: 10px;
    font-weight: 700;
    color: #6B7280;
    min-width: 32px;
    text-align: right;
}

.trobo-ranking-pct.green { color: #10B981; }
.trobo-ranking-pct.blue { color: #2056df; }

.trobo-ranking-value {
    text-align: right;
    flex-shrink: 0;
}

.trobo-ranking-value-amount {
    font-size: 11px;
    font-weight: 700;
    color: #111827;
}

.trobo-ranking-value-meta {
    font-size: 8px;
    color: #9CA3AF;
}

/* --- Secondary Stat Cards (matches SecondaryStatCards.tsx) --- */
.trobo-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}

.trobo-stat-card {
    background: #fff;
    padding: 10px 12px;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #F3F4F6;
    border-left: 3px solid #2056df;
    overflow: hidden;
}

.trobo-stat-card.green { border-left-color: #10B981; }
.trobo-stat-card.blue { border-left-color: #2056df; }
.trobo-stat-card.amber { border-left-color: #F59E0B; }
.trobo-stat-card.indigo { border-left-color: #6366F1; }

.trobo-stat-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.trobo-stat-card-title {
    font-size: 9px;
    font-weight: 500;
    color: #6B7280;
}

.trobo-stat-card-icon {
    font-size: 11px;
    color: #9CA3AF;
}

.trobo-stat-card-value {
    font-size: 16px;
    font-weight: 700;
    color: #1F2937;
    line-height: 1.2;
}

.trobo-stat-card-sub {
    font-size: 8px;
    color: #9CA3AF;
    margin-top: 2px;
}

/* --- Financeiro Stat Cards (reuses stat-card) --- */
.trobo-fin-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}

.trobo-fin-stat-card {
    background: #fff;
    border: 1px solid #F3F4F6;
    border-left: 3px solid #2056df;
    border-radius: 2px 10px 10px 2px;
    padding: 10px 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.trobo-fin-stat-card.blue { border-left-color: #2056df; }
.trobo-fin-stat-card.purple { border-left-color: #8B5CF6; }
.trobo-fin-stat-card.green { border-left-color: #10B981; }
.trobo-fin-stat-card.red { border-left-color: #EF4444; }
.trobo-fin-stat-card.amber { border-left-color: #F59E0B; }
.trobo-fin-stat-card.indigo { border-left-color: #6366F1; }

.trobo-fin-stat-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.trobo-fin-stat-label {
    font-size: 9px;
    font-weight: 500;
    color: #6B7280;
}

.trobo-fin-stat-icon {
    font-size: 10px;
    color: #9CA3AF;
}

.trobo-fin-stat-value {
    font-size: 14px;
    font-weight: 700;
    color: #1F2937;
    line-height: 1.2;
}

.trobo-fin-stat-sub {
    font-size: 8px;
    color: #9CA3AF;
    margin-top: 1px;
}

/* --- Financeiro Mini Table --- */
.trobo-fin-table {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    overflow: hidden;
}

.trobo-fin-table-header {
    display: grid;
    grid-template-columns: 1fr 70px 70px 70px;
    gap: 4px;
    padding: 8px 12px;
    background: #F9FAFB;
    border-bottom: 1px solid #E5E7EB;
}

.trobo-fin-table-header span {
    font-size: 8px;
    font-weight: 600;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.trobo-fin-table-header span:not(:first-child) {
    text-align: right;
}

.trobo-fin-table-row {
    display: grid;
    grid-template-columns: 1fr 70px 70px 70px;
    gap: 4px;
    padding: 7px 12px;
    border-bottom: 1px solid #F3F4F6;
    transition: background 0.15s ease;
}

.trobo-fin-table-row:last-child {
    border-bottom: none;
}

.trobo-fin-table-row:hover {
    background: #F9FAFB;
}

.trobo-fin-table-cell {
    font-size: 9px;
    color: #374151;
    display: flex;
    align-items: center;
}

.trobo-fin-table-cell:not(:first-child) {
    justify-content: flex-end;
}

.trobo-fin-table-cell.blue { color: #2056df; font-weight: 600; }
.trobo-fin-table-cell.green { color: #10B981; font-weight: 700; }
.trobo-fin-table-cell.red { color: #EF4444; }

.trobo-fin-admin-badge {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 8px;
    font-weight: 700;
    color: #fff;
    margin-right: 6px;
}

.trobo-fin-admin-badge.bradesco { background: #EF4444; }
.trobo-fin-admin-badge.porto { background: #3B82F6; }

.trobo-fin-status-badge {
    font-size: 8px;
    padding: 1px 6px;
    border-radius: 10px;
    font-weight: 600;
}

.trobo-fin-status-badge.ativa {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.trobo-fin-table-footer {
    display: grid;
    grid-template-columns: 1fr 70px 70px 70px;
    gap: 4px;
    padding: 8px 12px;
    background: #F9FAFB;
    border-top: 1px solid #E5E7EB;
}

.trobo-fin-table-footer span {
    font-size: 9px;
    font-weight: 700;
    color: #111827;
}

.trobo-fin-table-footer span:not(:first-child) {
    text-align: right;
}

/* --- Navbar V2: App toolbar (matches real h-16 scaled) --- */
.trobo-navbar-v2 {
    height: 48px;
    background: #fff;
    border-bottom: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 14px;
}

.trobo-navbar-v2-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trobo-navbar-v2-btn.tutorial {
    background: #2056df;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(32, 86, 223, 0.25);
}

.trobo-navbar-v2-btn.tutorial i {
    font-size: 10px;
}

.trobo-navbar-v2-icon {
    font-size: 14px;
    color: #6B7280;
    padding: 6px;
    border-radius: 50%;
    position: relative;
    cursor: default;
}

.trobo-navbar-v2-icon:hover {
    background: #F3F4F6;
}

.trobo-navbar-v2-icon.has-badge::after {
    content: '';
    position: absolute;
    top: 2px;
    right: 2px;
    width: 6px;
    height: 6px;
    background: #EF4444;
    border-radius: 50%;
    border: 1px solid #fff;
}

.trobo-navbar-v2-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #2056df;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Welcome Header (matches WelcomeHeader.tsx gradient + floating circles) --- */
.trobo-welcome-header {
    background: linear-gradient(135deg, #0B3AA8 0%, #071E5C 100%);
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(11, 58, 168, 0.2);
}

.trobo-welcome-circles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.trobo-welcome-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.trobo-welcome-circle:nth-child(1) {
    width: 80px; height: 80px;
    top: -20px; left: -10px;
    animation: trobo-headerFloat1 8s ease-in-out infinite;
}

.trobo-welcome-circle:nth-child(2) {
    width: 60px; height: 60px;
    top: 50%; right: 20%;
    animation: trobo-headerFloat2 10s ease-in-out infinite;
}

.trobo-welcome-circle:nth-child(3) {
    width: 50px; height: 50px;
    bottom: -15px; left: 33%;
    background: rgba(255, 255, 255, 0.04);
    animation: trobo-headerFloat3 7s ease-in-out infinite;
}

.trobo-welcome-circle:nth-child(4) {
    width: 40px; height: 40px;
    top: 25%; left: 50%;
    background: rgba(255, 255, 255, 0.04);
    animation: trobo-headerFloat4 9s ease-in-out infinite;
}

.trobo-welcome-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.trobo-welcome-greeting {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3px;
}

.trobo-welcome-sub {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 6px;
}

.trobo-welcome-role {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.12);
    padding: 2px 8px;
    border-radius: 10px;
    backdrop-filter: blur(4px);
}

.trobo-welcome-period {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
}

.trobo-welcome-period-btn {
    font-size: 9px;
    padding: 3px 10px;
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    cursor: default;
    transition: all 0.2s;
}

.trobo-welcome-period-btn.active {
    background: #fff;
    color: #1e40af;
    font-weight: 600;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* --- Chart Summary Cards (matches MainKPIChart.tsx summary) --- */
.trobo-chart-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-bottom: 10px;
}

.trobo-chart-summary-card {
    border-radius: 8px;
    padding: 6px 8px;
    text-align: center;
}

.trobo-chart-summary-card.emerald {
    background: rgba(16, 185, 129, 0.08);
}

.trobo-chart-summary-card.blue {
    background: rgba(32, 86, 223, 0.06);
}

.trobo-chart-summary-card.purple {
    background: rgba(139, 92, 246, 0.06);
}

.trobo-chart-summary-card.amber {
    background: rgba(245, 158, 11, 0.06);
}

.trobo-chart-summary-label {
    font-size: 8px;
    font-weight: 500;
    margin-bottom: 2px;
}

.trobo-chart-summary-card.emerald .trobo-chart-summary-label { color: #059669; }
.trobo-chart-summary-card.blue .trobo-chart-summary-label { color: #2056df; }
.trobo-chart-summary-card.purple .trobo-chart-summary-label { color: #7C3AED; }
.trobo-chart-summary-card.amber .trobo-chart-summary-label { color: #D97706; }

.trobo-chart-summary-value {
    font-size: 10px;
    font-weight: 700;
}

.trobo-chart-summary-card.emerald .trobo-chart-summary-value { color: #047857; }
.trobo-chart-summary-card.blue .trobo-chart-summary-value { color: #183277; }
.trobo-chart-summary-card.purple .trobo-chart-summary-value { color: #6D28D9; }
.trobo-chart-summary-card.amber .trobo-chart-summary-value { color: #B45309; }

/* --- Area chart V2 (matches MainKPIChart.tsx) --- */
.trobo-chart-v2 {
    padding: 12px 16px !important;
    background: #fff !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 12px !important;
}

.trobo-chart-v2-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.trobo-chart-v2-title {
    font-size: 12px;
    font-weight: 600;
    color: #111827;
}

.trobo-chart-v2-desc {
    font-size: 9px;
    color: #6B7280;
    margin-bottom: 8px;
}

.trobo-chart-v2-trend {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
}

.trobo-chart-v2-trend.up {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.trobo-chart-v2-trend.down {
    background: rgba(239, 68, 68, 0.1);
    color: #DC2626;
}

.trobo-chart-v2-legend {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 6px;
}

.trobo-legend-item {
    font-size: 9px;
    color: #6B7280;
    display: flex;
    align-items: center;
    gap: 4px;
}

.trobo-legend-dot {
    width: 12px;
    height: 3px;
    border-radius: 2px;
}

.trobo-legend-dot.green { background: #10B981; }
.trobo-legend-dot.blue { background: #2056df; opacity: 0.6; }

.trobo-area-chart {
    width: 100%;
    height: 70px;
    display: block;
}

/* --- Page Header V2 (CRM, Simulador, Metas, Financeiro) --- */
.trobo-page-header-v2 {
    background: linear-gradient(135deg, #0B3AA8 0%, #071E5C 100%);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(11, 58, 168, 0.2);
}

.trobo-page-header-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    flex-shrink: 0;
}

.trobo-page-header-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.trobo-page-header-sub {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
}

/* --- CRM V2: Value summary row --- */
.trobo-crm-values-row {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.trobo-crm-value-cell {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    padding: 6px 8px;
    border: 1px solid #E5E7EB;
    text-align: center;
}

.trobo-crm-value-label {
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 2px;
}

.trobo-crm-value-amount {
    font-size: 10px;
    font-weight: 700;
    color: #183277;
}

/* --- CRM V2: Pipeline columns with stage borders --- */
.trobo-pipeline-v2 .trobo-pipeline-col-v2 {
    background: #F3F4F6;
    border-radius: 10px;
    min-width: 140px;
}

/* --- Simulador V2: Filter cards --- */
.trobo-sim-filters-v2 {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}

.trobo-sim-filter-card {
    flex: 1;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 8px 6px;
    text-align: center;
    font-size: 9px;
    font-weight: 500;
    color: #6B7280;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: default;
    transition: all 0.15s ease;
}

.trobo-sim-filter-card i {
    font-size: 14px;
    color: #9CA3AF;
}

.trobo-sim-filter-card.active {
    border-color: #2056df;
    background: #EBF1FD;
    color: #2056df;
}

.trobo-sim-filter-card.active i {
    color: #2056df;
}

/* --- Simulador V2: Group cards --- */
.trobo-sim-groups-v2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.trobo-sim-group-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 10px;
    transition: all 0.2s ease;
}

.trobo-sim-group-card.highlighted {
    border-color: #2056df;
    box-shadow: 0 2px 8px rgba(32, 86, 223, 0.1);
}

.trobo-sim-group-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.trobo-sim-group-logo {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.trobo-sim-group-name {
    font-size: 11px;
    font-weight: 700;
    color: #183277;
}

.trobo-sim-group-type {
    font-size: 8px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 6px;
    display: inline-block;
    margin-top: 1px;
}

.trobo-sim-group-details {
    border-top: 1px solid #F3F4F6;
    padding-top: 6px;
}

.trobo-sim-group-row {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    padding: 2px 0;
}

.trobo-sim-group-row span {
    color: #9CA3AF;
}

.trobo-sim-group-row strong {
    color: #183277;
    font-weight: 600;
}

.trobo-sim-group-rec {
    margin-top: 6px;
    padding: 3px 8px;
    background: #D1FAE5;
    color: #059669;
    border-radius: 6px;
    font-size: 8px;
    font-weight: 700;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.trobo-sim-group-rec i {
    font-size: 8px;
    color: #F59E0B;
}

/* ============================================
   SCREENSHOT MODE
   ============================================ */
.trobo-mockup-screenshot .trobo-screenshot-wrapper {
    overflow: hidden;
    line-height: 0;
}

.trobo-mockup-screenshot .trobo-screenshot-wrapper img {
    transition: transform 0.4s ease;
}

.trobo-mockup-screenshot:hover .trobo-screenshot-wrapper img {
    transform: scale(1.01);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .trobo-metrics {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .trobo-simulador-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .trobo-credit-value {
        font-size: 26px;
    }

    .trobo-pipeline-wrapper {
        flex-direction: column;
    }

    .trobo-pipeline-column {
        min-width: 100%;
    }

    .trobo-features-grid {
        grid-template-columns: 1fr !important;
    }

    .trobo-mockup-sidebar {
        display: none;
    }

    .trobo-sidebar-v2 {
        display: none;
    }

    .trobo-sidebar-collapsed {
        display: none;
    }

    .trobo-crm-values-row {
        flex-wrap: wrap;
    }

    .trobo-crm-value-cell {
        flex: 0 0 calc(33% - 6px);
    }

    .trobo-sim-groups-v2 {
        grid-template-columns: 1fr;
    }

    .trobo-sim-filters-v2 {
        flex-wrap: wrap;
    }

    .trobo-sim-filter-card {
        flex: 0 0 calc(50% - 4px);
    }

    .trobo-fin-stats {
        grid-template-columns: 1fr;
    }

    .trobo-stat-grid {
        grid-template-columns: 1fr;
    }

    .trobo-chart-summary {
        grid-template-columns: repeat(2, 1fr);
    }

    .trobo-fin-table-header,
    .trobo-fin-table-row,
    .trobo-fin-table-footer {
        grid-template-columns: 1fr 55px 55px 55px;
    }

    .trobo-ranking-value {
        display: none;
    }

    .trobo-topbar-btn {
        display: none;
    }

    .trobo-admin-best-badge {
        font-size: 8px;
        padding: 2px 8px;
    }

    .trobo-admin-parcela {
        font-size: 18px;
    }

    .trobo-chart-enhanced {
        height: 80px;
    }
}

@media (max-width: 480px) {
    .trobo-mockup-content {
        padding: 14px;
    }

    .trobo-metric-value {
        font-size: 18px;
    }

    .trobo-feature-card {
        padding: 16px;
    }

    .trobo-mockup-topbar {
        padding: 8px 12px;
    }

    .trobo-mockup-dots span {
        width: 8px;
        height: 8px;
    }
}

/* ============================================
   WHATSAPP CHAT MOCKUP
   ============================================ */
.trobo-wa-mockup {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(24,50,119,0.12), 0 4px 16px rgba(32,86,223,0.08);
    font-family: 'Outfit', sans-serif;
}
.trobo-wa-header {
    background: #075E54;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}
.trobo-wa-header-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 600;
}
.trobo-wa-header-info { flex: 1; }
.trobo-wa-header-name { font-size: 13px; font-weight: 600; }
.trobo-wa-header-status { font-size: 10px; opacity: 0.8; }
.trobo-wa-header-actions { display: flex; gap: 16px; font-size: 14px; opacity: 0.8; }
.trobo-wa-messages {
    background: #ECE5DD;
    padding: 16px;
    display: flex; flex-direction: column; gap: 8px;
    min-height: 200px;
}
.trobo-wa-bubble {
    max-width: 80%; padding: 8px 12px; border-radius: 8px;
    font-size: 11px; line-height: 1.5; position: relative;
}
.trobo-wa-bubble.incoming {
    background: #FFFFFF; align-self: flex-start;
    border-top-left-radius: 0; color: #333;
}
.trobo-wa-bubble.outgoing {
    background: #DCF8C6; align-self: flex-end;
    border-top-right-radius: 0; color: #333;
}
.trobo-wa-bubble .wa-time {
    font-size: 9px; color: #999; text-align: right;
    margin-top: 4px;
}
.trobo-wa-bubble .wa-sender {
    font-size: 10px; font-weight: 600; color: #075E54;
    margin-bottom: 2px;
}
.trobo-wa-input {
    background: #F0F0F0;
    padding: 10px 16px;
    display: flex; align-items: center; gap: 10px;
    border-top: 1px solid #DDD;
}
.trobo-wa-input-field {
    flex: 1; background: #fff; border-radius: 20px;
    padding: 8px 14px; font-size: 11px; color: #999;
    border: none;
}
.trobo-wa-input-send {
    width: 32px; height: 32px; border-radius: 50%;
    background: #075E54; color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
}
.trobo-wa-actions {
    background: #fff; padding: 10px 16px;
    display: flex; gap: 8px; flex-wrap: wrap;
    border-top: 1px solid #E5E7EB;
}
.trobo-wa-action-btn {
    padding: 5px 12px; border-radius: 16px;
    font-size: 10px; font-weight: 500;
    background: #F3F4F6; color: #374151;
    border: 1px solid #E5E7EB;
}
.trobo-wa-action-btn.active {
    background: #DCF8C6; color: #075E54;
    border-color: #25D366;
}

/* ============================================
   TIMELINE MOCKUP (Closer/Activity Feed)
   ============================================ */
.trobo-timeline-mockup {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(24,50,119,0.12), 0 4px 16px rgba(32,86,223,0.08);
    font-family: 'Outfit', sans-serif;
    padding: 20px;
}
.trobo-timeline-mockup-header {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 20px; padding-bottom: 12px;
    border-bottom: 1px solid #E5E7EB;
}
.trobo-timeline-mockup-header i {
    font-size: 16px; color: #10B981;
}
.trobo-timeline-mockup-header span {
    font-size: 13px; font-weight: 600; color: #183277;
}
.trobo-timeline-items {
    position: relative;
    padding-left: 24px;
}
.trobo-timeline-items::before {
    content: ''; position: absolute; left: 7px; top: 0; bottom: 0;
    width: 2px; background: #E5E7EB;
}
.trobo-timeline-item {
    position: relative;
    padding-bottom: 18px;
}
.trobo-timeline-item:last-child { padding-bottom: 0; }
.trobo-timeline-dot {
    position: absolute; left: -20px; top: 2px;
    width: 12px; height: 12px; border-radius: 50%;
    border: 2px solid #fff;
}
.trobo-timeline-dot.green { background: #10B981; }
.trobo-timeline-dot.blue { background: #2056df; }
.trobo-timeline-dot.purple { background: #8B5CF6; }
.trobo-timeline-dot.amber { background: #F59E0B; }
.trobo-timeline-dot.pink { background: #EC4899; }
.trobo-timeline-content {
    background: #F9FAFB; border-radius: 8px; padding: 10px 14px;
    border: 1px solid #F3F4F6;
}
.trobo-timeline-content h5 {
    font-size: 11px; font-weight: 600; color: #183277;
    margin: 0 0 4px 0;
}
.trobo-timeline-content p {
    font-size: 10px; color: #6B7280; margin: 0;
    line-height: 1.5;
}
.trobo-timeline-time {
    font-size: 9px; color: #9CA3AF; margin-top: 4px;
}

/* ============================================
   INSIGHT CARDS (Analista)
   ============================================ */
.trobo-insights-mockup {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(24,50,119,0.12), 0 4px 16px rgba(32,86,223,0.08);
    font-family: 'Outfit', sans-serif;
    padding: 20px;
}
.trobo-insights-header {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 16px; padding-bottom: 12px;
    border-bottom: 1px solid #E5E7EB;
}
.trobo-insights-header i {
    font-size: 16px; color: #2056df;
}
.trobo-insights-header span {
    font-size: 13px; font-weight: 600; color: #183277;
}
.trobo-insight-cards {
    display: flex; flex-direction: column; gap: 10px;
}
.trobo-insight-card {
    background: #F9FAFB; border-radius: 10px; padding: 12px 14px;
    border-left: 3px solid; display: flex; gap: 12px; align-items: flex-start;
}
.trobo-insight-card.blue { border-left-color: #2056df; }
.trobo-insight-card.green { border-left-color: #10B981; }
.trobo-insight-card.amber { border-left-color: #F59E0B; }
.trobo-insight-card.red { border-left-color: #EF4444; }
.trobo-insight-icon {
    width: 32px; height: 32px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; flex-shrink: 0;
}
.trobo-insight-icon.blue { background: rgba(32,86,223,0.1); color: #2056df; }
.trobo-insight-icon.green { background: rgba(16,185,129,0.1); color: #10B981; }
.trobo-insight-icon.amber { background: rgba(245,158,11,0.1); color: #F59E0B; }
.trobo-insight-icon.red { background: rgba(239,68,68,0.1); color: #EF4444; }
.trobo-insight-info { flex: 1; }
.trobo-insight-info h5 {
    font-size: 11px; font-weight: 600; color: #183277;
    margin: 0 0 3px 0;
}
.trobo-insight-info p {
    font-size: 10px; color: #6B7280; margin: 0;
    line-height: 1.4;
}
.trobo-insight-trend {
    font-size: 10px; font-weight: 600; display: inline-flex;
    align-items: center; gap: 3px; margin-top: 4px;
    padding: 2px 8px; border-radius: 10px;
}
.trobo-insight-trend.up { background: rgba(16,185,129,0.1); color: #10B981; }
.trobo-insight-trend.down { background: rgba(239,68,68,0.1); color: #EF4444; }

/* ============================================
   NPS / SATISFACTION MOCKUP (Pós-Venda)
   ============================================ */
.trobo-nps-mockup {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(24,50,119,0.12), 0 4px 16px rgba(32,86,223,0.08);
    font-family: 'Outfit', sans-serif;
    padding: 20px;
}
.trobo-nps-header {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 16px; padding-bottom: 12px;
    border-bottom: 1px solid #E5E7EB;
}
.trobo-nps-header i { font-size: 16px; color: #EC4899; }
.trobo-nps-header span { font-size: 13px; font-weight: 600; color: #183277; }
.trobo-nps-score {
    text-align: center; margin-bottom: 16px;
}
.trobo-nps-score-value {
    font-size: 42px; font-weight: 700; color: #10B981;
    line-height: 1;
}
.trobo-nps-score-label {
    font-size: 11px; color: #6B7280; margin-top: 4px;
}
.trobo-nps-bar {
    display: flex; height: 8px; border-radius: 4px; overflow: hidden;
    margin-bottom: 8px;
}
.trobo-nps-bar-segment { height: 100%; }
.trobo-nps-bar-segment.promoter { background: #10B981; }
.trobo-nps-bar-segment.passive { background: #F59E0B; }
.trobo-nps-bar-segment.detractor { background: #EF4444; }
.trobo-nps-legend {
    display: flex; justify-content: space-between;
    font-size: 9px; color: #6B7280; margin-bottom: 16px;
}
.trobo-nps-feedback-item {
    display: flex; gap: 10px; align-items: flex-start;
    padding: 8px 0; border-top: 1px solid #F3F4F6;
}
.trobo-nps-feedback-avatar {
    width: 28px; height: 28px; border-radius: 50%;
    background: #E5E7EB;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 600; color: #6B7280;
    flex-shrink: 0;
}
.trobo-nps-feedback-content { flex: 1; }
.trobo-nps-feedback-name {
    font-size: 10px; font-weight: 600; color: #183277;
}
.trobo-nps-feedback-text {
    font-size: 10px; color: #6B7280; line-height: 1.4;
    margin-top: 2px;
}
.trobo-nps-feedback-stars {
    font-size: 10px; color: #F59E0B;
}

/* ============================================
   RECONCILIATION MOCKUP (Financeiro)
   ============================================ */
.trobo-recon-progress {
    background: #F3F4F6; border-radius: 8px;
    padding: 12px 14px; margin-bottom: 12px;
}
.trobo-recon-progress-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 8px;
}
.trobo-recon-progress-label {
    font-size: 11px; font-weight: 600; color: #183277;
}
.trobo-recon-progress-pct {
    font-size: 11px; font-weight: 700; color: #10B981;
}
.trobo-recon-bar {
    height: 8px; background: #E5E7EB; border-radius: 4px;
    overflow: hidden;
}
.trobo-recon-bar-fill {
    height: 100%; background: linear-gradient(90deg, #10B981, #00c8c8);
    border-radius: 4px;
}
.trobo-recon-status {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 2px 8px; border-radius: 10px;
    font-size: 9px; font-weight: 600;
}
.trobo-recon-status.ok { background: rgba(16,185,129,0.1); color: #10B981; }
.trobo-recon-status.pending { background: rgba(245,158,11,0.1); color: #F59E0B; }
.trobo-recon-status.error { background: rgba(239,68,68,0.1); color: #EF4444; }

/* ============================================
   CASHFLOW CHART MOCKUP
   ============================================ */
.trobo-cashflow-chart {
    display: flex; align-items: flex-end; gap: 6px;
    height: 100px; padding: 12px 0;
}
.trobo-cashflow-bar-group {
    flex: 1; display: flex; gap: 2px; align-items: flex-end;
}
.trobo-cashflow-bar {
    flex: 1; border-radius: 3px 3px 0 0; min-width: 8px;
}
.trobo-cashflow-bar.income { background: #10B981; }
.trobo-cashflow-bar.expense { background: #EF4444; opacity: 0.6; }
.trobo-cashflow-labels {
    display: flex; justify-content: space-between;
    font-size: 9px; color: #9CA3AF; padding: 4px 0 0;
}
.trobo-cashflow-legend {
    display: flex; gap: 16px; font-size: 9px; color: #6B7280;
    margin-bottom: 8px;
}
.trobo-cashflow-legend-dot {
    display: inline-block; width: 8px; height: 8px;
    border-radius: 2px; margin-right: 4px;
}

/* ============================================
   META PROGRESS MOCKUP
   ============================================ */
.trobo-meta-progress-card {
    background: #F9FAFB; border-radius: 10px; padding: 14px;
    margin-bottom: 10px;
}
.trobo-meta-progress-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 10px;
}
.trobo-meta-progress-title {
    font-size: 12px; font-weight: 600; color: #183277;
}
.trobo-meta-progress-pct {
    font-size: 18px; font-weight: 700; color: #2056df;
}
.trobo-meta-progress-bar {
    height: 10px; background: #E5E7EB; border-radius: 5px;
    overflow: hidden; margin-bottom: 8px;
}
.trobo-meta-progress-fill {
    height: 100%; border-radius: 5px;
    background: linear-gradient(90deg, #2056df, #00c8c8);
}
.trobo-meta-progress-row {
    display: flex; justify-content: space-between;
    font-size: 10px; color: #6B7280;
}

/* ============================================
   INLINE MOCKUP IN FEATURE PAGES — fit properly
   ============================================ */
.trobo-pg-detail .mockup .trobo-mockup,
.trobo-pg-detail .mockup .trobo-mockup-v2 {
    min-height: auto;
}

/* Sidebar: compact in feature page context */
.trobo-pg-detail .mockup .trobo-sidebar-collapsed {
    width: 40px;
}
.trobo-pg-detail .mockup .trobo-sidebar-collapsed-item {
    width: 26px; height: 26px;
}
.trobo-pg-detail .mockup .trobo-sidebar-collapsed-item i {
    font-size: 11px;
}
.trobo-pg-detail .mockup .trobo-sidebar-collapsed-logo {
    height: 40px;
}
.trobo-pg-detail .mockup .trobo-sidebar-collapsed-avatar {
    width: 26px; height: 26px; font-size: 9px;
}

/* Navbar: compact */
.trobo-pg-detail .mockup .trobo-navbar-v2 {
    padding: 6px 12px;
}
.trobo-pg-detail .mockup .trobo-navbar-v2-avatar {
    width: 26px; height: 26px; font-size: 9px;
}
.trobo-pg-detail .mockup .trobo-navbar-v2-btn.tutorial {
    font-size: 10px; padding: 3px 8px;
}
.trobo-pg-detail .mockup .trobo-navbar-v2-icon {
    font-size: 13px;
}

/* Page header: compact */
.trobo-pg-detail .mockup .trobo-page-header-v2 {
    padding: 10px 12px;
    margin-bottom: 10px;
}
.trobo-pg-detail .mockup .trobo-page-header-icon {
    width: 32px; height: 32px;
}
.trobo-pg-detail .mockup .trobo-page-header-icon i {
    font-size: 13px;
}
.trobo-pg-detail .mockup .trobo-page-header-title {
    font-size: 13px;
}
.trobo-pg-detail .mockup .trobo-page-header-sub {
    font-size: 10px;
}

/* Content area */
.trobo-pg-detail .mockup .trobo-mockup-content {
    padding: 10px !important;
}

/* Pipeline columns: fit 4 in available space */
.trobo-pg-detail .mockup .trobo-pipeline-wrapper {
    gap: 6px;
}
.trobo-pg-detail .mockup .trobo-pipeline-column,
.trobo-pg-detail .mockup .trobo-pipeline-col-v2 {
    min-width: 0 !important;
}
.trobo-pg-detail .mockup .trobo-column-header {
    font-size: 10px;
    padding: 6px 8px;
}
.trobo-pg-detail .mockup .trobo-column-badge {
    font-size: 9px;
    padding: 1px 5px;
}
.trobo-pg-detail .mockup .trobo-lead-card-enhanced {
    padding: 6px 8px;
}
.trobo-pg-detail .mockup .trobo-lead-avatar {
    width: 28px; height: 28px; font-size: 9px;
}
.trobo-pg-detail .mockup .trobo-lead-name {
    font-size: 10px;
}
.trobo-pg-detail .mockup .trobo-lead-desc {
    font-size: 9px;
}
.trobo-pg-detail .mockup .trobo-lead-meta {
    font-size: 8px;
}
.trobo-pg-detail .mockup .trobo-lead-value-badge {
    font-size: 8px;
    padding: 1px 5px;
}

/* Sim filter cards: compact */
.trobo-pg-detail .mockup .trobo-sim-filters-v2 {
    gap: 6px;
    margin-bottom: 10px;
}
.trobo-pg-detail .mockup .trobo-sim-filter-card {
    padding: 6px 10px;
    font-size: 10px;
}
.trobo-pg-detail .mockup .trobo-sim-filter-card i {
    font-size: 12px;
}

/* Sim group cards: compact grid */
.trobo-pg-detail .mockup .trobo-sim-groups-v2 {
    gap: 8px;
}
.trobo-pg-detail .mockup .trobo-sim-group-card {
    padding: 10px;
}
.trobo-pg-detail .mockup .trobo-sim-group-name {
    font-size: 11px;
}
.trobo-pg-detail .mockup .trobo-sim-group-type {
    font-size: 8px;
    padding: 1px 6px;
}
.trobo-pg-detail .mockup .trobo-sim-group-row {
    font-size: 10px;
}
.trobo-pg-detail .mockup .trobo-sim-group-row strong {
    font-size: 10px;
}
.trobo-pg-detail .mockup .trobo-sim-group-logo {
    width: 28px; height: 28px; font-size: 12px;
}
.trobo-pg-detail .mockup .trobo-sim-group-rec {
    font-size: 9px;
    padding: 3px 8px;
}

/* Fin stats: compact */
.trobo-pg-detail .mockup .trobo-fin-stats {
    gap: 8px;
    margin-bottom: 10px;
}
.trobo-pg-detail .mockup .trobo-fin-stat-card {
    padding: 10px;
}
.trobo-pg-detail .mockup .trobo-fin-stat-label {
    font-size: 9px;
}
.trobo-pg-detail .mockup .trobo-fin-stat-value {
    font-size: 16px;
}
.trobo-pg-detail .mockup .trobo-fin-stat-sub {
    font-size: 9px;
}
.trobo-pg-detail .mockup .trobo-fin-stat-icon {
    font-size: 13px;
}

/* Fin table: compact */
.trobo-pg-detail .mockup .trobo-fin-table {
    font-size: 10px;
}
.trobo-pg-detail .mockup .trobo-fin-table-header {
    padding: 6px 10px;
    font-size: 9px;
}
.trobo-pg-detail .mockup .trobo-fin-table-row {
    padding: 5px 10px;
}
.trobo-pg-detail .mockup .trobo-fin-table-cell {
    font-size: 10px;
}
.trobo-pg-detail .mockup .trobo-fin-table-footer {
    padding: 6px 10px;
    font-size: 10px;
}

/* Ranking: compact */
.trobo-pg-detail .mockup .trobo-ranking-card {
    padding: 10px;
}
.trobo-pg-detail .mockup .trobo-ranking-header {
    padding-bottom: 8px;
    margin-bottom: 8px;
}
.trobo-pg-detail .mockup .trobo-ranking-header-icon {
    width: 28px; height: 28px;
}
.trobo-pg-detail .mockup .trobo-ranking-header-title {
    font-size: 12px;
}
.trobo-pg-detail .mockup .trobo-ranking-row {
    padding: 6px 0;
}
.trobo-pg-detail .mockup .trobo-ranking-avatar {
    width: 28px; height: 28px; font-size: 9px;
}
.trobo-pg-detail .mockup .trobo-ranking-name {
    font-size: 10px;
}
.trobo-pg-detail .mockup .trobo-ranking-value-amount {
    font-size: 11px;
}
.trobo-pg-detail .mockup .trobo-ranking-value-meta {
    font-size: 8px;
}
.trobo-pg-detail .mockup .trobo-ranking-pct {
    font-size: 10px;
}
.trobo-pg-detail .mockup .trobo-ranking-medal {
    width: 24px; height: 24px;
}

/* Recon: compact */
.trobo-pg-detail .mockup .trobo-recon-progress {
    padding: 10px;
}
.trobo-pg-detail .mockup .trobo-recon-progress-label {
    font-size: 10px;
}
.trobo-pg-detail .mockup .trobo-recon-status {
    font-size: 8px;
}

/* WhatsApp mockup: compact */
.trobo-pg-detail .mockup .trobo-wa-header {
    padding: 10px 14px;
}
.trobo-pg-detail .mockup .trobo-wa-header-avatar {
    width: 32px; height: 32px; font-size: 12px;
}
.trobo-pg-detail .mockup .trobo-wa-header-name {
    font-size: 12px;
}
.trobo-pg-detail .mockup .trobo-wa-header-status {
    font-size: 9px;
}
.trobo-pg-detail .mockup .trobo-wa-messages {
    padding: 12px;
    min-height: 180px;
}
.trobo-pg-detail .mockup .trobo-wa-bubble {
    font-size: 10px;
    padding: 7px 10px;
}
.trobo-pg-detail .mockup .trobo-wa-bubble .wa-time {
    font-size: 8px;
}
.trobo-pg-detail .mockup .trobo-wa-bubble .wa-sender {
    font-size: 9px;
}
.trobo-pg-detail .mockup .trobo-wa-action-btn {
    font-size: 9px;
    padding: 4px 10px;
}
.trobo-pg-detail .mockup .trobo-wa-input-field {
    font-size: 10px;
    padding: 6px 12px;
}
.trobo-pg-detail .mockup .trobo-wa-input-send {
    width: 28px; height: 28px; font-size: 11px;
}

/* Timeline mockup: compact */
.trobo-pg-detail .mockup .trobo-timeline-mockup {
    padding: 16px;
}
.trobo-pg-detail .mockup .trobo-timeline-mockup-header span {
    font-size: 12px;
}
.trobo-pg-detail .mockup .trobo-timeline-content h5 {
    font-size: 10px;
}
.trobo-pg-detail .mockup .trobo-timeline-content p {
    font-size: 9px;
}
.trobo-pg-detail .mockup .trobo-timeline-time {
    font-size: 8px;
}

/* Insights mockup: compact */
.trobo-pg-detail .mockup .trobo-insights-mockup {
    padding: 16px;
}
.trobo-pg-detail .mockup .trobo-insights-header span {
    font-size: 12px;
}
.trobo-pg-detail .mockup .trobo-insight-card {
    padding: 10px 12px;
}
.trobo-pg-detail .mockup .trobo-insight-icon {
    width: 28px; height: 28px; font-size: 12px;
}
.trobo-pg-detail .mockup .trobo-insight-info h5 {
    font-size: 10px;
}
.trobo-pg-detail .mockup .trobo-insight-info p {
    font-size: 9px;
}
.trobo-pg-detail .mockup .trobo-insight-trend {
    font-size: 9px;
}

/* NPS mockup: compact */
.trobo-pg-detail .mockup .trobo-nps-mockup {
    padding: 16px;
}
.trobo-pg-detail .mockup .trobo-nps-score-value {
    font-size: 36px;
}
.trobo-pg-detail .mockup .trobo-nps-score-label {
    font-size: 10px;
}
.trobo-pg-detail .mockup .trobo-nps-legend {
    font-size: 8px;
}
.trobo-pg-detail .mockup .trobo-nps-feedback-avatar {
    width: 24px; height: 24px; font-size: 9px;
}
.trobo-pg-detail .mockup .trobo-nps-feedback-name {
    font-size: 9px;
}
.trobo-pg-detail .mockup .trobo-nps-feedback-text {
    font-size: 9px;
}

/* Mobile: hide sidebar, single column */
@media (max-width: 767px) {
    .trobo-pg-detail .mockup .trobo-sidebar-collapsed {
        display: none;
    }
    .trobo-pg-detail .mockup .trobo-mockup-with-sidebar {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) {
    .trobo-pg-detail .mockup .trobo-mockup-with-sidebar {
        grid-template-columns: 40px 1fr;
    }
}

/* === 480px Mobile Responsive for Mockup Components === */
@media (max-width: 480px) {
    /* WhatsApp mockup */
    .trobo-wa-bubble { max-width: 90%; font-size: 10px; }
    .trobo-wa-messages { min-height: 160px; padding: 10px; }
    .trobo-wa-header { padding: 8px 12px; }
    .trobo-wa-header-avatar { width: 30px; height: 30px; }
    .trobo-wa-actions { gap: 6px; }
    .trobo-wa-action-btn { font-size: 9px; padding: 3px 8px; }

    /* Timeline mockup */
    .trobo-timeline-mockup { padding: 14px; }
    .trobo-timeline-items { padding-left: 20px; }
    .trobo-timeline-dot { left: -17px; width: 10px; height: 10px; }
    .trobo-timeline-content { padding: 8px 10px; }

    /* Insights mockup */
    .trobo-insight-card { padding: 8px 10px; gap: 8px; }
    .trobo-insight-icon { width: 26px; height: 26px; font-size: 11px; }

    /* NPS mockup */
    .trobo-nps-score-value { font-size: 32px; }
    .trobo-nps-legend { font-size: 8px; flex-wrap: wrap; gap: 6px; }
    .trobo-nps-feedback-avatar { width: 22px; height: 22px; }

    /* Cashflow chart */
    .trobo-cashflow-chart { height: 70px; }
    .trobo-cashflow-legend { gap: 10px; font-size: 8px; }

    /* Meta progress */
    .trobo-meta-progress-pct { font-size: 14px; }
    .trobo-meta-progress-title { font-size: 10px; }

    /* Fin table on very small screens */
    .trobo-fin-table-header,
    .trobo-fin-table-row,
    .trobo-fin-table-footer { grid-template-columns: 1fr 50px 50px 50px; font-size: 9px; }

    /* Ranking */
    .trobo-ranking-row { flex-wrap: wrap; }
    .trobo-ranking-value { display: none; }

    /* CRM values & sim filters */
    .trobo-crm-values-row .trobo-crm-value-cell { flex: 0 0 calc(50% - 6px); }
    .trobo-sim-filters-v2 .trobo-sim-filter-card { flex: 0 0 calc(50% - 4px); }
}
