/* Horizontale layout alleen op bovenste .form-item containers */
.webform-submission-form div.form-item:not(.webform-type-radios):not(.webform-type-checkboxes):not(.form-composite):not(.form-actions):not(fieldset) {
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  max-width: 700px;
}

/* Label links */
.webform-submission-form div.form-item > label {
  width: 200px;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 0;
  color: #222;
  flex-shrink: 0;
}

/* Input/select/textarea rechts van label */
.webform-submission-form div.form-item > input,
.webform-submission-form div.form-item > select,
.webform-submission-form div.form-item > textarea {
  flex: 1;
  padding: 8px 12px;
  font-size: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
  width: 100%;
  box-sizing: border-box;
}

/* Laat fieldset-titels erboven staan */
.webform-submission-form fieldset {
  border: none;
  padding: 0;
  margin: 0px 0 20px;
}

.webform-submission-form legend {
  display: block;
  font-weight: bold;
  font-size: 20px;
  color: #003366;
  margin-bottom: 15px;
}

/* Radiobuttons en checkboxgroepen normaal weergeven */
.webform-submission-form .webform-type-radios,
.webform-submission-form .webform-type-checkboxes {
  margin-bottom: 20px;
}

.webform-submission-form .webform-type-radios label,
.webform-submission-form .webform-type-checkboxes label {
  font-weight: normal;
  margin-right: 10px;
}
/* Maak de fieldset visueel netjes met rand en padding */
.webform-submission-form fieldset.webform-type-radios {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 20px;
}

/* Legende duidelijk zichtbaar bovenaan */
.webform-submission-form fieldset.webform-type-radios legend {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 10px;
  color: #003366;
}

/* Enkel toepassen op het specifieke veld (Gift op naam van) */
.civicrm-enabled.radios--wrapper.js-webform-type-radios.webform-type-radios {
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 20px;
}

/* Legend netjes bovenaan */
.civicrm-enabled.radios--wrapper.js-webform-type-radios.webform-type-radios legend {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 10px;
  color: #003366;
}

/* Zet de radioknoppen in 1 rij */
.civicrm-enabled.radios--wrapper.js-webform-type-radios.webform-type-radios .form-radios {
  display: flex;
  flex-direction: row;
  gap: 20px;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

/* Strakke uitlijning van elke optie */
.civicrm-enabled.radios--wrapper.js-webform-type-radios.webform-type-radios .form-radios .form-item {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
}
/* Vergroot het bedragveld en geef het een opvallende stijl */
#edit-civicrm-1-contribution-1-contribution-total-amount {
  font-size: 1.6rem;       /* grotere tekst */
  padding: 10px 15px;      /* binnenruimte */
  width: 200px;            /* vaste breedte, kan je aanpassen */
  max-width: 100%;
  border: 2px solid #006699;
  border-radius: 6px;
  box-shadow: 0 0 3px rgba(0, 102, 153, 0.3);
  background-color: #f9f9f9;
  font-weight: bold;
  text-align: right;       /* cijferuitlijning */
  transition: border-color 0.3s ease;
}

#edit-civicrm-1-contribution-1-contribution-total-amount:focus {
  border-color: #004466;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 68, 102, 0.5);
}




/* Mobiel: alles onder elkaar */
@media (max-width: 600px) {
  .webform-submission-form div.form-item:not(.webform-type-radios):not(.webform-type-checkboxes):not(.form-composite):not(.form-actions):not(fieldset) {
    flex-direction: column;
    align-items: flex-start;
  }

  .webform-submission-form div.form-item > label {
    width: 100%;
    margin-bottom: 5px;
  }
  
}
.block.block-system.block-system-main-block {
  border: 40px solid #e25d1d; /* Dikke oranje bovenrand */
  border-radius: 12px 12px 12px 12px; 
  padding: 20px;
  background-color: white;
}