.dashboard-bots-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.dashboard-bot-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.75rem;
  padding-right: 3.25rem;
  border-radius: 24px;
  background: #f3f3f3;

}
.dashboard-bot-card.loading {
  align-items: center;
  justify-content: center;
  min-height: 140px;
}
.dashboard-bot-card-empty {
  font-size: 0.95rem;
  color: #9ca3af;
}
@media (min-width: 1024px) {
  .dashboard-bot-card {
    flex-direction: row;
    align-items: center;
  }
}
.dashboard-bot-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
}
.dashboard-bot-identity {
  display: flex;
align-items: flex-start;
gap: 1rem;
  min-width: 0;
}
.dashboard-bot-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f3f3f300;
  color: #1f2937;
  flex-shrink: 0;
}
.dashboard-bot-icon i {
  width: 22px;
  height: 22px;
}
.dashboard-bot-titles {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  margin-top: 15px;
}
.dashboard-bot-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.2;
}
.dashboard-bot-subtitle {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b7280;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dashboard-bot-card-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.dashboard-bot-delete-btn {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 25px;
    height: 25px;
    border-radius: 14px;
    border: 1px solid rgba(17, 24, 39, 0.1);
    color: #d8d8d8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.dashboard-bot-delete-btn:hover {
  color: #ef4444;
  background: #fee2e2;
  box-shadow: 0 10px 18px rgba(239, 68, 68, 0.15);
  transform: translateY(-2px);
}
.dashboard-bot-delete-btn i {
  width: 18px;
  height: 18px;
}
/* Puedes borrar la regla anterior del "i" */
.dashboard-bot-delete-btn svg {
  width: 16px !important;
  height: 16px !important;
}
.dashboard-bot-edit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 14px;
    background: #f3f3f3;  border: 1px solid rgba(17, 24, 39, 0.08);
  font-size: 0.85rem;
  font-weight: 600;
  color: #1f2937;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-top: 5px;
}
.dashboard-bot-edit-btn:hover {
        background: #d8d8d857;
}
.dashboard-bot-edit-btn i {
  width: 16px;
  height: 16px;
}
.dashboard-bot-card-body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 150%;
}
@media (min-width: 1024px) {
  .dashboard-bot-card-body {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.dashboard-bot-stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.dashboard-bot-stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #6b7280;
  font-weight: 600;
}
.dashboard-bot-stat-value {
  font-size: 1.65rem;
  font-weight: 700;
  color: #111827;
}
.dashboard-bot-card-charts {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
}
.dashboard-bot-chart-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  min-width: 110px;
}
.dashboard-bot-chart {
  position: relative;
  width: 96px;
  height: 96px;
}
@media (min-width: 1280px) {
  .dashboard-bot-chart {
    width: 108px;
    height: 108px;
  }
}
.dashboard-bot-chart canvas {
  width: 100% !important;
  height: 100% !important;
}
.dashboard-bot-chart-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 700;
  color: #1f2937;
  font-size: 1rem;
}
.dashboard-bot-chart-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #6b7280;
  font-weight: 600;
  text-align: center;
}
.dashboard-bot-chart-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #111827;
  text-align: center;
}
