/* Eventmodul Field Styles */

/* Builder Preview Styles */
.wpforms-field-preview-image {
  margin: 0.625rem 0;
}

.wpforms-field-preview-image img {
  max-width: 12.5rem;
  height: auto;
}

.wpforms-field-preview-placeholder {
  margin: 0.625rem 0;
  padding: 1.25rem;
  background: #f0f0f0;
  text-align: center;
}

.wpforms-field-preview-checkbox {
  margin: 0.625rem 0;
}

.wpforms-field-preview-checkbox label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wpforms-field-preview-checkbox .infotext {
  margin-left: 1.5rem;
  font-size: 0.75rem;
  color: #666;
}

.wpforms-field-preview-dropdown {
  margin: 0.625rem 0;
}

.wpforms-field-preview-dropdown .dropdown-label {
  margin-bottom: 0.3125rem;
  font-weight: 600;
}

.wpforms-field-preview-dropdown select {
  width: 100%;
  padding: 0.5rem;
}

.wpforms-field-preview-placeholder-small {
  margin: 0.625rem 0;
  padding: 0.5rem;
  background: #f0f0f0;
}

.wpforms-field-eventmodul ul {
  list-style: none;
}

/* Frontend Styles */
div.wpforms-field.wpforms-field-eventmodul {
  border: 1px solid #ccc !important;
  border-radius: 0.625rem !important;
  padding: 1rem !important;
  margin: 0 0 1rem !important;
}

.wpforms-field-eventmodul--inner {
  display: grid;
  grid-template-columns: 6.25rem auto 10rem;
  align-items: center;
  gap: 1.25rem;
}

.wpforms-field-eventmodul-image {
  margin-bottom: 0.9375rem;
}

.wpforms-field-eventmodul-image img {
  max-width: 6.25rem;
  height: auto;
  object-fit: cover;
}

.wpforms-field-eventmodul-checkbox {
  margin-bottom: 0.9375rem;
}

.wpforms-field-eventmodul-checkbox label {
  font-weight: 700 !important;
}

.wpforms-field-eventmodul-checkbox input[type="checkbox"] {
  margin-top: 0.2rem !important;
}

.wpforms-field-eventmodul-checkbox .infotext {
  margin-left: 2.125rem;
  margin-top: 0.3125rem;
  font-size: 0.9em;
  color: #666;
}

.wpforms-field-eventmodul-dropdown {
  margin-bottom: 0.9375rem;
}

/* Admin Builder Styles */
.wpforms-preview .wpforms-field-eventmodul-dropdown select {
  width: 100% !important;
  max-width: 10rem !important;
  min-width: 3rem !important;
}

.wpforms-image-preview {
  margin: 0.625rem 0;
}

.wpforms-image-preview img {
  max-width: 12.5rem;
  height: auto;
}