/* ==========================================
   Checkout3 - Donation Form Stylesheet
   ========================================== */

/* Base & Typography */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  max-width: 600px;
  margin: 30px auto;
  padding: 24px;
  background-color: #f8f9fa;
  color: #333333;
}

h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.25rem;
  color: #1a1f36;
  border-bottom: 1px solid #e6e8eb;
  padding-bottom: 8px;
}

form {
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

/* Structural & Visibility Utilities */
.hidden-div,
.hidden {
  display: none !important;
}

.formdiv {
  margin-bottom: 16px;
}

.formdiv label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #4f566b;
}

/* Inputs & Textareas */
.inputtext,
.inputtextarea {
  width: 100%;
  padding: 10px 12px;
  box-sizing: border-box;
  border: 1px solid #dcdfe6;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.inputtext:focus,
.inputtextarea:focus {
  outline: none;
  border-color: #5469d4;
  box-shadow: 0 0 0 3px rgba(84, 105, 212, 0.15);
}

.inputtextarea {
  resize: vertical;
}

/* Currency Input Styling */
.currency-input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.currency-symbol {
  position: absolute;
  left: 12px;
  color: #6b7280;
  font-weight: bold;
  font-size: 1rem;
}

.currency-input-container input {
  padding-left: 28px;
  font-weight: bold;
  font-size: 1.1rem;
}

/* Frequency Buttons (Once vs Monthly) */
.button-container-grid2 {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.freqbutton {
  flex: 1;
  padding: 12px;
  border: 2px solid #5469d4;
  background-color: #ffffff;
  color: #5469d4;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.freqbutton:hover {
  background-color: #f0f3ff;
}

.freqbutton_on {
  background-color: #5469d4;
  color: #ffffff;
}

/* Preset Donation Amount Buttons */
.button-container {
  margin-bottom: 16px;
}

.button-container-grid {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.presetbutton {
  flex: 1;
  padding: 10px;
  border: 1px solid #dcdfe6;
  background-color: #f9fafb;
  color: #374151;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.presetbutton:hover {
  border-color: #5469d4;
  color: #5469d4;
  background-color: #ffffff;
}

.presetbutton.active {
  background-color: #5469d4;
  color: #ffffff;
  border-color: #5469d4;
}

/* Checkboxes & Radio Buttons */
input[type="checkbox"],
input[type="radio"] {
  accent-color: #5469d4;
  margin-right: 6px;
  cursor: pointer;
}

/* Acknowledgement / Honor Fields Section */
#acknowledgmenetfields {
  background-color: #f8fafc;
  padding: 16px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  margin-top: 12px;
}

.notifynote {
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: normal;
  display: block;
  margin-top: 2px;
}

/* Submit Button & Messages */
.submitbutton {
  width: 100%;
  padding: 14px;
  background-color: #5469d4;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 20px;
  transition: background-color 0.2s, opacity 0.2s;
}

.submitbutton:hover {
  background-color: #4456b7;
}

.submitbutton:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

#error-message {
  color: #df1b41;
  font-size: 0.9rem;
  margin-top: 12px;
  text-align: center;
}

#reccurtime-notice {
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  color: #6b7280;
}