/* =========================================
   Flow Custom Enrol - Editor Styles
   ========================================= */

/* Block wrapper in editor */
.wp-block-theme-flow-custom-enrol {
  margin: 1rem 0;
  border: 2px dashed #ccc;
  padding: 1rem;
  background: #f9f9f9;
}

/* Enrol inner container */
.wp-block-theme-flow-custom-enrol .enrol-inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  max-width: 600px;
}

/* Icon container */
.wp-block-theme-flow-custom-enrol .enrol-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--citrus-green, #90ee90);
  border-radius: 50%;
}

.wp-block-theme-flow-custom-enrol .enrol-icon img {
  width: 24px;
  height: 24px;
  display: block;
}

/* Content container */
.wp-block-theme-flow-custom-enrol .enrol-content {
  flex: 1;
  min-width: 0;
}

/* Heading */
.wp-block-theme-flow-custom-enrol .enrol-content h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
}

/* Content text */
.wp-block-theme-flow-custom-enrol .enrol-text {
  color: #666;
}

.wp-block-theme-flow-custom-enrol .enrol-text p {
  margin: 0 0 0.5rem 0;
}

.wp-block-theme-flow-custom-enrol .enrol-text p:last-child {
  margin-bottom: 0;
}

/* Placeholder text for empty fields */
.wp-block-theme-flow-custom-enrol .enrol-content:empty::before {
  content: "Configure the heading and content fields";
  color: #999;
  font-style: italic;
  font-size: 0.875rem;
}

/* Responsive adjustments for editor */
@media (max-width: 600px) {
  .wp-block-theme-flow-custom-enrol .enrol-inner {
    flex-direction: column;
    text-align: center;
  }

  .wp-block-theme-flow-custom-enrol .enrol-icon {
    align-self: center;
  }
}
