/* Garante que os botões do widget fiquem redondos e alinhados */
.card-patrimonio .btn-widget {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  cursor: pointer;
  transition: 0.2s;
  font-size: 16px;
}

.card-patrimonio .btn-widget:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Estilos do Carrossel */
.carrossel-widgets {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  /* Mantém o fundo escuro bonito */
  border-radius: 20px;
  border: 1px solid var(--border);
}

body.light .carrossel-widgets {
  background: linear-gradient(135deg, #ffffff, #f1f5f9);
}

.carrossel-track {
  will-change: transform;
  /* Melhora a performance da animação */
}

/* Ajuste dos títulos dentro do carrossel */
.carrossel-widgets h3 {
  font-size: 14px;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  z-index: 1;
}

.carrossel-widgets .valor-principal {
  font-size: 40px;
  font-weight: 800;
  font-family: var(--font-title);
  color: var(--txt);
  margin-bottom: 12px;
  z-index: 1;
  line-height: 1;
}

.drawer-detalhes .acoes-grandes {
  width: 100%;
  box-sizing: border-box;
}

.drawer-detalhes .acoes-grandes button {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
}
