/* Sewanyaya Donate — donate.css
   All selectors prefixed .snd- to avoid WordPress theme conflicts */

.snd-wrap {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  font-family: Georgia, serif;
}

/* ── Header ── */
.snd-header {
  background: #1A1A2E;
  border-radius: 12px 12px 0 0;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.snd-logo {
  width: 62px;
  height: 62px;
  border-radius: 8px;
  background: #fff;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  overflow: hidden;
}

.snd-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.snd-org-info { flex: 1; min-width: 0; }

.snd-org-name {
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.4px;
  line-height: 1.3;
}

.snd-org-tagline {
  font-family: Arial, sans-serif;
  font-size: 10px;
  color: #D4A017;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-top: 5px;
}

.snd-badge {
  display: inline-block;
  background: rgba(212,160,23,0.15);
  color: #D4A017;
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 100px;
  margin-top: 6px;
  border: 1px solid rgba(212,160,23,0.3);
  text-transform: uppercase;
}

/* ── Card ── */
.snd-card {
  background: #ffffff;
  border-radius: 0 0 12px 12px;
  border: 1px solid rgba(26,26,46,0.12);
  border-top: none;
  padding: 1.75rem 1.75rem 1.5rem;
}

.snd-card-title {
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #1A1A2E;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(26,26,46,0.12);
}

/* ── Amount ── */
.snd-section-label {
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #9090A8;
  margin-bottom: 8px;
}

.snd-amount-wrap {
  position: relative;
  margin-bottom: 9px;
}

.snd-rupee {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 700;
  color: #4A4A62;
  font-family: Arial, sans-serif;
  pointer-events: none;
  line-height: 1;
}

.snd-amount-input {
  width: 100%;
  border: 2px solid rgba(26,26,46,0.22);
  border-radius: 8px;
  padding: 13px 13px 13px 33px;
  font-size: 22px;
  font-weight: 700;
  font-family: Arial, sans-serif;
  color: #1A1A2E;
  background: #FAFAFA;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
  -moz-appearance: textfield;
  box-shadow: none;
}

.snd-amount-input::-webkit-outer-spin-button,
.snd-amount-input::-webkit-inner-spin-button { -webkit-appearance: none; }

.snd-amount-input::placeholder {
  color: #9090A8;
  font-size: 14px;
  font-weight: 400;
}

.snd-amount-input:focus,
.snd-amount-input.snd-has-value {
  border-color: #1A1A2E;
  background: #ffffff;
}

/* ── Presets ── */
.snd-presets {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-bottom: 1.25rem;
}

.snd-preset {
  background: none;
  border: 1.5px solid rgba(26,26,46,0.22);
  border-radius: 8px;
  padding: 9px 2px;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #4A4A62;
  cursor: pointer;
  transition: all 0.13s;
  text-align: center;
  line-height: 1.2;
  box-shadow: none;
}

.snd-preset:hover {
  border-color: #1A1A2E;
  color: #1A1A2E;
  background: #EEEEF5;
}

.snd-preset.snd-active {
  border-color: #1A1A2E;
  background: #1A1A2E;
  color: #ffffff;
}

/* ── Toggle ── */
.snd-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #EEEEF5;
  border: 1.5px solid rgba(26,26,46,0.14);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 1.25rem;
  cursor: pointer;
  user-select: none;
}

.snd-toggle-info { flex: 1; }

.snd-toggle-label {
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #1A1A2E;
}

.snd-toggle-desc {
  font-family: Arial, sans-serif;
  font-size: 11px;
  color: #4A4A62;
  margin-top: 2px;
}

.snd-switch {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  margin-left: 12px;
}

.snd-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.snd-track {
  position: absolute;
  inset: 0;
  background: rgba(26,26,46,0.18);
  border-radius: 100px;
  transition: background 0.2s;
}

.snd-switch input:checked + .snd-track { background: #1A1A2E; }

.snd-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.snd-switch input:checked ~ .snd-thumb { transform: translateX(20px); }

/* ── Monthly note ── */
.snd-monthly-note {
  font-family: Arial, sans-serif;
  font-size: 11px;
  color: #A33B00;
  background: #FFF0E8;
  border: 1px solid rgba(224,82,0,0.2);
  border-radius: 6px;
  padding: 7px 11px;
  margin: -0.75rem 0 1.25rem;
}

/* ── Divider ── */
.snd-divider {
  border: none;
  border-top: 1px solid rgba(26,26,46,0.12);
  margin: 1.25rem 0;
}

/* ── Fields ── */
.snd-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 1.25rem;
}

.snd-field-group { display: flex; flex-direction: column; gap: 5px; }

.snd-field-label {
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #9090A8;
}

.snd-field-input {
  border: 1.5px solid rgba(26,26,46,0.22);
  border-radius: 8px;
  padding: 9px 11px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #1A1A2E;
  background: #FAFAFA;
  outline: none;
  transition: border-color 0.13s;
  width: 100%;
  box-shadow: none;
}

.snd-field-input:focus {
  border-color: #1A1A2E;
  background: #ffffff;
}

/* ── Summary ── */
.snd-summary {
  background: #FFF0E8;
  border: 1.5px solid rgba(224,82,0,0.22);
  border-radius: 8px;
  padding: 11px 14px;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.snd-summary-text {
  font-family: Arial, sans-serif;
  font-size: 12px;
  color: #A33B00;
}

.snd-summary-amount {
  font-family: Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #E05200;
}

/* ── Pay button ── */
.snd-pay-btn {
  width: 100%;
  background: #E05200;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 14px;
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: background 0.15s, transform 0.1s;
  box-shadow: none;
  display: block;
}

.snd-pay-btn:hover:not(:disabled) { background: #C44800; }
.snd-pay-btn:active:not(:disabled) { transform: scale(0.99); }
.snd-pay-btn:disabled { background: #C8C8D4; cursor: not-allowed; }

/* ── Success ── */
.snd-success {
  text-align: center;
  padding: 2rem 1rem;
}

.snd-success-icon {
  width: 64px;
  height: 64px;
  background: #EEEEF5;
  border: 2px solid #1A1A2E;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-family: Arial, sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #1A1A2E;
}

.snd-success-title {
  font-family: Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #1A1A2E;
  margin-bottom: 8px;
}

.snd-success-msg {
  font-family: Arial, sans-serif;
  font-size: 13px;
  color: #4A4A62;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.snd-success-ref {
  background: #F4F4F8;
  border-radius: 8px;
  padding: 9px 14px;
  font-family: Arial, sans-serif;
  font-size: 12px;
  color: #9090A8;
  margin-bottom: 1.25rem;
}

.snd-success-ref strong { color: #1A1A2E; }

.snd-back-btn {
  background: none;
  border: 1.5px solid rgba(26,26,46,0.22);
  border-radius: 8px;
  padding: 9px 22px;
  font-family: Arial, sans-serif;
  font-size: 13px;
  color: #4A4A62;
  cursor: pointer;
}

/* ── Footer ── */
.snd-footer {
  text-align: center;
  margin-top: 1rem;
  font-family: Arial, sans-serif;
  font-size: 11px;
  color: #9090A8;
  line-height: 1.9;
}

.snd-footer a { color: #1A1A2E; text-decoration: none; }
.snd-footer a:hover { text-decoration: underline; }

.snd-rzp-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-bottom: 2px;
}

/* ── Responsive ── */
@media (max-width: 520px) {
  .snd-presets { grid-template-columns: repeat(3, 1fr); }
  .snd-fields  { grid-template-columns: 1fr; }
  .snd-header, .snd-card { padding: 1.25rem; }
  .snd-org-name { font-size: 12px; }
}
