/*   FIUU Page Styles   */
.donation-section {
    padding: 60px 20px;
    background: #f9fafb;
    font-family: 'Montserrat', sans-serif;
}

.donation-container.expanded {
    max-width: 900px;
    margin: auto;
    background: #fff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
}

/* ---- Step Navigation ---- */
.step-navigation {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 40px;
}

.step-navigation .step {
    font-weight: 600;
    color: #999;
    position: relative;
}

.step-navigation .step.active {
    color: #4CAF50;
}

.step-navigation .step.active::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 3px;
    background: #4CAF50;
    border-radius: 2px;
}

/* ---- Panels ---- */
.donation-step,
.payment-step {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.donation-step.active,
.payment-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---- Donation Buttons ---- */
.donation-section .donation-btn {
    padding: 12px 20px;
    border: 2px solid #4CAF50;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.donation-section .donation-btn:hover,
.donation-section .donation-btn.active {
    background: #4CAF50;
    color: #fff;
}

/* ---- Custom Amount ---- */
.donation-section .custom-amount input {
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 8px;
    width: 200px;
    text-align: center;
}

/* ---- Donor Details Form ---- */
.donor-details {
    margin-top: 40px;
    text-align: left;
}

.donor-details h3 {
    margin-bottom: 20px;
    font-weight: 600;
    color: #333;
}

.donor-details .form-group {
    margin-bottom: 20px;
}

.donor-details label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}

.donor-details input,
.donor-details select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
}

/* ---- Inline Errors ---- */
.error-msg {
    color: red;
    font-size: 0.85em;
    margin-top: 4px;
    display: block;
}

/* ---- Checkbox Group ---- */
.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: 22px;   
    height: 22px;  
    accent-color: #4CAF50;
    cursor: pointer;
}

/* ---- Next Button ---- */
.form-next {
    margin-top: 30px;
    text-align: center;
}

.form-next button {
    background: #4CAF50;
    color: #fff;
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.form-next button:hover {
    background: #45a049;
}

/* ---- Payment Methods ---- */
.payment-methods {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 20px 0;
}

.payment-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* space between image and text */
    padding: 14px 24px;
    border: 2px solid #4CAF50;
    border-radius: 8px;
    background: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
} 

.payment-btn img {
    height: 28px;
}

.payment-btn span {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

/* Hover effect */
.payment-btn:hover {
    border-color: #007bff;
    background: #f0f8ff;
}

/* Active effect */
.payment-btn.active {
    border-color: #007bff;
    background: #e6f2ff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.4);
}

.payment-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    cursor: pointer;              /* whole box clickable */
    transition: border-color 0.3s, background 0.3s;
    width: 180px; /* adjust as needed */
}

.payment-option:hover,
.payment-option.active {
    border-color: #007BFF;
    background: #f0f8ff;
}

.payment-option img.payment-img {
    width: 80px;   /* smaller image */
    height: auto;
    margin-bottom: 8px;
    cursor: pointer;              /* makes images clickable */
    user-select: none;            /* prevents accidental selection */
}
  
  
  
/* ===== Disclaimer Popup ===== */
.disclaimer-popup {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.disclaimer-content {
  background: #fff;
  color: #333;
  border-radius: 10px;
  padding: 25px 30px;
  width: 90%;
  max-width: 600px;
  text-align: left;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  position: relative;
}

.disclaimer-content h2 {
  text-align: center;
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #006837;
}

.disclaimer-scroll {
  max-height: 350px;
  overflow-y: auto;
  padding-right: 10px;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  margin-bottom: 20px;
}

.disclaimer-scroll h3 {
  margin-top: 15px;
  color: #006837;
  font-size: 1.1em;
}

.disclaimer-scroll p {
  font-size: 0.95em;
  line-height: 1.6;
  margin: 5px 0 10px 0;
}

.disclaimer-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.agree-btn, .cancel-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.agree-btn {
  background: #006837;
  color: white;
}

.agree-btn:hover {
  background: #004f29;
}

.cancel-btn {
  background: #ccc;
  color: #333;
}

.cancel-btn:hover {
  background: #aaa;
}
