.ecofast-card {
  border: 1px solid #00af00;
  border-radius: 12px;
  padding: 16px;
  margin: 16px 0 24px 0;
  background: #e9ffe9;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  font-size: 16px;
  color: #2e2e2e;
  position: relative;
  overflow: hidden;
}
.ecofast-card.is-loading .ecofast-card-head,
.ecofast-card.is-loading .ecofast-list,
.ecofast-card.is-loading .ecofast-card-footer {
  opacity: 0.4;
}
.ecofast-loading {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: opacity 0.2s ease;
}
.ecofast-card:not(.is-loading) .ecofast-loading {
  opacity: 0;
  pointer-events: none;
}
.ecofast-loading-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(46, 46, 46, 0.2);
  border-top-color: rgba(46, 46, 46, 0.8);
  border-radius: 50%;
  animation: ecofast-spin 1s linear infinite;
}
.ecofast-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding-bottom: 8px;
  margin-bottom: 12px;
  cursor: pointer;
}
.ecofast-icon {
  font-size: 18px;
}
.ecofast-title {
  font-weight: 700;
  font-size: 1.1rem;
}
.ecofast-toggle {
  margin-left: auto;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 0;
  line-height: 1;
  color: #2e2e2e;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.ecofast-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 16px;
  transition: opacity 0.15s ease;
}
.ecofast-toggle-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 0.2s ease;
}
.ecofast-card[data-collapsed="true"] .ecofast-toggle-icon svg {
  transform: rotate(180deg);
}
@keyframes ecofast-spin {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}
.ecofast-list {
  margin: 0;
  padding-left: 20px;
}
.ecofast-list li {
  margin: 8px 0;
  line-height: 1.5;
}
.ecofast-card-footer {
  margin-top: 12px;
  font-size: 0.75rem;
  color: rgba(46, 46, 46, 0.55);
}

.card__media-badge--ecofast {
  background: rgba(0, 175, 0, 0.61); 
  border-radius: 999px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
}

.ecofast-list > li::before {
    background: #3f3f3f;
    height: 0.4em;
    width: 0.4em;
    top: .4117647059em; 
    left: -1.1764705882em; 
    border-radius: 50%;
}

/* Editor helpers so the badge preview resembles front-end */
.wp-admin .card__media,
.mce-content-body .card__media {
  position: relative;
  display: block;
}
.wp-admin .card__media img,
.mce-content-body .card__media img {
  display: block;
  width: 100%;
  height: auto;
}
.wp-admin .card__media-badge,
.mce-content-body .card__media-badge {
  position: absolute;
  bottom: 0.9rem;
  left: 0.9rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.18);
  background: rgba(0, 0, 0, 0.55);
}
.wp-admin .card__media-badge--ecofast,
.mce-content-body .card__media-badge--ecofast {
  background: rgba(0, 175, 0, 0.75);
}
.wp-admin .card__media-badge img,
.mce-content-body .card__media-badge img {
  width: 22px;
  height: 22px;
}
.wp-admin .card__media-badge .screen-reader-text,
.mce-content-body .card__media-badge .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}
