:root {
  --primary-bg: #61bb4e;
  --primary-bg-dark: #4c9a3e;
  --accent: #184d95;
  --text-light: #ffffff;
  --border-radius: 4px;
  --input-bg: #ffffff;
  --input-border: #d0d7de;
  --input-border-focus: #3182ce;
  --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.donation-footer-wrapper,
.donation-footer-wrapper * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: inherit;
}

.donation-footer-wrapper {
  width: 100%;
  background: var(--primary-bg);
  color: #000000;
  box-shadow: var(--shadow-soft);
  padding: 10px 16px;
}

.donation-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 10px 16px;
}

.donation-header {
  margin-right: 32px;
  text-align: left;
}

.donation-footer-title {
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 1.05rem;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.donation-footer-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.donation-select-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 150px;
}

.donation-select-group.campaign-group {
  min-width: 200px;
  max-width: 240px;
}

.donation-select-group.designation-group {
  min-width: 180px;
  max-width: 220px;
}

.donation-select-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: #000000;
}

.donation-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 6px 32px 6px 10px;
  font-size: 0.9rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--input-border);
  background:
    linear-gradient(45deg, transparent 50%, #6b7280 50%) calc(100% - 16px) center/8px 8px no-repeat,
    var(--input-bg);
  color: #000000;
  min-width: 140px;
  max-width: 100%;
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.donation-select:focus {
  border-color: var(--input-border-focus);
  box-shadow: 0 0 0 1px rgba(49, 130, 206, 0.55);
}

.donation-select:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.donation-button {
  padding: 10px 28px;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: var(--text-light);
  font-weight: 700;
  font-size: 1rem;
  margin-left: 20px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.donation-button:hover {
  background: #e22e24;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.donation-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.donation-button:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  box-shadow: none;
}

.donation-meta {
  font-size: 0.75rem;
  opacity: 0.8;
  margin-top: 2px;
  margin-left: 0;
  max-width: 260px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.donation-footer-error {
  margin-top: 6px;
  font-size: 0.8rem;
  color: #fee2e2;
}

.donation-mobile-support {
  display: none;
  width: 100%;
  text-align: center;
  margin-top: 8px;
}

.donation-mobile-support a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 26px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--text-light);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  font-size: 0.95rem;
}

.donation-mobile-support a:hover {
  background: #123a70;
}

@media (max-width: 768px) {
  .donation-header,
  .donation-footer-controls,
  .donation-footer-error {
    display: none;
  }

  .donation-mobile-support {
    display: block;
  }
}

