/* General Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  text-align: center;
  background-color: #f8f9fa; /* Light background for better readability */
  color: #333;
}

.page {
  padding: 20px;
}

.page.active {
  display: block;
}

.hidden {
  display: none;
}

/* Buttons */
button {
  margin: 10px;
  padding: 15px 20px;
  font-size: 18px;
  font-weight: bold;
  border: none;
  border-radius: 8px; /* Rounded corners */
  background-color: #007bff; /* Blue background */
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #0056b3; /* Darker blue on hover */
}

button:active {
  background-color: #003f7f; /* Even darker blue on click */
}

/* Ensure the button stays at the bottom of the screen */
.bottom-button {
  position: fixed;
  bottom: 0;
  left: 0;
  height: 80px;
  width: 95%; /* Make the button span the full width */
  padding: 15px; /* Add some padding for better touch experience */
  background-color: #007bff; /* Button background color */
  color: white; /* Button text color */
  font-size: 1.8rem; /* Adjust font size for readability */
  text-align: center;
  border: none; /* Remove default border */
  cursor: pointer; /* Show pointer cursor on hover */
  z-index: 1000; /* Ensure it stays above other elements */
  margin-bottom: 1em;
}

/* General form styling */
#donation-form {
  max-width: 400px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Form group styling */
.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}

.form-group input {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.form-group input:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* Read-only input styling */
input[readonly] {
  background-color: #e9ecef;
  color: #6c757d;
}

/* MobilePay button styling */
.mobilepay-logo{
  height: 3em;
  vertical-align: middle;
  margin-right: 0.5em;
}

/* Margin for the MobilePay button */
.contact-container {
  margin-bottom: 100px;
}

/* Submit button styling */
.bottom-button {
  width: 95%;
  padding: 12px;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  background-color: #5A78FF;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.bottom-button:hover {
  background-color: #0056b3;
}

.bottom-button:active {
  background-color: #004085;
}

/* QR code container styling */
.qr-code-container {
  margin-top: 20px;
  text-align: center;
}

/* Style consent checkbox and label for better alignment and appearance */
.form-group input[type="checkbox"] {
  width: 1.2em;
  height: 1.2em;
  vertical-align: middle;
  accent-color: #007aff; /* iOS blue, adjust as needed */
  margin-right: 0.7em;
  margin-top: 0;
}

.form-group label[for="donor-consent"] {
  display: inline;
  vertical-align: middle;
  font-size: 1em;
  line-height: 1.4;
  cursor: pointer;
}

/* Optional: Add spacing below the consent group */
#donor-consent {
  margin-bottom: 0;
}

.form-group {
  margin-bottom: 1.5em;
}