/* =============================================================================
   IMZ Engagement Monetization — Dashboard Styles
   ============================================================================= */

.imz-engagement-section {
    margin-bottom: 40px;
}

.imz-engagement-section h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    border-bottom: 1px solid #2a2a2a;
    padding-bottom: 12px;
}

.imz-engagement-overview {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.imz-engagement-card {
    background: #141414;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 24px;
}

.imz-engagement-card.main {
    border-top: 2px solid #10b981;
}

.imz-engagement-card.balance {
    border-top: 2px solid #60a5fa;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.imz-engagement-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.imz-engagement-card-label {
    font-size: 13px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.imz-engagement-tier-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.3px;
}

.imz-engagement-tier-badge.pro {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.imz-engagement-tier-badge.free {
    background: rgba(255, 255, 255, 0.05);
    color: #888;
    border: 1px solid #333;
}

.imz-engagement-card-value {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 6px;
}

.imz-engagement-card.balance .imz-engagement-card-value {
    font-size: 28px;
}

.imz-engagement-card-sub {
    font-size: 14px;
    color: #888;
    font-weight: 500;
}

.imz-engagement-note {
    font-size: 12px;
    color: #666;
    margin: 14px 0 0;
    padding: 12px;
    background: rgba(255,255,255,0.02);
    border: 1px solid #222;
    border-radius: 8px;
    line-height: 1.6;
}

/* Histórico */
.imz-engagement-history {
    margin-top: 24px;
}

.imz-engagement-history h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
}

.imz-factor-full {
    color: #10b981;
    font-weight: 600;
}

.imz-factor-adjusted {
    color: #f59e0b;
    font-weight: 600;
}

/* Light mode */
.artist-dashboard[data-theme="light"] .imz-engagement-card {
    background: #ffffff;
    border-color: #e5e7eb;
}

.artist-dashboard[data-theme="light"] .imz-engagement-card-value {
    color: #111827;
}

.artist-dashboard[data-theme="light"] .imz-engagement-note {
    background: #f9fafb;
    border-color: #e5e7eb;
    color: #6b7280;
}

/* Responsive */
@media (max-width: 600px) {
    .imz-engagement-overview {
        grid-template-columns: 1fr;
    }

    .imz-engagement-card {
        padding: 18px;
    }

    .imz-engagement-card-value {
        font-size: 28px;
    }

    .imz-engagement-card.balance .imz-engagement-card-value {
        font-size: 24px;
    }

    .imz-engagement-card-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
