/* Estilos para o componente AssetPreloader */

.asset-preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}

.asset-preloader__content {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 90%;
  text-align: center;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.asset-preloader__content h3 {
  margin: 0 0 1rem 0;
  color: #333;
  font-size: 1.5rem;
}

.asset-preloader__content p {
  margin: 0 0 1.5rem 0;
  color: #666;
  line-height: 1.5;
}

.progress-container {
  margin: 1.5rem 0;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #4CAF50, #45a049);
  border-radius: 4px;
  transition: width 0.3s ease;
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: 200px 0;
  }
}

.progress-text {
  font-weight: bold;
  color: #333;
  font-size: 1.1rem;
}

.current-asset {
  font-size: 0.9rem;
  color: #666;
  margin: 0.5rem 0;
  min-height: 1.2rem;
}

.asset-preloader__content small {
  color: #888;
  font-size: 0.8rem;
}

/* Botões */
.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  margin: 0 0.5rem;
  transition: all 0.2s ease;
  font-weight: 500;
}

.btn-primary {
  background: #007bff;
  color: white;
}

.btn-primary:hover {
  background: #0056b3;
  transform: translateY(-1px);
}

.btn-secondary {
  background: #6c757d;
  color: white;
}

.btn-secondary:hover {
  background: #545b62;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1px solid #ddd;
  color: #666;
}

.btn-outline:hover {
  background: #f8f9fa;
}

.btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.8rem;
}

/* Status do cache */
.cache-status {
  margin: 1rem 0;
  text-align: left;
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 6px;
}

.cache-status h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  color: #333;
}

.cache-item {
  display: flex;
  align-items: center;
  margin: 0.25rem 0;
  font-size: 0.9rem;
}

.cache-item .status {
  margin-right: 0.5rem;
  width: 20px;
}

.cache-item .path {
  flex: 1 1;
  color: #333;
}

.cache-item .size {
  color: #666;
  font-size: 0.8rem;
}

.status.cached {
  color: #28a745;
}

.status.missing {
  color: #dc3545;
}

/* Ações de erro */
.error-actions {
  margin-top: 1rem;
}

/* Componente de status compacto */
.asset-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background: #f8f9fa;
  border-radius: 4px;
  font-size: 0.8rem;
}

.status-text {
  color: #666;
}

/* Responsivo */
@media (max-width: 600px) {
  .asset-preloader__content {
    padding: 1.5rem;
    margin: 1rem;
  }
  
  .btn {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
  }
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  .asset-preloader__content {
    background: #2d3748;
    color: white;
  }
  
  .asset-preloader__content h3 {
    color: white;
  }
  
  .asset-preloader__content p {
    color: #cbd5e0;
  }
  
  .progress-bar {
    background: #4a5568;
  }
  
  .cache-status {
    background: #1a202c;
  }
  
  .asset-status {
    background: #2d3748;
  }

/* Estilos para GlobalAssetIndicator */
.global-asset-indicator {
  font-family: 'Ubuntu', sans-serif;
  -webkit-user-select: none;
  user-select: none;
  z-index: 10000; /* Acima dos snackbars */
}

/* Variante Compact */
.global-asset-indicator.compact {
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.5rem;
  border-radius: 6px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 60px;
  justify-content: center;
}

/* Variante Detailed */
.global-asset-indicator.detailed {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 1rem;
  min-width: 250px;
  max-width: 300px;
}

.asset-indicator-detailed .status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.asset-indicator-detailed .close-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.asset-indicator-detailed .progress-section {
  margin: 0.5rem 0;
}

.asset-indicator-detailed .progress-bar {
  width: 100%;
  height: 6px;
  background: #e0e0e0;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.25rem;
}

.asset-indicator-detailed .progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #4CAF50, #45a049);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.asset-indicator-detailed .current-asset {
  font-size: 0.75rem;
  color: #666;
  text-align: center;
}

.asset-indicator-detailed .actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.asset-indicator-detailed .btn-start,
.asset-indicator-detailed .btn-clear {
  padding: 0.25rem 0.5rem;
  border: 1px solid #ddd;
  background: white;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.75rem;
}

.asset-indicator-detailed .btn-start:hover {
  background: #f0f0f0;
}

/* Variante Toast */
.global-asset-indicator.toast {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  min-width: 280px;
  max-width: 350px;
}

.asset-indicator-toast .toast-content {
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.asset-indicator-toast .toast-icon {
  font-size: 1.5rem;
}

.asset-indicator-toast .toast-text {
  flex: 1 1;
}

.asset-indicator-toast .toast-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 0.25rem;
}

.asset-indicator-toast .toast-subtitle {
  font-size: 0.75rem;
  color: #666;
}

.asset-indicator-toast .toast-progress {
  height: 3px;
  background: #e0e0e0;
}

.asset-indicator-toast .toast-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #4CAF50, #45a049);
  transition: width 0.3s ease;
}

/* Header Asset Status */
.header-asset-status {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem;
  border-radius: 4px;
  font-size: 1rem;
}

