/* ═══════════════════════════════════════════════════════
   Billing Review — Control Plane (Admin)
   ═══════════════════════════════════════════════════════ */

/* ── KPI Cards ── */
.billing-review-admin .kpi-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 16px;
}

.billing-review-admin .kpi-value {
    font-size: 1.5rem;
    font-weight: 700;
    white-space: nowrap;
}

.billing-review-admin .kpi-value.positive {
    color: #52c41a;
}

.billing-review-admin .kpi-value.negative {
    color: #ff4d4f;
}

.billing-review-admin .kpi-value.neutral {
    color: #333;
}

.billing-review-admin .kpi-label {
    font-size: 0.78rem;
    color: #888;
    margin-top: 6px;
    text-align: center;
}

/* ── Toolbar / Filtros ── */
.billing-review-admin .toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    flex-wrap: wrap;
}

.billing-review-admin .toolbar select,
.billing-review-admin .toolbar input {
    padding: 6px 10px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 13px;
    background: #fff;
    min-width: 100px;
}

.billing-review-admin .toolbar select:focus,
.billing-review-admin .toolbar input:focus {
    border-color: #1890ff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.15);
}

.billing-review-admin .toolbar label {
    font-size: 12px;
    color: #666;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

/* ── Tabela ── */
.billing-review-admin .margin-ok {
    color: #52c41a;
    font-weight: 600;
}

.billing-review-admin .margin-error {
    color: #ff4d4f;
    font-weight: 600;
}

.billing-review-admin .margin-warning {
    color: #fa8c16;
    font-weight: 600;
}

.billing-review-admin .text-right {
    text-align: right;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
}

.billing-review-admin .text-center {
    text-align: center;
}

.billing-review-admin .cell-muted {
    color: #bbb;
}

/* ── Status badges ── */
.billing-review-admin .status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.billing-review-admin .status-badge.ok {
    background: #f6ffed;
    color: #52c41a;
    border: 1px solid #b7eb8f;
}

.billing-review-admin .status-badge.warning {
    background: #fffbe6;
    color: #faad14;
    border: 1px solid #ffe58f;
}

.billing-review-admin .status-badge.error {
    background: #fff1f0;
    color: #ff4d4f;
    border: 1px solid #ffa39e;
}

/* ── Detail side panel ── */
.billing-review-admin .detail-panel {
    padding: 16px;
}

.billing-review-admin .detail-panel h4 {
    margin: 0 0 12px 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 8px;
}

.billing-review-admin .detail-section {
    font-size: 11px;
    font-weight: 700;
    color: #1890ff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 14px 0 6px;
    padding: 4px 0;
    border-bottom: 1px solid #e6f7ff;
}

.billing-review-admin .detail-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    font-size: 13px;
    border-bottom: 1px solid #fafafa;
}

.billing-review-admin .detail-row .label {
    color: #888;
}

.billing-review-admin .detail-row .value {
    font-weight: 600;
    color: #333;
    text-align: right;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
}

/* ── Empty state ── */
.billing-review-admin .empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 60px 40px;
    text-align: center;
    color: #aaa;
}

.billing-review-admin .empty-state svg {
    margin-bottom: 16px;
    opacity: 0.4;
}

/* ── Summary row (totals) ── */
.billing-review-admin .summary-row {
    background: #fafafa;
    font-weight: 700 !important;
    border-top: 2px solid #e8e8e8;
}

/* ── Responsive adjustments ── */
@media (max-width: 1200px) {
    .billing-review-admin .kpi-value {
        font-size: 1.2rem;
    }
}

.finops-data-health-kpi-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
}

.finops-data-health-kpi-value {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
    color: #1f1f1f;
}

.finops-data-health-kpi-label {
    margin-top: 6px;
    font-size: 12px;
    color: #595959;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.finops-data-health-warning {
    margin-bottom: 10px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #ffe58f;
    border-radius: 6px;
    background-color: #fffbe6;
    color: #ad6800;
    font-size: 12px;
}

