/**
 * @file
 * Donation form styles.
 */

/* Donation form container */
.mel-donation-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
}

.mel-donation-intro {
  margin-bottom: 2rem;
}

.mel-donation-intro__text {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #333;
}

/* Preset buttons */
.mel-donation-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.mel-donation-preset {
  min-width: 80px;
  min-height: 44px;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid #ddd;
  background: #fff;
  color: #333;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mel-donation-preset:hover {
  border-color: #c0392b;
  background: #fef5f4;
}

.mel-donation-preset.active {
  border-color: #c0392b;
  background: #c0392b;
  color: #fff;
}

.mel-donation-preset:focus {
  outline: 3px solid rgba(192, 57, 43, 0.3);
  outline-offset: 2px;
}

/* Custom amount input */
.mel-donation-custom {
  margin-top: 1.5rem;
}

.mel-donation-custom-input {
  width: 100%;
  min-height: 44px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  transition: border-color 0.2s ease;
}

.mel-donation-custom-input:focus {
  outline: none;
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

/* Submit button */
.mel-donation-form .form-actions {
  margin-top: 2rem;
}

.mel-donation-form .mel-btn-lg {
  width: 100%;
  min-height: 48px;
  font-size: 1.125rem;
  font-weight: 600;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .mel-donation-form {
    padding: 1rem;
  }

  .mel-donation-presets {
    gap: 0.75rem;
  }

  .mel-donation-preset {
    flex: 1 1 calc(50% - 0.375rem);
    min-width: 0;
  }
}

