/**
 * Modern Glassmorphic Styles for Smart Donation Form
 */
:root {
  --smart-primary: #059669;
  --smart-primary-hover: #047857;
  --smart-accent: #0284c7;
  --smart-bg-card: #ffffff;
  --smart-border: #e2e8f0;
  --smart-text-main: #0f172a;
  --smart-text-muted: #64748b;
  --smart-radius: 14px;
}

.smart-donation-container {
  max-width: 640px;
  margin: 2rem auto;
  background: var(--smart-bg-card);
  border: 1px solid var(--smart-border);
  border-radius: var(--smart-radius);
  box-shadow: 0 12px 35px -8px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  font-family: inherit;
}

.smart-form-group {
  margin-bottom: 1.25rem;
}

.smart-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--smart-text-main);
  margin-bottom: 0.5rem;
}

.smart-input, .smart-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--smart-border);
  border-radius: 10px;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #f8fafc;
}

.smart-input:focus, .smart-select:focus {
  outline: none;
  border-color: var(--smart-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.smart-amount-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.smart-amt-pill {
  padding: 0.65rem;
  background: #f1f5f9;
  border: 1px solid var(--smart-border);
  border-radius: 8px;
  font-weight: 600;
  color: var(--smart-text-main);
  cursor: pointer;
  transition: all 0.2s ease;
}

.smart-amt-pill.active, .smart-amt-pill:hover {
  background: var(--smart-primary);
  color: #ffffff;
  border-color: var(--smart-primary);
}

.smart-custom-amount-wrapper {
  position: relative;
}

.smart-custom-amount-wrapper .currency-prefix {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  color: var(--smart-text-muted);
}

.smart-custom-amount-wrapper .smart-input {
  padding-left: 2.25rem;
  font-weight: 600;
}

.smart-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) {
  .smart-grid-2 {
    grid-template-columns: 1fr;
  }
}

.smart-gateway-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.smart-gateway-card {
  display: flex;
  flex-direction: column;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--smart-border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  background: #f8fafc;
}

.smart-gateway-card input {
  display: none;
}

.smart-gateway-card.active {
  border-color: var(--smart-primary);
  background: #ecfdf5;
}

.smart-gateway-card .gateway-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--smart-text-main);
}

.smart-gateway-card .gateway-desc {
  font-size: 0.75rem;
  color: var(--smart-text-muted);
  margin-top: 0.25rem;
}

.smart-btn-primary {
  width: 100%;
  padding: 0.9rem 1.5rem;
  background: var(--smart-primary);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  margin-top: 1rem;
}

.smart-btn-primary:hover {
  background: var(--smart-primary-hover);
}

.smart-btn-primary:active {
  transform: scale(0.99);
}
