/**
 * SAM — Page-specific styles
 */

/* ── Custom chart tooltip (sct = sam chart tooltip) ──────────────── */
/* Injecté dynamiquement via JS (innerHTML), ne peut pas être converti en Tailwind */

.sct {
    background: #fff;
    border: 1px solid #e9e6f5;
    border-radius: 16px;
    box-shadow: 0 8px 24px -4px rgb(0 0 0 / 0.10), 0 2px 8px -2px rgb(0 0 0 / 0.05);
    min-width: 200px;
    max-width: 260px;
    font-family: 'Roboto', sans-serif;
    overflow: hidden;
}

.sct-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px 11px;
    border-bottom: 1px solid #f0edf9;
}

.sct-head strong {
    font-size: 15px;
    font-weight: 700;
    color: #1a1535;
    letter-spacing: -0.02em;
}

.sct-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    padding: 3px 10px;
    background: #ede9fe;
    color: #6d28d9;
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
}

.sct-body {
    padding: 8px 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 260px;
    overflow-y: auto;
}

.sct-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sct-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

.sct-label {
    flex: 1;
    color: #374151;
    font-size: 13px;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sct-val {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}

.sct-more {
    text-align: center;
    color: #c4b5fd;
    font-size: 10px;
    padding-top: 2px;
}