.sub-health-pill {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}
.idp-page {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

/* ── Abas ───────────────────────────────────────────────────────────── */

.idp-tabs {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid #ebebeb;
}

.idp-tab {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 12px;
    color: #8c8c8c;
}

.idp-tab.active {
    color: #2e1956;
    color: var(--color-primary-purple, #2e1956);
    border-bottom-color: #b1d34b;
    border-bottom-color: var(--color-secondary-lime, #b1d34b);
    font-weight: 600;
}

/* ── Painel ─────────────────────────────────────────────────────────── */

.idp-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    overflow: hidden;
}

.idp-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.idp-panel-header h3 {
    margin: 0 0 4px;
    font-size: 14px;
    color: #2e1956;
    color: var(--color-primary-purple, #2e1956);
}

.idp-help {
    display: block;
    font-size: 11px;
    color: #8c8c8c;
    margin: 2px 0 0;
}

/* ── Formulario ─────────────────────────────────────────────────────── */

.idp-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 4px 2px 24px;
}

.idp-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.idp-field.idp-inline {
    flex-direction: row;
    gap: 24px;
    align-items: center;
}

.idp-label {
    font-size: 11px;
    color: #6b6b6b;
}

.idp-required {
    color: #dc291e;
}

.idp-select,
.idp-textarea {
    width: 100%;
    border: 1px solid #ebebeb;
    border-radius: 4px;
    padding: 8px;
    font-size: 12px;
    font-family: inherit;
    background-color: #fff;
}

.idp-select:focus,
.idp-textarea:focus {
    outline: none;
    border-color: #b1d34b;
    border-color: var(--color-secondary-lime, #b1d34b);
}

.idp-textarea {
    resize: vertical;
    word-break: break-all;
}

.idp-section-title {
    margin: 8px 0 0;
    font-size: 12px;
    color: #2e1956;
    color: var(--color-primary-purple, #2e1956);
    border-top: 1px solid #ebebeb;
    padding-top: 12px;
}

.idp-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.idp-errors {
    background-color: #fdecea;
    border-left: 3px solid #dc291e;
    padding: 8px 12px;
    font-size: 11px;
    color: #7a1c15;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* ── Avisos e estados ───────────────────────────────────────────────── */

.idp-notice {
    background-color: #e0ecfe;
    border-left: 3px solid #2e1956;
    padding: 10px 12px;
    font-size: 11px;
    color: #2e1956;
    border-radius: 4px;
}

.idp-badge {
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
}

.idp-badge-on {
    background-color: #e6f4ea;
    color: #2f7d3e;
}

.idp-badge-off {
    background-color: #f1f1f1;
    color: #8c8c8c;
}

.idp-test-ok,
.idp-test-fail {
    padding: 10px 12px;
    border-radius: 4px;
    font-size: 11px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    word-break: break-word;
}

.idp-test-ok {
    background-color: #e6f4ea;
    color: #2f7d3e;
}

.idp-test-fail {
    background-color: #fdecea;
    color: #7a1c15;
}

.idp-identity {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* ── Politica do cadastro ───────────────────────────────────────────── */

.idp-policy-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
}

.idp-policy-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border: 1px solid #ebebeb;
    border-radius: 4px;
}

.idp-policy-meta {
    font-size: 10px;
    color: #8c8c8c;
}

.portal-analytics-page {
    min-height: calc(100vh - 96px);
    padding: 24px;
    background: linear-gradient(145deg, #f7f9ff 0%, #eef2fb 100%);
    color: #27324a;
    font-family: Ubuntu, sans-serif;
}

.portal-analytics-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 14px;
}

.portal-analytics-hero h1,
.portal-analytics-panel h2 {
    margin: 4px 0 6px;
    color: #2e1956;
}

.portal-analytics-hero h1 {
    font-size: clamp(24px, 3vw, 36px);
}

.portal-analytics-hero p {
    margin: 0;
    color: #68728a;
}

.portal-analytics-eyebrow {
    color: #5971c6;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.portal-analytics-filters {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.portal-analytics-filters label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #66718a;
    font-size: 11px;
    font-weight: 700;
}

.portal-analytics-filters input {
    border: 1px solid #cfd7ed;
    border-radius: 7px;
    padding: 8px 10px;
    color: #27324a;
    background: #fff;
}

.portal-analytics-filters button {
    border: 0;
    border-radius: 7px;
    padding: 9px 16px;
    background: #2e1956;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
}

.portal-analytics-filters button:disabled {
    cursor: wait;
    opacity: .6;
}

.portal-analytics-period {
    margin: 0 0 16px;
    color: #68728a;
    font-size: 12px;
}

.portal-analytics-error {
    margin: 12px 0;
    border: 1px solid #f1b8b5;
    border-radius: 8px;
    padding: 12px 14px;
    background: #fff3f2;
    color: #a93632;
}

.portal-analytics-kpis {
    display: grid;
    grid-template-columns: repeat(7, minmax(120px, 1fr));
    grid-gap: 12px;
    gap: 12px;
    margin-bottom: 16px;
}

.portal-analytics-kpi,
.portal-analytics-panel {
    border: 1px solid rgba(210, 218, 239, .9);
    border-radius: 12px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 8px 24px rgba(38, 56, 105, .07);
}

.portal-analytics-kpi {
    min-height: 92px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 14px;
}

.portal-analytics-kpi span {
    color: #77829c;
    font-size: 12px;
}

.portal-analytics-kpi strong {
    color: #2e1956;
    font-size: 24px;
    text-align: right;
}

.portal-analytics-kpi--warning strong { color: #c87900; }
.portal-analytics-kpi--danger strong { color: #c34b4b; }

.portal-analytics-panel {
    margin-bottom: 16px;
    overflow: hidden;
}

.portal-analytics-panel__heading {
    padding: 16px 18px 8px;
}

.portal-analytics-panel__heading h2 {
    font-size: 19px;
}

.portal-analytics-daily {
    padding: 8px 18px 16px;
}

.portal-analytics-daily__row {
    display: grid;
    grid-template-columns: 90px minmax(80px, 1fr) 76px minmax(180px, .7fr);
    align-items: center;
    grid-gap: 10px;
    gap: 10px;
    min-height: 34px;
    border-bottom: 1px solid #edf0f8;
    font-size: 12px;
}

.portal-analytics-daily__date { color: #68728a; }
.portal-analytics-daily__bar-wrap { height: 9px; border-radius: 8px; background: #e7ebf6; overflow: hidden; }
.portal-analytics-daily__bar { display: block; height: 100%; min-width: 4px; border-radius: inherit; background: linear-gradient(90deg, #5d77d4, #8e9ee5); }
.portal-analytics-daily__meta { color: #8590a7; font-size: 11px; }
.portal-analytics-number { text-align: right; white-space: nowrap; }
.portal-analytics-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); grid-gap: 16px; gap: 16px; }
.portal-analytics-grid .portal-analytics-panel { min-width: 0; }

.portal-analytics-table-wrap { overflow-x: auto; }
.portal-analytics-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.portal-analytics-table th,
.portal-analytics-table td { padding: 10px 14px; border-top: 1px solid #edf0f8; vertical-align: middle; }
.portal-analytics-table th { color: #68728a; font-size: 11px; text-align: left; white-space: nowrap; }
.portal-analytics-table th.portal-analytics-number { text-align: right; }
.portal-analytics-table td { color: #3c465d; }
.portal-analytics-endpoint { max-width: 360px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.portal-analytics-method { border-radius: 5px; padding: 3px 6px; background: #edf1ff; color: #3c57ad; font-size: 10px; font-weight: 700; }
.portal-analytics-empty { padding: 18px !important; color: #8993a9 !important; text-align: center; }
.portal-analytics-event-list { padding: 8px 18px 16px; }
.portal-analytics-event-row { display: grid; grid-template-columns: minmax(150px, .45fr) minmax(100px, 1fr) 80px; align-items: center; grid-gap: 10px; gap: 10px; min-height: 32px; border-bottom: 1px solid #edf0f8; color: #3c465d; font-size: 12px; }
.portal-analytics-event-row__bar-wrap { height: 8px; border-radius: 8px; background: #e7ebf6; overflow: hidden; }
.portal-analytics-event-row__bar { display: block; height: 100%; min-width: 4px; border-radius: inherit; background: linear-gradient(90deg, #7b5ac7, #b49be7); }

@media (max-width: 1200px) {
    .portal-analytics-kpis { grid-template-columns: repeat(4, minmax(140px, 1fr)); }
}

@media (max-width: 820px) {
    .portal-analytics-page { padding: 16px; }
    .portal-analytics-hero { align-items: stretch; flex-direction: column; }
    .portal-analytics-kpis { grid-template-columns: repeat(2, minmax(140px, 1fr)); }
    .portal-analytics-grid { grid-template-columns: 1fr; gap: 0; }
    .portal-analytics-daily__row { grid-template-columns: 78px minmax(60px, 1fr) 58px; }
    .portal-analytics-daily__meta { grid-column: 1 / -1; padding: 0 0 7px; }
    .portal-analytics-event-row { grid-template-columns: minmax(120px, .8fr) minmax(60px, 1fr) 64px; }
}

.menu-tree-view {
  margin-left: 40px;
  padding: 0 0 0 10px;
}
.menu-tree-view:hover {
  background-color: #ececec;
}
/* NPS Analytics Dashboard Styles - Matching Reference Design */
.nps-analytics-dashboard {
    padding: 0;
    background: transparent;
    margin-bottom: 10px;
}

.nps-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
}

.nps-title {
    margin: 0 0 12px 0;
    color: #1f2937;
    color: var(--text-primary, #1f2937);
    font-size: 18px;
    font-weight: 700;
}

.nps-scale-info {
    display: flex;
    gap: 20px;
    align-items: center;
}

.scale-indicator {
    display: flex;
    align-items: center;
    padding: 6px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 10px;
    background: #f8fafc;
    background: var(--background-light, #f8fafc);
}

.scale-min {
    color: #ef4444;
    color: var(--danger-color, #ef4444);
    border-color: #fecaca;
    border-color: var(--danger-light, #fecaca);
    background: #fef2f2;
    background: var(--danger-bg, #fef2f2);
}

.scale-min i {
    color: #ef4444;
    color: var(--danger-color, #ef4444);
}

.scale-max {
    color: #10b981;
    color: var(--success-color, #10b981);
    border-color: #a7f3d0;
    border-color: var(--success-light, #a7f3d0);
    background: #ecfdf5;
    background: var(--success-bg, #ecfdf5);
}

.scale-max i {
    color: #10b981;
    color: var(--success-color, #10b981);
}

.scale-value {
    font-weight: 700;
    font-size: 13px;
}

.question-text {
    color: #6b7280;
    color: var(--text-secondary, #6b7280);
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}

.question-label {
    font-weight: 600;
    color: #374151;
    color: var(--text-primary, #374151);
}

.question-content {
    color: #1f2937;
    color: var(--text-primary, #1f2937);
    font-style: italic;
    font-weight: 500;
}

.nps-header-right {
    display: flex;
    align-items: flex-start;
    margin-top: 4px;
}

/* Metrics Row - Exact Reference Match */
.nps-metrics-row {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    margin-top: 0;
}

.nps-metric-card {
    background: #ffffff;
    background: var(--card-background, #ffffff);
    border: 1px solid #e5e7eb;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 12px;
    padding: 20px;
    min-height: 120px;
    flex: 1 1;
    min-width: 160px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}
.metric-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.metric-label {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    color: var(--text-secondary, #6b7280);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.metric-icon {
    color: #9ca3af;
    color: var(--text-light, #9ca3af);
    font-size: 18px;
    opacity: 0.7;
    height: 100%;
    align-items: center;
    justify-content: center;
    display: flex
;
}

/* Metric Content */
.metric-content {
    flex: 1 1;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.metric-value {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.metric-description {
    font-size: 10px;
    color: #6b7280;
    color: var(--text-secondary, #6b7280);
}

/* Specific Value Colors - Matching Reference */
.nps-score {
    color: #10b981; /* Green for positive NPS */
}

.total-value {
    color: #3b82f6; /* Blue for total count */
}

.promoters-value {
    color: #10b981; /* Green for promoters */
}

.passives-value {
    color: #f59e0b; /* Yellow/Orange for passives */
}

.detractors-value {
    color: #ef4444; /* Red for detractors */
}

.postponed-value {
    color: #6b7280; /* Gray for postponed */
}

/* Specific Icon Colors */
.nps-score-card .metric-icon {
    color: #10b981;
}

.total-card .metric-icon {
    color: #3b82f6;
}

.promoters-card .metric-icon {
    color: #10b981;
}

.passives-card .metric-icon {
    color: #f59e0b;
}

.detractors-card .metric-icon {
    color: #ef4444;
}

.postponed-card .metric-icon {
    color: #6b7280;
}

/* Charts Row - Three Charts Layout */
.nps-charts-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 16px;
    gap: 16px;
    margin-bottom: 24px;
}

.nps-chart-card {
    background: #ffffff;
    background: var(--card-background, #ffffff);
    border: 1px solid #e5e7eb;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 12px;
    padding: 20px;
    height: 300px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.chart-content {
    flex: 1 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
}

/* Chart content styling */

/* NPS Groups Grid */
.nps-groups-grid {
    display: flex;
    flex-direction: row;
    overflow-y: hidden;
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 12px;
    width: 100%;
    height: 100%;
    padding: 8px;
}
.group-header {
    display: flex;
    gap: 16px;
    width: 100%;
    justify-content: space-between;
    align-items: end;
}
.group-information {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 15px;
    justify-content: space-between;
}
.nps-group-card {
    background: var(--background-lightest);
    border: 1px solid #e5e7eb;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 4px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.group-name {
    font-size: 12px;
    font-weight: 600;
    color: #3b82f6;
    color: var(--primary-color, #3b82f6);
    margin-bottom: 8px;
    text-transform: lowercase;
    flex-wrap: nowrap;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.group-score {
    font-size: 24px;
    margin-bottom: 8px;
    line-height: 1;
    color: var(--color-primary-blue);
}


.group-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.group-responses {
    font-size: 10px;
    color: #6b7280;
    color: var(--text-light, #6b7280);
}

.group-promoters {
    font-size: 10px;
    color: #6b7280;
    color: var(--text-light, #6b7280);
}

/* NPS Groups Section */
.nps-groups-section {
    background: #ffffff;
    background: var(--card-background, #ffffff);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.nps-groups-container {
    margin-top: 16px;
}

.nps-groups-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 16px;
    gap: 16px;
    width: 100%;
}

/* Note Badges */
.note-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
    color: white;
    text-align: center;
    line-height: 1;
}

.note-promoter {
    background-color: #84cc16; /* Verde para promotores (9-10) */
}

.note-passive {
    background-color: #eab308; /* Amarelo para passivos (7-8) */
}

.note-detractor {
    background-color: #ef4444; /* Vermelho para detratores (0-6) */
}

.note-postponed {
    background-color: #94a3b8; /* Cinza para adiadas */    
    font-size: 11px;
    border-radius: 10px;
    padding: 5px;
}

.chart-groups {
    justify-content: flex-start;
    align-items: stretch;
}

/* Groups List - Matching Reference Design */
.nps-groups-list {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding: 0;
}

.nps-group-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    background-color: var(--background-lightest);
}

.nps-group-item:last-child {
    border-bottom: none;
}

.group-info {
    flex: 1 1;
}

.group-name {
    font-weight: 500;
    color: #374151;
    color: var(--text-primary, #374151);
    font-size: 12px;
    margin-bottom: 2px;
}

.group-responses {
    font-size: 10px;
    color: #6b7280;
    color: var(--text-secondary, #6b7280);
}

.group-score {
    font-size: 14px;
    font-weight: 700;
    min-width: 40px;
    text-align: right;
}


/* Table Section */
.nps-table-section {
    margin-top: 20px;
    background: #ffffff;
    background: var(--card-background, #ffffff);
    border: 1px solid #e5e7eb;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.export-button {
    background-color: var(--color-primary-blue);
    color: #fff;
    display: flex;
    border-radius: 4px;
    gap: 8px;
    border: none;
    cursor: pointer;
    align-items: center;
    padding: 5px 10px;
    font-size: 12px;
}

/* Slideshow Styles */
.nps-slideshow-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    gap: 16px;
}

.slideshow-content {
    flex: 1 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.slideshow-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
    padding: 0 8px;
    
}

/* Setas Laterais */
.nav-button-side {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #e5e7eb;
    border: 1px solid var(--border-color, #e5e7eb);
    background: #ffffff;
    background: var(--background-lightest, #ffffff);
    border-radius: 50%;
    cursor: pointer;
    color: #374151;
    color: var(--text-primary, #374151);
    z-index: 10;
    flex-shrink: 0;
}

.nav-button-side:hover:not(.disabled) {
    background: var(--color-primary-blue);
    color: white;
    border-color: var(--color-primary-blue);
}

.nav-button-side.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    color: #9ca3af;
    color: var(--text-light, #9ca3af);
    background: #f8fafc;
    background: var(--background-light, #f8fafc);
}

.nav-button-left {
    margin-right: 8px;
}

.nav-button-right {
    margin-left: 8px;
}

.slide-indicator {
    font-size: 12px;
    color: #6b7280;
    color: var(--text-secondary, #6b7280);
    font-weight: 500;
    text-align: center;
    background: #f8fafc;
    background: var(--background-light, #f8fafc);
    padding: 4px 12px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    border: 1px solid var(--border-color, #e5e7eb);
}

.nps-groups-slideshow {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 8px 35px;
    flex: 1 1;
    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
    mask: linear-gradient(
        to right,
        transparent 0%,
        black 5%,
        black 95%,
        transparent 100%
    );
    -webkit-mask: linear-gradient(
        to right,
        transparent 0%,
        black 5%,
        black 95%,
        transparent 100%
    );
}

.nps-groups-slideshow::-webkit-scrollbar {
    display: none;
}

.nps-group-card-slide {
    background: var(--background-lightest);
    border: 1px solid #e5e7eb;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 8px;
    padding: 16px;
    min-width: 240px;
    max-width: 240px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Fade effect nas bordas */
.slideshow-content::before,
.slideshow-content::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20px;
    z-index: 5;
    pointer-events: none;
}

.slideshow-content::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.slideshow-content::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

@media (max-width: 1400px) {
    .nps-group-card-slide{
        padding: 4px 8px;
    }

    .group-information {
        gap: 2px;
    }
}
.copy-icon+span {
	color: green !important;
	background: #fff;
	position: relative;
	bottom: 6px;
	right: 6px;
	font-size: 14px;
}