.header-asset-status.ready {
  color: #28a745;
}

.header-asset-status.downloading {
  color: #007bff;
  animation: pulse 2s infinite;
}

.header-asset-status.partial {
  color: #ffc107;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Dark mode para indicadores */
@media (prefers-color-scheme: dark) {
  .global-asset-indicator.detailed,
  .global-asset-indicator.toast {
    background: #2d3748;
    color: white;
    border-color: #4a5568;
  }

  .asset-indicator-detailed .close-btn {
    color: #cbd5e0;
  }

  .asset-indicator-detailed .current-asset {
    color: #a0aec0;
  }

  .asset-indicator-toast .toast-title {
    color: white;
  }

  .asset-indicator-toast .toast-subtitle {
    color: #a0aec0;
  }
}
}

/* ---- Keepit Overview Cards ---- */
.keepit-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 16px;
    gap: 16px;
    padding: 16px 0;
}

.keepit-overview-card {
    background: #fff;
    background: var(--color-content-bg, #fff);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.2s;
}

.keepit-overview-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.keepit-overview-card-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #6c757d;
    color: var(--color-secondary-text, #6c757d);
    letter-spacing: 0.5px;
}

.keepit-overview-card-value {
    font-size: 28px;
    font-weight: 700;
    color: #1b2a4a;
    color: var(--color-primary-text, #1b2a4a);
}

.keepit-overview-card-sub {
    font-size: 12px;
    color: #6c757d;
    color: var(--color-secondary-text, #6c757d);
}

/* ---- Keepit Status Badge ---- */
.keepit-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    width: fit-content;
}

/* ---- Keepit Service Cards Carousel ---- */
.keepit-service-cards-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.keepit-service-cards-grid {
    display: flex;
    gap: 25px;
    padding: 4px 0px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* justify-content:  fle; */
    margin: 0 20px;
}

.keepit-service-cards-grid::-webkit-scrollbar {
    display: none;
}

.keepit-service-card {
    background: #fff;
    background: var(--color-content-bg, #fff);
    border: 1px solid #e9ecef;
    border: 1px solid var(--color-border, #e9ecef);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: box-shadow 0.2s, border-color 0.2s;
    cursor: pointer;
    min-width: calc(25% - 20px);
    max-width: calc(25% - 20px);
    flex-shrink: 0;
}

.keepit-service-card:hover {
    box-shadow: 0 4px 16px color-mix(in srgb, #adb5bd 25%, transparent);
    box-shadow: 0 4px 16px color-mix(in srgb, var(--svc-color, #adb5bd) 25%, transparent);
    border-color: #adb5bd;
    border-color: var(--svc-color, var(--color-secondary-text, #adb5bd));
}

.keepit-service-card-warning {
    border-color: #d4a017;
}

.keepit-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #dee2e6;
    border: 1px solid var(--color-border, #dee2e6);
    background: #fff;
    background: var(--color-content-bg, #fff);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    font-size: 14px;
    color: #1b2a4a;
    color: var(--color-primary-text, #1b2a4a);
    transition: background 0.2s;
}

.keepit-carousel-nav:hover {
    background: #f0f0f0;
    background: var(--color-hover-bg, #f0f0f0);
}

.keepit-carousel-nav-left {
    left: -4px;
}

.keepit-carousel-nav-right {
    right: -4px;
}

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

.keepit-service-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
}

.keepit-service-card-name {
    font-weight: 600;
    font-size: 14px;
    color: #1b2a4a;
    color: var(--color-primary-text, #1b2a4a);
}

.keepit-service-card-backup {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #6c757d;
    color: var(--color-secondary-text, #6c757d);
}

.keepit-service-card-backup-value {
    font-weight: 600;
    color: #1b2a4a;
    color: var(--color-primary-text, #1b2a4a);
    font-size: 12px;
}

.keepit-service-card-progress {
    width: 100%;
    height: 5px;
    background: #e9ecef;
    background: var(--color-border, #e9ecef);
    border-radius: 3px;
    overflow: hidden;
}

.keepit-service-card-progress-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* ---- Keepit Service Detail (focused view) ---- */
.keepit-detail-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 4px;
    height: 100%;
}

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

.keepit-detail-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.keepit-detail-header-right {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.keepit-detail-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
}

.keepit-detail-title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #1b2a4a;
    color: var(--color-primary-text, #1b2a4a);
}

.keepit-detail-subtitle {
    font-size: 12px;
    color: #6c757d;
    color: var(--color-secondary-text, #6c757d);
}

.keepit-detail-health-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
}

/* Cards internos */
.keepit-detail-card {
    background: #fff;
    background: var(--color-content-bg, #fff);
    border: 1px solid #e9ecef;
    border: 1px solid var(--color-border, #e9ecef);
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.keepit-detail-card-title {
    font-size: 12px;
    font-weight: 700;
    color: #1b2a4a;
    color: var(--color-primary-text, #1b2a4a);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* Top row: 3 colunas */
.keepit-detail-top-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 12px;
    gap: 12px;
}

/* Summary compacto */
.keepit-detail-summary-compact {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.keepit-detail-summary-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.keepit-detail-summary-label {
    font-size: 11px;
    color: #6c757d;
    color: var(--color-secondary-text, #6c757d);
    min-width: 75px;
}

.keepit-detail-summary-value {
    font-size: 13px;
    font-weight: 600;
    color: #1b2a4a;
    color: var(--color-primary-text, #1b2a4a);
}

/* Donut */
.keepit-detail-card-donut {
    min-height: 180px;
}

.keepit-detail-donut-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.keepit-detail-donut-legend {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.keepit-detail-donut-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #6c757d;
    color: var(--color-secondary-text, #6c757d);
}

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

.keepit-detail-dot-added { background-color: #1b873b; }
.keepit-detail-dot-removed { background-color: #dc3545; }
.keepit-detail-val-added { color: #1b873b; }
.keepit-detail-val-removed { color: #dc3545; }

/* Storage */
.keepit-detail-storage-value {
    font-size: 28px;
    font-weight: 700;
    color: #1b2a4a;
    color: var(--color-primary-text, #1b2a4a);
}

/* Failure info */
.keepit-detail-fail-info {
    border-top: 1px solid #e0e0e0;
    border-top: 1px solid var(--color-border, #e0e0e0);
    padding-top: 8px;
    margin-top: 8px;
}

.keepit-detail-fail-title {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #dc3545;
    margin-bottom: 4px;
}

.keepit-detail-fail-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 120px;
    overflow-y: auto;
}

.keepit-detail-fail-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 0;
    font-size: 11px;
    border-bottom: 1px solid #f0f0f0;
    border-bottom: 1px solid var(--color-border-light, #f0f0f0);
}

.keepit-detail-fail-list li:last-child {
    border-bottom: none;
}

.keepit-detail-fail-name {
    color: #1b2a4a;
    color: var(--color-primary-text, #1b2a4a);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 60%;
}

.keepit-detail-fail-count {
    color: #dc3545;
    font-weight: 500;
    white-space: nowrap;
}

.keepit-detail-fail-more {
    color: #6c757d;
    color: var(--color-secondary-text, #6c757d);
    font-style: italic;
}

/* Fail list clickable rows */
.keepit-detail-fail-row-clickable {
    cursor: pointer;
    transition: background-color 0.15s ease;
    border-radius: 4px;
    padding: 3px 4px !important;
}

.keepit-detail-fail-row-clickable:hover {
    background-color: rgba(0, 120, 212, 0.06);
    background-color: var(--color-hover, rgba(0, 120, 212, 0.06));
}

/* Fail detail modal */
.keepit-fail-detail-modal {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.keepit-fail-detail-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.keepit-fail-detail-section-title {
    font-size: 13px;
    font-weight: 600;
    color: #1b2a4a;
    color: var(--color-primary-text, #1b2a4a);
    margin: 0;
    padding-bottom: 6px;
    border-bottom: 1px solid #e0e0e0;
    border-bottom: 1px solid var(--color-border, #e0e0e0);
}

.keepit-fail-detail-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.keepit-fail-detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.keepit-fail-detail-label {
    color: #6c757d;
    color: var(--color-secondary-text, #6c757d);
    min-width: 120px;
    flex-shrink: 0;
}

.keepit-fail-detail-value {
    color: #1b2a4a;
    color: var(--color-primary-text, #1b2a4a);
    word-break: break-all;
}

.keepit-fail-detail-stats {
    display: flex;
    gap: 16px;
}

.keepit-fail-detail-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 8px;
    flex: 1 1;
}

.keepit-fail-detail-stat-error {
    background-color: rgba(220, 53, 69, 0.08);
    color: #dc3545;
}

.keepit-fail-detail-stat-info {
    background-color: rgba(0, 120, 212, 0.08);
    color: #0078d4;
}

.keepit-fail-detail-stat div {
    display: flex;
    flex-direction: column;
}

.keepit-fail-detail-stat-value {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.keepit-fail-detail-stat-label {
    font-size: 11px;
    opacity: 0.85;
}

.keepit-fail-detail-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
}

.keepit-fail-detail-badge-ok {
    background-color: rgba(27, 135, 59, 0.1);
    color: #1b873b;
}

.keepit-fail-detail-badge-fail {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.keepit-fail-detail-mono {
    font-family: monospace;
    font-size: 12px;
    color: #6c757d;
    color: var(--color-secondary-text, #6c757d);
}

.keepit-fail-detail-section-title {
    display: flex;
    align-items: center;
    gap: 6px;
}

.keepit-fail-detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.keepit-fail-detail-badge-card {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
}

.keepit-fail-detail-badge-card.ok {
    background-color: rgba(27, 135, 59, 0.08);
    color: #1b873b;
}

.keepit-fail-detail-badge-card.fail {
    background-color: rgba(220, 53, 69, 0.08);
    color: #dc3545;
}

.keepit-fail-detail-badge-card.neutral {
    background-color: rgba(108, 117, 125, 0.08);
    color: #6c757d;
}

.keepit-detail-progress-bar {
    width: 100%;
    height: 6px;
    background: #e9ecef;
    background: var(--color-border, #e9ecef);
    border-radius: 3px;
    overflow: hidden;
}

.keepit-detail-progress-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Anomalies table card */
.keepit-detail-card-table {
    flex: 1 1;
    min-height: 0;
}

.keepit-detail-severity {
    display: inline-flex;
    align-items: center;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.keepit-detail-severity-critical {
    color: #dc3545;
    background-color: #f8d7da;
}

.keepit-detail-severity-warning {
    color: #d4a017;
    background-color: #fff3cd;
}

@media (max-width: 900px) {
    .keepit-detail-top-row {
        grid-template-columns: 1fr;
    }
}

/* KPI Cards */
.action-kpi-row {
    display: flex;
    gap: 16px;
    width: 100%;
    justify-content: space-between;
}

.action-kpi-card {
    flex: 1 1;
    min-width: 0;
}

/* Export Dropdown */
.export-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.export-dropdown-trigger {
    background: #f5f5f5;
    background: var(--background-light, #f5f5f5);
    border: 1px solid #E2E6F3;
    border: 1px solid var(--line-default, #E2E6F3);
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    color: var(--color-primary-text);
    transition: background 0.2s;
}

.export-dropdown-trigger:hover {
    background: #E2E6F3;
    background: var(--line-default, #E2E6F3);
}

.export-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    background: var(--background-default, #fff);
    border: 1px solid #E2E6F3;
    border: 1px solid var(--line-default, #E2E6F3);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 10;
    min-width: 180px;
    margin-top: 4px;
}

.export-dropdown-item {
    display: block;
    width: 100%;
    padding: 10px 14px;
    border: none;
    background: none;
    text-align: left;
    font-size: 13px;
    cursor: pointer;
    color: var(--color-primary-text);
}

.export-dropdown-item:hover {
    background: #f5f5f5;
    background: var(--background-light, #f5f5f5);
}

/* Action Detail Modal */
.action-detail-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 8px 0;
}

.action-detail-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.action-detail-subtitle {
    font-size: 12px;
    font-weight: 600;
    color: #6B6F7D;
    color: var(--text-dark, #6B6F7D);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.action-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    font-size: 13px;
    line-height: 1.4;
}

.action-detail-label {
    font-weight: 500;
    color: #6B6F7D;
    color: var(--text-dark, #6B6F7D);
    white-space: nowrap;
    min-width: 120px;
}

.action-detail-action-block {
    background: #FFF8E1;
    border-left: 4px solid #FFD54F;
    border-radius: 6px;
    padding: 16px;
}

.action-detail-action-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.action-detail-action-desc {
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 8px;
}

.action-detail-action-note {
    font-size: 12px;
    color: #6c757d;
    margin: 4px 0 0;
}

.action-detail-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.action-detail-table th,
.action-detail-table td {
    padding: 6px 10px;
    border-bottom: 1px solid #E2E6F3;
    border-bottom: 1px solid var(--line-default, #E2E6F3);
    text-align: left;
}

.action-detail-table th {
    font-weight: 600;
    font-size: 11px;
    color: #6B6F7D;
    color: var(--text-dark, #6B6F7D);
    text-transform: uppercase;
}

.action-detail-table td:first-child {
    font-weight: 500;
    color: #6B6F7D;
    color: var(--text-dark, #6B6F7D);
    white-space: nowrap;
    min-width: 130px;
}

/* Alert Subscribers */
.alert-subscribers-panel {
    padding: 16px 0;
}

.alert-subscribers-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.alert-subscribers-form {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.alert-subscribers-input {
    flex: 1 1;
    padding: 6px 10px;
    border: 1px solid #E2E6F3;
    border: 1px solid var(--line-default, #E2E6F3);
    border-radius: 6px;
    font-size: 13px;
    outline: none;
}

.alert-subscribers-input:focus {
    border-color: #471FCC;
    border-color: var(--color-primary-blue, #471FCC);
}

.alert-subscribers-add-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    border: none;
    border-radius: 6px;
    background: #471FCC;
    background: var(--color-primary-blue, #471FCC);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
}

.alert-subscribers-add-btn:hover {
    opacity: 0.9;
}

.alert-subscribers-add-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.alert-subscribers-error {
    color: #dc3545;
    font-size: 12px;
    margin-bottom: 8px;
}

.alert-subscribers-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.alert-subscriber-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border-radius: 6px;
    background: #f5f5f5;
    background: var(--background-light, #f5f5f5);
}

.alert-subscriber-info {
    display: flex;
    flex-direction: column;
}

.alert-subscriber-name {
    font-size: 13px;
    font-weight: 600;
}

.alert-subscriber-email {
    font-size: 11px;
    color: #6B6F7D;
    color: var(--color-secondary-text, #6B6F7D);
}

.alert-subscriber-remove {
    background: none;
    border: none;
    cursor: pointer;
    color: #dc3545;
    padding: 4px;
    border-radius: 4px;
}

.alert-subscriber-remove:hover {
    background: #f8d7da;
}

/* Page header */
.acoes-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 0 4px;
}

.resumo_dashboardCardTitle__r\+8l- {
    padding: 10px;
}

.resumo_webSitesCard__3GLis {
    display: block;
    margin: 10px 10px;
}

.resumo_webSitesCardCMS__vEsuf {
    display: block;
    margin: 20px 0px;
}

.resumo_webSitesCardRow__cKvjp {
    display: grid;
    grid-template-columns: 4fr 1fr 1fr;
    padding: 5px;
    justify-content: right;
    font-family: "Ubuntu", sans-serif;
    font-size: 14px;
}

.resumo_webSitesCardRowCMS__RUzFv {
    display: grid;
    grid-template-columns: 1fr 6fr 2fr;
    padding: 2px;
    justify-content: flex-start;
    font-family: "Ubuntu", sans-serif;
    font-size: 12px;
    grid-gap: 4px;
    gap: 4px;
}

.resumo_webSitesCardRowLink__5z2DD {
    align-self: center;
}

    .resumo_webSitesCardRowLink__5z2DD a {
        text-decoration: none;
    }

        .resumo_webSitesCardRowLink__5z2DD a:hover {
            text-decoration: underline;
        }


.resumo_webSitesCardRowLinkCMS__rPoHf {
    align-self: center;
    max-width: 100%;
    text-overflow: ellipsis;
    text-wrap: nowrap;
    white-space: nowrap;
    overflow: hidden;
}
    .resumo_webSitesCardRowLinkCMS__rPoHf a {
        text-decoration: none;
    }

        .resumo_webSitesCardRowLinkCMS__rPoHf a:hover {
            text-decoration: underline;
        }


.resumo_webSitesStatus__VFu3v {
    text-align: center;
    align-self: center;
    font-size: 12px;
    width: 120px;
    padding: 4px;
    border-radius: 10px;
}

.resumo_webSitesStatusCMS__SptwZ {
    text-align: center;
    align-self: center;
    font-size: 10px;
    width: 60px;
    padding: 4px;
    border-radius: 10px;
}

/* ═══════════ Billing Review GTM ═══════════ */

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

.kpi-value {
    font-size: 1.6rem;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.kpi-label {
    font-size: 0.8rem;
    color: #666;
    margin-top: 6px;
}

/* ── Status cell ── */
.status-cell {
    display: flex;
    align-items: center;
}

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

/* ── Detail modal ── */
.detail-modal {
    padding: 16px;
    max-height: 70vh;
    overflow-y: auto;
}

.detail-modal h4 {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.detail-modal p {
    margin: 6px 0;
    font-size: 13px;
}

/* ── Diagnosis boxes ── */
.diagnosis-box {
    margin-top: 20px;
    padding: 12px;
    border-radius: 8px;
}

.diagnosis-box h4 {
    margin-bottom: 8px !important;
}

.diagnosis-box ul {
    margin: 0;
    padding-left: 20px;
}

.diagnosis-box li {
    margin-bottom: 4px;
    font-size: 13px;
}

.diagnosis-box p {
    margin: 0;
    font-size: 13px;
}

.diagnosis-warning {
    background-color: #fff7e6;
    border: 1px solid #ffd591;
}

.diagnosis-warning h4 {
    color: #d46b08;
}

.diagnosis-error {
    background-color: #fff1f0;
    border: 1px solid #ffa39e;
}

.diagnosis-error h4 {
    color: #cf1322;
}

.diagnosis-info {
    background-color: #e6f7ff;
    border: 1px solid #91d5ff;
}

.diagnosis-info h4 {
    color: #0050b3;
}

.diagnosis-success {
    background-color: #f6ffed;
    border: 1px solid #b7eb8f;
}

.diagnosis-success h4 {
    color: #389e0d;
}

/* ── Buttons ── */
.btn-primary {
    padding: 8px 16px;
    background-color: #1890ff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    transition: opacity 0.2s;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-primary:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-default {
    padding: 8px 16px;
    background-color: #fff;
    color: #595959;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: border-color 0.2s;
}

.btn-default:hover {
    border-color: #1890ff;
    color: #1890ff;
}

.btn-default:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-action {
    padding: 8px 16px;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    transition: opacity 0.2s;
}

.btn-action:hover {
    opacity: 0.9;
}

.btn-action:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-reprocess {
    background-color: #fa541c;
}

/* ── Form fields ── */
.field-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 13px;
    color: #333;
}

.field-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.field-input:focus {
    outline: none;
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.field-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.field-select:focus {
    outline: none;
    border-color: #1890ff;
}

/* ── File drop zone ── */
.file-drop-zone {
    border: 2px dashed #d9d9d9;
    border-radius: 8px;
    transition: border-color 0.2s;
}

.file-drop-zone:hover {
    border-color: #1890ff;
}

.file-drop-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    cursor: pointer;
    color: #8c8c8c;
    font-size: 13px;
}

/* ── History table ── */
.history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.history-table th {
    text-align: left;
    padding: 10px 12px;
    background-color: #fafafa;
    border-bottom: 2px solid #e8e8e8;
    font-weight: 600;
    color: #333;
}

.history-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #f0f0f0;
    color: #595959;
}

.history-table tr:hover td {
    background-color: #f5f5f5;
}

/* ── Detail rate comparison table ── */
.detail-rate-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-top: 8px;
}

.detail-rate-table th {
    text-align: left;
    padding: 8px 10px;
    background-color: #fafafa;
    border-bottom: 2px solid #e8e8e8;
    font-weight: 600;
    color: #333;
    font-size: 12px;
}

.detail-rate-table td {
    padding: 6px 10px;
    border-bottom: 1px solid #f0f0f0;
    color: #595959;
}

/* ── Issue badge ── */
.issue-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}

.issue-badge-error {
    background-color: #fff1f0;
    color: #cf1322;
    border: 1px solid #ffa39e;
}

.issue-badge-warning {
    background-color: #fffbe6;
    color: #ad8b00;
    border: 1px solid #ffe58f;
}

/* ── Spinner ── */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spin-animation {
    animation: spin 1s linear infinite;
}

.anomaly-grid-toolbar {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    padding: 8px 4px 12px;
    flex-wrap: wrap;
    flex: 0 0 auto;
}

.anomaly-toolbar-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.anomaly-toolbar-group label {
    font-size: 11px;
    font-weight: 600;
    color: #6b6b6b;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.anomaly-toolbar-group select {
    height: 30px;
    border: 1px solid #d6d6d6;
    border-radius: 6px;
    padding: 0 8px;
    background: #fff;
    font-size: 13px;
    color: #333;
}

.anomaly-refresh-btn {
    height: 30px;
    padding: 0 14px;
    border: none;
    border-radius: 6px;
    background: #8C40E3;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.anomaly-refresh-btn:hover {
    background: #7a33cc;
}

.anomaly-detect-btn {
    height: 30px;
    padding: 0 14px;
    border: none;
    border-radius: 6px;
    background: #2E7D32;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.anomaly-detect-btn:hover {
    background: #276b2a;
}

.anomaly-detect-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
}

/* Neutraliza centralizacao/limites de altura do LCDashboard para o card da listagem,
   garantindo que o RevoGrid receba uma altura real (senao o corpo virtualizado nao pinta). */
.lcdashboard .card-frame.anomaly-list-shell {
    height: 100%;
    min-height: 0;
}

.lcdashboard .card-frame.anomaly-list-shell .card-content-body {
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: stretch !important;
    align-items: stretch !important;
    overflow: hidden;
}

.lcdashboard .card-frame.anomaly-list-shell .card-content-body-content {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    overflow: hidden !important;
}

.anomaly-grid-wrapper {
    flex: 1 1 auto;
    min-height: 320px;
    height: auto;
}

.anomaly-grid-wrapper revo-grid {
    height: 100%;
}

/* Alinhamento a direita para colunas numericas (numeros comparaveis por ordem de grandeza). */
.anomaly-grid-wrapper revo-grid .anomaly-cell-right {
    text-align: right;
    justify-content: flex-end;
}

.anomaly-severity-pill {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 16px;
    white-space: nowrap;
}

.anomaly-detail {
    padding: 4px 2px;
}

.anomaly-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.anomaly-detail-provider {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

.anomaly-detail h4 {
    margin: 4px 0 14px;
    font-size: 15px;
    color: #222;
    word-break: break-all;
}

.anomaly-detail-chart {
    margin: 0 0 16px;
    padding: 10px 12px 6px;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 6px;
}

.anomaly-chart-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 600;
    color: #555;
}

.anomaly-chart-impact {
    font-size: 13px;
    font-weight: 700;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
}

.anomaly-chart-caption {
    margin: 4px 0 0;
    font-size: 11px;
    color: #777;
    line-height: 1.35;
}

.anomaly-chart-caption strong {
    color: #E64646;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
}

.anomaly-chart-points {
    margin: 2px 0 0;
    font-size: 10px;
    color: #999;
}

/* Fullscreen do SideModal de detalhe: gráfico grande à esquerda, dados à direita */
.anomaly-detail.expanded {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-template-areas:
        "header header"
        "title title"
        "chart facts";
    grid-column-gap: 28px;
    column-gap: 28px;
    align-items: start;
}

.anomaly-detail.expanded .anomaly-detail-header { grid-area: header; }
.anomaly-detail.expanded h4 { grid-area: title; }
.anomaly-detail.expanded .anomaly-detail-chart { grid-area: chart; }
.anomaly-detail.expanded .anomaly-detail-list,
.anomaly-detail.expanded .anomaly-detail-reason { grid-area: facts; }
.anomaly-detail.expanded .anomaly-detail-reason { grid-column: 1 / -1; }

.anomaly-detail-list {
    display: grid;
    grid-template-columns: 130px 1fr;
    grid-row-gap: 6px;
    row-gap: 6px;
    grid-column-gap: 10px;
    column-gap: 10px;
    margin: 0;
}

.anomaly-detail-list dt {
    font-size: 12px;
    font-weight: 600;
    color: #777;
}

.anomaly-detail-list dd {
    margin: 0;
    font-size: 13px;
    color: #222;
    word-break: break-word;
}

.anomaly-detail-list dd.anomaly-num {
    text-align: right;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
}

.anomaly-detail-reason {
    margin-top: 14px;
    padding: 10px 12px;
    background: #f6f2fc;
    border-left: 3px solid #8C40E3;
    border-radius: 4px;
    font-size: 13px;
    color: #444;
}

.anomaly-settings-btn {
    height: 30px;
    padding: 0 14px;
    border: 1px solid #8C40E3;
    border-radius: 6px;
    background: #fff;
    color: #8C40E3;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.anomaly-settings-btn:hover {
    background: #f6f2fc;
}

.anomaly-settings {
    padding: 4px 2px 80px;
}

.anomaly-settings-section {
    margin-bottom: 20px;
}

.anomaly-settings-section h5 {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.anomaly-settings-hint {
    margin: 0 0 10px;
    font-size: 12px;
    color: #888;
    line-height: 1.4;
}

.anomaly-sensitivity-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.anomaly-sensitivity-chip {
    flex: 1 1;
    min-width: 70px;
    padding: 8px 10px;
    border: 1px solid #d6d6d6;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    transition: all .15s ease;
}

.anomaly-sensitivity-chip small {
    display: block;
    font-size: 10px;
    font-weight: 500;
    color: #999;
    margin-top: 2px;
}

.anomaly-sensitivity-chip.active {
    border-color: #8C40E3;
    background: #f6f2fc;
    color: #8C40E3;
}

.anomaly-sensitivity-chip.active small {
    color: #8C40E3;
}

.anomaly-toggle-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 8px;
    gap: 8px;
}

.anomaly-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    font-size: 13px;
    color: #444;
    cursor: pointer;
}

.anomaly-toggle input {
    accent-color: #8C40E3;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.anomaly-field-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 0;
}

.anomaly-field-row label {
    font-size: 13px;
    color: #444;
    flex: 1 1;
}

.anomaly-field-row .anomaly-level-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}

.anomaly-field-row input[type="number"] {
    width: 90px;
    height: 30px;
    border: 1px solid #d6d6d6;
    border-radius: 6px;
    padding: 0 8px;
    font-size: 13px;
    text-align: right;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
}

.anomaly-settings-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    gap: 10px;
    padding: 12px 18px;
    background: #fff;
    border-top: 1px solid #eee;
}

.anomaly-settings-footer button {
    height: 36px;
    flex: 1 1;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.anomaly-btn-save {
    background: #8C40E3;
    color: #fff;
}

.anomaly-btn-save:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.anomaly-btn-cancel {
    background: #f0f0f0;
    color: #555;
}

.anomaly-notify-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.anomaly-notify-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    cursor: pointer;
    transition: all .15s ease;
}

.anomaly-notify-option.active {
    border-color: #8C40E3;
    background: #f6f2fc;
}

.anomaly-notify-option input {
    accent-color: #8C40E3;
    margin-top: 2px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.anomaly-notify-option span {
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

.anomaly-notify-option span small {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: #999;
    margin-top: 2px;
}

.anomaly-recipients {
    margin-top: 12px;
}

.anomaly-recipient-input {
    display: flex;
    gap: 8px;
}

.anomaly-recipient-input input {
    flex: 1 1;
    height: 32px;
    border: 1px solid #d6d6d6;
    border-radius: 6px;
    padding: 0 10px;
    font-size: 13px;
}

.anomaly-recipient-input button {
    height: 32px;
    padding: 0 14px;
    border: none;
    border-radius: 6px;
    background: #8C40E3;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.anomaly-recipient-list {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.anomaly-recipient-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    background: #f5f5f7;
    border-radius: 6px;
    font-size: 13px;
    color: #333;
}

.anomaly-recipient-list li button {
    border: none;
    background: transparent;
    color: #E64646;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
}

.anomaly-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.anomaly-preview-recipients-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #d0d0d8;
    background: #fff;
    color: #2e6df6;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
}

.anomaly-preview-recipients-btn:hover {
    background: #f0f5ff;
    border-color: #2e6df6;
}

.anomaly-recipients-preview {
    padding: 4px 0;
}

.anomaly-recipients-preview-list {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.anomaly-recipients-preview-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 12px;
    background: #f5f5f7;
    border-radius: 8px;
}

.anomaly-recipient-identity {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.anomaly-recipient-name {
    font-size: 13px;
    font-weight: 600;
    color: #2a2a2a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.anomaly-recipient-email {
    font-size: 12px;
    color: #777;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.anomaly-recipient-sources {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: flex-end;
}

.anomaly-recipient-source {
    font-size: 11px;
    color: #2e6df6;
    background: #e8f0ff;
    border-radius: 10px;
    padding: 2px 8px;
    white-space: nowrap;
}

/* === Requisitos de coleta por provedor === */
.anomaly-requirements {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.anomaly-req-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding: 8px 10px;
    background: #f6f6f9;
    border-radius: 8px;
}

.anomaly-req-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #555;
}

.anomaly-req-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex: 0 0 auto;
}

.anomaly-req-provider {
    border: 1px solid #ececf1;
    border-radius: 10px;
    padding: 14px 16px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.anomaly-req-provider-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.anomaly-req-provider-name {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #2b2b2b;
}

.anomaly-req-granularity {
    font-size: 11px;
    font-weight: 600;
    color: #6b6b6b;
    background: #f1f1f4;
    border-radius: 10px;
    padding: 3px 10px;
    white-space: nowrap;
}

.anomaly-req-metrics {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.anomaly-req-metric {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.anomaly-req-tier {
    flex: 0 0 auto;
    min-width: 76px;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    border-radius: 6px;
    padding: 3px 8px;
    margin-top: 2px;
}

.anomaly-req-metric-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.anomaly-req-metric-name {
    font-size: 13px;
    font-weight: 700;
    color: #333;
}

.anomaly-req-metric-detail {
    font-size: 12px;
    color: #555;
}

.anomaly-req-metric-need {
    font-size: 12px;
    color: #b06a00;
}

.anomaly-req-metric-fallback {
    font-size: 12px;
    color: #777;
    font-style: italic;
}

.anomaly-req-block h6 {
    margin: 0 0 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
    color: #6b6b6b;
}

.anomaly-req-block ul {
    margin: 0;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.anomaly-req-block li {
    font-size: 12px;
    color: #555;
}

.anomaly-req-note {
    margin: 0;
    font-size: 12px;
    color: #777;
    background: #f6f6f9;
    border-left: 3px solid #d6d6dd;
    border-radius: 0 6px 6px 0;
    padding: 8px 10px;
}


.createForm_topMenu__EVcK8 {
    display: flex;
    flex-direction:row;
    margin-bottom: 0.5rem;
}
.createForm_severity__GMArV {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.createForm_severity__GMArV > i {
    margin-top: 1.6rem;
    font-size: 24px;
}
.createForm_colorBell-success__Fos0W {
    color: #a5bf3e;
}

.createForm_colorBell-warning__\+9q7B {
    color: #ffb800;
}

.createForm_colorBell-info__-OUL6 {
    color: #0580ce;
}

.createForm_colorBell-danger__4Pjbv {
    color: #d35555;
}
.createForm_buttons__yUpTX {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 1.5rem;
}
.createForm_space__t8aYf {
    margin-top: 1rem;
    margin-bottom: 3rem;
    width: 100%;
    height: 5rem;
}

.createForm_testAlertForm__ogj1Z {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0.25rem;
}

.createForm_testAlertNote__Mdy1d {
    font-size: 12px;
    color: #8c8c8c;
    margin-bottom: 1.25rem;
    line-height: 1.4;
}

.createForm_testAlertLabel__ps4So {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.createForm_testAlertInput__O66hT {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}

.createForm_testAlertInput__O66hT:focus {
    border-color: #0580ce;
}

.createForm_testAlertInput__O66hT:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

.createForm_btnPrimary__AX255 {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.1rem;
    border: none;
    border-radius: 6px;
    background-color: #0580ce;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.createForm_btnPrimary__AX255:hover:not(:disabled) {
    background-color: #046bac;
}

.createForm_btnPrimary__AX255:disabled {
    background-color: #9fc8e6;
    cursor: not-allowed;
}

.createForm_btnSecondary__PWKlL {
    padding: 0.55rem 1.1rem;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    background-color: #fff;
    color: #595959;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.createForm_btnSecondary__PWKlL:hover:not(:disabled) {
    background-color: #f5f5f5;
}

.createForm_btnSecondary__PWKlL:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.np-user-picker {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e2e4ec;
    border-radius: 8px;
    padding: 4px 10px;
    background: #fff;
}

.np-user-picker__icon {
    display: inline-flex;
    align-items: center;
    color: #6b5ce7;
    color: var(--color-primary-purple, #6b5ce7);
    font-size: 18px;
}

.np-user-picker__select {
    flex: 1 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 13px;
    color: #2b2b3a;
    padding: 6px 2px;
    cursor: pointer;
}

.np-user-picker__select:disabled {
    cursor: default;
    color: #9aa0b3;
}

.centroDeCusto_errorMessage__rdB2I {
    font-size: 1rem;
    font-family: "Ubuntu", sans-serif;
    font-weight: 500;
    color: #8b90a3;
}

.centroDeCusto_sadDog__osemy {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 1rem;
  height: 15rem;
}

.centroDeCusto_errorBody__137qU {
    width: 100%;
    height: 25%;
    margin-top: '4rem';
    display: 'flex';
    justify-content: 'center'
}
.cardRow {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  background-color: white;
  box-shadow: 0.25rem 0.25rem 1.125rem rgba(58, 79, 135, 0.06);
  border-radius: 1rem;
}
