/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

 /* ===== DONATION FORM RESET ===== */
.donation-form {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  /*max-width: 520px;*/
  margin: 0 auto;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  font-family: Arial, sans-serif;
}

/* HEADERS */
.donation-form h2 {
  background: #ffe8e8;
  padding: 14px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 18px;
}

/* STEPS */
.donation-form .step {
  display: none;
}

.donation-form .step.active {
  display: block;
}

/* RADIO GROUP */
.donation-form .radio-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 15px;
}

.donation-form .radio-group label {
  cursor: pointer;
}

/* HIDE REAL RADIO */
.donation-form input[type="radio"] {
  display: none;
}

/* FAKE RADIO BUTTON */
.donation-form .radio-option {
  border: 2px solid #ddd;
  padding: 14px 0;
  border-radius: 10px;
  text-align: center;
  font-weight: 600;
  transition: all 0.3s ease;
}

/* CHECKED STATE */
.donation-form input[type="radio"]:checked + .radio-option {
  border-color: #c71e1e;
  background: #ffe8e8;
  color: #c71e1e;
}

/* INPUTS */
.donation-form .custom-input {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

/* BUTTONS */
.donation-form .btn {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: none;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
}

.donation-form .btn {
  background: #c71e1e;
  color: #fff;
}

.donation-form .btn:hover {
  background: #a81818;
}

.donation-form .back-btn {
  background: #555;
}

.donation-form .back-btn:hover {
  background: #333;
}

/* INPUT GROUP */
.donation-form .input-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.donation-form .full-width {
  grid-column: span 2;
}

/* ERRORS */
.donation-form .error {
  color: red;
  font-size: 13px;
  display: none;
  margin-bottom: 10px;
}

#donationLoader {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.85);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-box {
  background: #c71e1e;
  color: #fff;
  padding: 20px 30px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: bold;
}


/* RESPONSIVE */
@media (max-width: 768px) {
  .donation-form .radio-group {
    grid-template-columns: repeat(2, 1fr);
  }
  .donation-form .input-group {
    grid-template-columns: 1fr;
  }
  .donation-form .full-width {
    grid-column: span 1;
  }
}

@media (max-width: 480px) {
  .donation-form .radio-group {
    grid-template-columns: 1fr;
  }
}
