/* MakeCommerce Annetus – Annetusvorm */

.mc-donation-wrap {
  max-width: 678px;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.mc-donation-form-container {
  background: #ffffff;
  border: 1px solid #1e3a5f;
  border-bottom: 4px solid #1e3a5f;
  border-radius: 12px;
  padding: 28px 32px 24px;
}

/* Kahe veeru rida */
.mc-fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 4px;
}

@media (max-width: 480px) {
  .mc-fields-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .mc-donation-form-container {
    padding: 20px 18px 18px;
  }
}

.mc-field-group {
  display: flex;
  flex-direction: column;
}

.mc-field-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #222;
  margin-bottom: 6px;
}

.mc-optional {
  font-weight: 400;
  color: #888;
}

.mc-field-group input[type="text"],
.mc-field-group input[type="number"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 1rem;
  color: #111;
  background: #fff;
  transition: border-color 0.18s, box-shadow 0.18s;
  box-sizing: border-box;
  appearance: none;
  -moz-appearance: textfield;
}

.mc-field-group input:focus {
  outline: none;
  border-color: #2a9d8f;
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.12);
}

.mc-field-group input::placeholder {
  color: #aaa;
}

/* Summa väli – € paremas servas */
.mc-amount-input-wrap {
  position: relative;
}

.mc-amount-input-wrap input[type="number"] {
  padding-right: 36px;
}

.mc-currency-symbol {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  color: #555;
  pointer-events: none;
}

.mc-field-hint {
  margin: 5px 0 0 0;
  font-size: 0.8rem;
  color: #888;
  line-height: 1.3;
}

.mc-field-error {
  margin: 6px 0 0 0;
  font-size: 0.85rem;
  color: #dc2626;
  font-weight: 500;
}

/* Roheline "Toeta" nupp */
.mc-donation-btn {
  width: 100%;
  margin-top: 20px;
  padding: 15px 24px;
  background: #43e0a1;
  color: #111111;
  border: none;
  border-radius: 8px;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.18s, transform 0.1s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 54px;
  letter-spacing: 0.01em;
}

.mc-btn-text {
  display: flex;
  align-items: center;
  gap: 9px;
}

.mc-heart-icon { flex-shrink: 0; fill: none; stroke: #111111; stroke-width: 2; }

.mc-donation-btn:hover:not(:disabled) {
  
  transform: translateY(-1px);
}

.mc-donation-btn:active:not(:disabled) {
  transform: translateY(0);
  
}

.mc-donation-btn:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.mc-spinner {
  width: 20px;
  height: 20px;
  animation: mc-spin 0.8s linear infinite;
  flex-shrink: 0;
}

@keyframes mc-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.mc-btn-loading {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mc-footer-text {
  margin: 16px 0 0 0;
  font-size: 0.82rem;
  color: #555;
  line-height: 1.5;
}

.mc-footer-text a {
  color: #2a9d8f;
  text-decoration: underline;
}

#mc-donation-message {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  margin-top: 14px;
}

.mc-msg-success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.mc-msg-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.mc-donation-notice {
  padding: 12px 16px;
  background: #fef3c7;
  border: 1px solid #fbbf24;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #92400e;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
