/*** CSS for payment form ***/
.webform-submission-form fieldset {
    border: 1px solid #ccc !important;
    padding: 10px !important;
}
.webform-submission-form .fieldset-legend{
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.2rem;
}
.webform-submission-form div.columns {
    padding-right: 20px;
}
.webform-submission-form input:not([type=button]):not([type=submit]):not([type=reset]),
.webform-submission-form select,
.webform-submission-form textarea{
     background-color:#f4f4f4;
}




/* Wrapper */
.messages__wrapper {
  max-width: 600px;
  margin: 1rem auto;
  padding: 0 1rem;
}

/* General message styles */
.messages {
  border-radius: 8px;
  padding: 1rem 1.5rem;
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  box-sizing: border-box;
}

/* Error-specific styling */
.messages--error {
  background-color: #ffe6e6; /* light red background */
  color: #a70000; /* dark red text */
  border: 1px solid #ff0000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Visually hidden heading for accessibility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Add some spacing if multiple messages */
.messages + .messages {
  margin-top: 1rem;
}