/* ==== Global ==== */
body {
  background-color: #172d39;
  font-family: 'Source Sans Pro', sans-serif;
  color: #131415;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

a {
  color: #165F7A;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

.secureDonationBanner {
  display: block;
  margin: 0 0 20px 0;
  padding-left: 0;
  text-align: left;
  max-width: 100%;
}

.form-layout .secureDonationBanner {
  margin-left: 0;
  padding-left: 0;
}

.secureDonationBanner img {
  display: block;
  max-width: 170px;
  height: auto;
}

/* === Headings === */
h1, h2, h3 {
  font-family: 'Source Sans Pro', sans-serif;
  color: #131415;
  margin-bottom: 10px;
}

h1 {
  font-size: 20px;
  font-weight: 700;
  font-family: 'Merriweather', serif;
  color: #172D39;
}

h2 {
  font-size: 19px;
  font-weight: 600;
}

h3 {
  font-size: 16px;
  font-weight: 600;
}

/* === Form Labels === */
label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #131415;
  margin-top: 5px;
  font-family: 'Source Sans Pro', sans-serif;
}

/* ==== Wrapper with padding ==== */
#wrapper {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

/* ==== Layout container: flex between form and sidebar ==== */
.form-layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

/* ==== Form Styling ==== */
.widgetContent {
  display: inline-block;
  vertical-align: top;
  background-color: #ffffff;
  border-radius: 12px;
  padding: 40px 40px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
  flex: 1 1 720px;
  width: 100%;
  max-width: 600px;
}

/* ==== Sidebar Styling ==== */
#orgInfo {
  display: inline-block;
  vertical-align: top;
  background-color: #ffffff;
  border-radius: 12px;
  padding: 10px 20px;
  font-size: 14px;
  line-height: 1.4;
  color: #131415;
  flex: 0 0 260px;
  min-width: 270px;
  align-self: flex-start;
  margin-left: 30px;
}

/* ==== Form Fields ==== */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
textarea,
select {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  color: #131415;
  border: 1px solid #C0C0C0;
  border-radius: 6px;
  margin-top: 5px;
  margin-bottom: 5px;
  font-family: 'Source Sans Pro', sans-serif;
}

.section {
  padding: 10px 0px;
}

.recurring-paypal-venmo-label-info {
  font-style: italic;
}

/* ==== Button Styling ==== */
.btn.btn-submit.btn-submit-donation {
  background-color: #2088DD;
  color: #ffffff;
  font-weight: bold;
  margin-top: 24px;
  padding: 14px 60px;
  border: none;
  border-radius: 6px;
  font-size: 17px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn.btn-submit.btn-submit-donation:hover {
  background-color: #4da0e4;
}

/* ==== Responsive ==== */
@media (max-width: 900px) {
  .form-layout {
    flex-direction: column;
  }

  #orgInfo {
    align-self: stretch;
    margin-top: 20px;
  }
}