.filter-component .button{
  height: 50px;
}

.filter-component .module-form__bottom{
  margin-top: 25px;
}

/* wwwroot/css/site.css */
.cron-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.cron-group-monthly { background-color: #e3f2fd; color: #1565c0; }
.cron-group-yearly { background-color: #f3e5f5; color: #7b1fa2; }
.cron-group-test { background-color: #fff3e0; color: #ef6c00; }
.cron-group-daily { background-color: #e8f5e8; color: #2e7d32; }
.cron-group-weekly { background-color: #fff8e1; color: #f57f17; }
.cron-group-hourly { background-color: #fce4ec; color: #c2185b; }
.cron-group-never { background-color: #f5f5f5; color: #616161; }

.group-header {
  background-color: #f8f9fa;
  border-left: 4px solid #dee2e6;
}

.group-header.yearly-month {
  background-color: #fff3e0;
  border-left-color: #ff9800;
}

.group-header .badge {
  background-color: #6c757d;
  color: white;
  border-radius: 10px;
  padding: 2px 8px;
  font-size: 12px;
  margin-left: 8px;
}

/* Стили для заголовков групп */
.group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
}

.group-title-left {
  flex: 1;
}

.group-stats {
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 12px;
  padding: 4px 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.badge-count {
  background-color: #6c757d;
  color: white;
}

.badge-sum {
  background-color: #28a745;
  color: white;
  font-weight: 600;
}

.badge-count span {
  margin-left: 4px;
  font-size: 12px;
  opacity: 0.9;
}

/* Подсветка задач с Invoice */
.invoice-task {
  background-color: rgba(40, 167, 69, 0.05);
}

.invoice-task:hover {
  background-color: rgba(40, 167, 69, 0.1) !important;
}

.invoice-type-icon {
  display: inline-block;
  margin-right: 6px;
  font-size: 14px;
}

/* Стили для групп */
.group-header.cron-group-monthly {
  background: linear-gradient(90deg, #e3f2fd, #ffffff);
  border-left: 4px solid #2196f3;
}

.group-header.yearly-month {
  background: linear-gradient(90deg, #fff3e0, #ffffff);
  border-left: 4px solid #ff9800;
}

.group-header.cron-group-other {
  background: linear-gradient(90deg, #f5f5f5, #ffffff);
  border-left: 4px solid #9e9e9e;
}

/* Адаптивность */
@media (max-width: 768px) {
  .group-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .group-stats {
    width: 100%;
    justify-content: flex-start;
  }
}

.module-form-with-html .field p {
  margin-bottom: 0.5em; /* Отступ снизу для каждого абзаца */
}

.module-form-with-html .field p:last-child {
  margin-bottom: 0;   /* Убираем отступ у последнего абзаца */
}