/* ปิด caret ทั้งโปรเจกต์ ยกเว้นกล่องพิมพ์ข้อความ */
*, *::before, *::after {
    caret-color: transparent !important;
}
input, textarea, [contenteditable="true"] {
    caret-color: auto !important;
}

/* ========== Reset & Global Design System ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', 'Noto Sans Thai', 'Kanit', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.btn-disabled {
  filter: grayscale(1) opacity(0.5);
  cursor: not-allowed !important;
  box-shadow: none !important;
  pointer-events: none !important;
}

:root {
  --bg-dark: #07090e;
  --bg-main: #0c0f1c;
  --glass-bg: rgba(18, 22, 38, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-glow: rgba(99, 102, 241, 0.15);
  
  --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
  --btn-gradient-hover: linear-gradient(135deg, #4f46e5 0%, #9333ea 50%, #db2777 100%);
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-label: #818cf8;
  
  --success: #10b981;
  --warning: #f59e0b;
  --border-radius-lg: 24px;
  --border-radius-md: 16px;
  
  --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 30px rgba(168, 85, 247, 0.25);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  position: relative;
  overflow-x: hidden;
}

/* ========== Animated Background Orbs ========== */
.bg-orbs {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  mix-blend-mode: screen;
  animation: floatOrb 25s infinite alternate ease-in-out;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: #6366f1;
  top: -10%;
  left: -10%;
  animation-duration: 20s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: #ec4899;
  bottom: -15%;
  right: -10%;
  animation-duration: 30s;
  animation-delay: -5s;
}

.orb-3 {
  width: 350px;
  height: 350px;
  background: #a855f7;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-duration: 25s;
  animation-delay: -10s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, -40px) scale(1.1); }
  100% { transform: translate(-30px, 30px) scale(0.9); }
}

/* ========== Core Container ========== */
.container {
  width: 100%;
  max-width: 440px;
  z-index: 2;
}

.step {
  display: none;
}

.step.active {
  display: block;
  animation: stepEntrance 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes stepEntrance {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ========== Glassmorphic Card Panel ========== */
.card.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 35px 30px;
  box-shadow: var(--shadow-premium), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

/* Inner glow accent */
.card.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.08) 0%, rgba(168, 85, 247, 0) 100%);
  pointer-events: none;
}

/* ========== Header Section ========== */
.header {
  text-align: center;
  margin-bottom: 15px;
}

.glowing-heart, .glowing-qr {
  font-size: 48px;
  display: inline-block;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 12px rgba(168, 85, 247, 0.6));
  animation: pulseGlow 2.5s infinite ease-in-out;
}

.glowing-avatar {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 15px;
  border: 3px solid var(--avatar-glow-color, rgba(0, 255, 55, 0.5));
  filter: drop-shadow(0 0 12px var(--avatar-glow-color, rgba(0, 255, 55, 0.6)));
  animation: pulseGlow 5.5s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 12px var(--avatar-glow-color, rgba(71, 255, 15, 0.5))); }
  50% { transform: scale(1); filter: drop-shadow(0 0 20px var(--avatar-glow-color, rgba(5, 63, 15, 0.418))); }
}

.header h1, .header h2 {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  background: linear-gradient(90deg, #ffffff, #d8b4fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Social Buttons Grid */
.social-links-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 9px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  color: #ffffff;
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}

.social-btn i {
  font-size: 16px;
}

.social-btn.twitch { background: rgba(146, 65, 165, 0.4); border-color: rgba(146, 65, 165, 0.6); }
.social-btn.youtube { background: rgba(255, 0, 0, 0.4); border-color: rgba(255, 0, 0, 0.6); }
.social-btn.discord { background: rgba(88, 101, 242, 0.4); border-color: rgba(88, 101, 242, 0.6); }
.social-btn.facebook { background: rgba(24, 119, 242, 0.4); border-color: rgba(24, 119, 242, 0.6); }
.social-btn.tiktok { background: rgba(0, 0, 0, 0.6); border-color: rgba(255, 255, 255, 0.2); }
.social-btn.x { background: rgba(0, 0, 0, 0.6); border-color: rgba(255, 255, 255, 0.2); }
.social-btn.instagram { background: linear-gradient(45deg, rgba(225, 48, 100, 0.4), rgba(131, 56, 236, 0.4)); border-color: rgba(225, 48, 100, 0.6); }

.social-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.2);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.status-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(0, 0, 0, 0.4);
  padding: 6px 12px;
  white-space: nowrap;
  transition: all 0.3s ease;
  cursor: pointer;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  margin: 15px auto 1px;
}

.status-btn:hover {
  transform: scale(1.05);
  background-color: rgba(0, 0, 0, 0.6);
}

.status-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #4b5563;
  flex-shrink: 0;
}

.status-dot.online {
  background-color: var(--success);
  box-shadow: 0 0 8px var(--success);
}

.status-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  transition: transform 0.3s ease;
}

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

@keyframes pulseRed {
  0%, 100% { transform: scale(1); box-shadow: 0 0 8px #ff4d4d; }
  50% { transform: scale(1.2); box-shadow: 0 0 15px #ff4d4d; }
}

.spinning {
  animation: spin 1s linear infinite;
}

.status-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  padding: 5px 8px;
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 10px;
}

.note-dot {
  width: 8px;
  height: 8px;
  background-color: #ff6565;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulseRed 5s infinite ease-in-out;
  display: inline-block;
}

.note-highlight {
  color: #ff4d4d;
  text-decoration: underline;
  font-weight: 600;
}

.subtitle {
  color: var(--text-muted);
  font-size: 18.5px;
  line-height: 1;
  font-weight: 400;
}

/* ========== Preset Amount Grid Buttons ========== */
.amount-options {
  display: flex;
  flex-wrap: nowrap;
  justify-content: start;
  gap: 8px;
  margin-bottom: auto;
  overflow-x: unset;
  padding-bottom: 5px;
  scrollbar-width: none;
}

.amount-options::-webkit-scrollbar {
  display: none;
}

.amount-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius-md);
  padding: 6px 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.amount-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--primary-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.amount-btn * {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.amount-emoji {
  font-size: 18px;
  transition: transform 0.25s ease;
}

.amount-val {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
}

.amount-desc {
  display: none;
}

/* Hover States */
.amount-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(168, 85, 247, 0.3);
  transform: translateY(-2px);
}

.amount-btn:hover .amount-emoji {
  transform: scale(1.2) rotate(5deg);
}

/* Selected Preset State */
.amount-btn.selected {
  border-color: transparent;
  box-shadow: 0 8px 25px rgba(168, 85, 247, 0.35);
  transform: translateY(-3px) scale(1.02);
}

.amount-btn.selected::before {
  opacity: 1;
}

.amount-btn.selected .amount-val {
  color: #ffffff;
}

.amount-btn.selected .amount-desc {
  color: rgba(255, 255, 255, 0.85);
}

/* ========== Custom Amount Area ========== */
.custom-amount {
  margin-bottom: 25px;
}

.custom-amount label, .donor-info label {
  display: block;
  color: var(--text-label);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.input-group {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.input-group:focus-within {
  border-color: #a855f7;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
  background: rgba(0, 0, 0, 0.35);
}

.currency {
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  color: #00cf34;
  font-size: 20px;
  font-weight: 700;
  border-right: 3px solid var(--glass-border);
}

.input-group input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 14px 18px;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  outline: none;
}

.input-group input::placeholder {
  color: rgba(255, 255, 255, 0.2);
  font-weight: 400;
}

/* ========== Min Amount Warning ========== */
.min-amount-warning {
  text-align: center;
  font-size: 13px;
  color: #ff6b6b;
  margin-top: 4px;
  font-weight: 500;
  animation: fadeIn 0.3s ease;
}

/* ========== Donor Info Elements ========== */
.donor-info {
  margin-bottom: 10px;
}

.donor-info label {
  margin-top: 15px;
}

.donor-info label:first-of-type {
  margin-top: 0;
}

.donor-info input,
.donor-info textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--glass-border);
  color: #ffffff;
  border-radius: var(--border-radius-md);
  padding: 14px 16px;
  font-size: 13.5px;
  outline: none;
  transition: var(--transition-smooth);
  resize: none;
}

.donor-info input::placeholder,
.donor-info textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.donor-info input:focus,
.donor-info textarea:focus {
  border-color: #a855f7;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
  background: rgba(0, 0, 0, 0.35);
}

/* ========== Custom Action Buttons ========== */
.btn-primary {
  width: 100%;
  padding: 18px;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  background: var(--primary-gradient);
  background-size: 200% auto;
  border: none;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 20px -10px rgba(168, 85, 247, 0.5);
}

.btn-primary:hover:not(:disabled) {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(168, 85, 247, 0.45);
}

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

.btn-primary:disabled {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.25);
  box-shadow: none;
  cursor: not-allowed;
}

.btn-secondary {
  width: 100%;
  padding: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  cursor: pointer;
  margin-top: 15px;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
}

/* ========== PromptPay QR Code screen custom styling ========== */
.qr-container {
  text-align: center;
  padding: 25px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px dashed var(--glass-border);
  border-radius: var(--border-radius-md);
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 240px;
}

.qr-container img {
  max-width: 200px;
  border-radius: 12px;
  border: 4px solid #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* Loading animations */
.loading {
  padding: 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13.5px;
}

.spinner {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(168, 85, 247, 0.1);
  border-top-color: #a855f7;
  border-radius: 50%;
  margin: 0 auto 15px;
  animation: spin 1s linear infinite;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.1);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Amount Displays */
.amount-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  margin-bottom: 20px;
}

.amount-display .label {
  color: var(--text-muted);
  font-size: 13px;
}

.amount-display .value {
  font-size: 24px;
  font-weight: 800;
  color: #a855f7;
  text-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
}

/* Instructions List */
.instructions {
  margin-bottom: 20px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius-md);
  padding: 10px 15px;
}

.instructions p {
  padding: 10px 0;
  color: var(--text-muted);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.instructions p:last-child {
  border-bottom: none;
}

.instructions p span {
  width: 20px;
  height: 20px;
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

/* Payment Status Notification */
.status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  border-radius: var(--border-radius-md);
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid transparent;
}

.status.checking {
  background: rgba(245, 158, 11, 0.1);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.2);
}

.status.success {
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.2);
}

.status.expired {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.2);
}

.spinner-small {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* ========== Thank You Page Specific Styles ========== */
.thank-you {
  text-align: center;
  animation: stepEntrance 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.thank-you .icon.glowing-heart {
  font-size: 72px;
  margin-bottom: 20px;
}

.thank-you h1 {
  font-size: 28px;
  margin-bottom: 12px;
}

.thank-you p.subtitle {
  font-size: 14px;
  margin-bottom: 30px;
}

/* Chrome numeric field cleanup */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

.highlight-amount {
  background: linear-gradient(90deg, #4ade80 0%, #ffffff 50%, #4ade80 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  display: inline-block;
  position: relative;
  width: fit-content;
  animation: shineText 3s linear infinite;
  line-height: 1.3;
  font-family: 'Kanit', sans-serif;
}
@keyframes shineText {
  0% { background-position: 200% center; }
  100% { background-position: 0% center; }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== Payment Method Selection ========== */
.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}

.payment-method-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-lg);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.payment-method-option::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
  transition: left 0.5s ease;
}

.payment-method-option:hover::after {
  left: 100%;
}

.payment-method-option:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.payment-method-option.selected {
  background: rgba(102, 126, 234, 0.12);
  border-color: var(--primary-color, #667eea);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15), 0 4px 16px rgba(102, 126, 234, 0.2);
  transform: translateY(-1px);
}

.payment-method-option.selected .payment-method-icon {
  background: rgba(102, 126, 234, 0.2);
  transform: scale(1.05);
}

.payment-method-option.selected .payment-method-check {
  opacity: 1;
  animation: checkPop 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes checkPop {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}

.payment-method-option.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  position: relative;
}

.payment-method-option.disabled::before {
  content: '🔒';
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  font-size: 20px;
  opacity: 0.6;
  z-index: 1;
}

.payment-method-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  flex-shrink: 0;
  transition: all 0.3s ease;
  overflow: hidden;
}

.payment-method-icon img {
  width: 110%;
  height: 110%;
  object-fit: cover;
  display: block;
}

.payment-method-info {
  flex: 1;
}

.payment-method-info h3 {
  margin: 0 0 4px 0;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.payment-method-info p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.payment-method-badge {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 8px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
}

.payment-method-check {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.payment-method-option.selected .payment-method-check {
  opacity: 1;
}

.payment-method-check i {
  font-size: 24px;
  color: #22c55e;
}

.payment-summary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-md);
  padding: 18px;
  margin: 24px 0;
}

.summary-amount-display {
  text-align: center;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.summary-label {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}

.summary-amount-large {
  font-size: 42px;
  font-weight: 700;
  background: linear-gradient(135deg, #22c55e, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1.2;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 14px;
}

.summary-row:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.summary-row span:first-child {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

.summary-row span:last-child {
  color: #fff;
  font-weight: 600;
  font-size: 15px;
}

.button-group {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.button-group .btn-secondary,
.button-group .btn-primary {
  flex: 1;
}

/* ========== QR Code Page Enhancements ========== */
.qr-info-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-md);
  padding: 18px;
  margin: 20px 0;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 14px;
}

.info-row:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.info-label {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

.info-value {
  color: #fff;
  font-weight: 500;
}

.info-value.countdown {
  color: #f59e0b;
  font-family: 'Courier New', monospace;
  font-weight: 700;
  font-size: 16px;
  padding: 4px 10px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 6px;
  border: 1px solid rgba(245, 158, 11, 0.2);
  transition: all 0.3s ease;
}

.info-value.countdown.urgent {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  animation: countdownPulse 1s ease-in-out infinite;
}

@keyframes countdownPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.payment-error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(239, 68, 68, 0.12));
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-left: 4px solid #ef4444;
  border-radius: var(--border-radius-md);
  padding: 18px;
  margin: 20px 0;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #ef4444;
  font-size: 14px;
  animation: slideInError 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.1);
}

@keyframes slideInError {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.payment-error i {
  font-size: 22px;
  flex-shrink: 0;
}

.payment-error span {
  flex: 1;
  line-height: 1.5;
}

.slipok-warning {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  margin: 0 0 16px 0;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 10px;
  color: #fbbf24;
  font-size: 13px;
  font-weight: 500;
  animation: fadeIn 0.4s ease;
}

.slipok-warning i {
  font-size: 16px;
  flex-shrink: 0;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== Dashboard Payment Setup ========== */
.payment-setup-container {
  max-width: 800px;
}

.payment-method-selector {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.payment-method-card {
  flex: 1;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-lg);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.payment-method-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.payment-method-card.active {
  background: rgba(102, 126, 234, 0.1);
  border-color: var(--primary-color, #667eea);
}

.payment-method-card .card-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.payment-method-card h3 {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 600;
}

.payment-method-card p {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.promptpay-settings {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  margin-top: 20px;
}

.settings-section {
  margin-bottom: 24px;
}

.settings-section:last-child {
  margin-bottom: 0;
}

.settings-section h4 {
  margin: 0 0 16px 0;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 8px;
}

.settings-section h4 i {
  color: var(--primary-color, #667eea);
}

.tfp-status {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--border-radius-md);
  margin-top: 12px;
}

.tfp-status.connected {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.tfp-status.disconnected {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.tfp-status-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 16px;
}

.tfp-status.connected .tfp-status-icon {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.tfp-status.disconnected .tfp-status-icon {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.tfp-status-text {
  flex: 1;
}

.tfp-status-text strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.tfp-status-text span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.api-notice {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--border-radius-md);
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #f59e0b;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.api-notice i {
  font-size: 16px;
  margin-top: 2px;
}

.api-notice a {
  color: #f59e0b;
  text-decoration: underline;
}

/* ========== Payment Guard Animations ========== */
@keyframes shakeButton {
  0%, 100% { transform: translateX(0); }
  10% { transform: translateX(-6px); }
  20% { transform: translateX(6px); }
  30% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  50% { transform: translateX(-4px); }
  60% { transform: translateX(4px); }
  70% { transform: translateX(-2px); }
  80% { transform: translateX(2px); }
  90% { transform: translateX(-1px); }
}

.btn-shake {
  animation: shakeButton 0.6s ease-in-out;
}

@keyframes redGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
  50% { box-shadow: 0 0 20px 8px rgba(239,68,68,0.6), 0 0 40px 16px rgba(239,68,68,0.3); }
}

.btn-glow-red {
  animation: redGlow 1.2s ease-in-out 2;
  border-color: #ef4444 !important;
}

@keyframes revealMessage {
  0% { opacity: 0; transform: translateY(-8px); max-height: 0; }
  100% { opacity: 1; transform: translateY(0); max-height: 40px; }
}

.no-payment-message {
  color: #f87171;
  font-size: 13px;
  text-align: center;
  margin-top: 8px;
  animation: revealMessage 0.5s ease-out forwards;
  overflow: hidden;
}

/* ========== Slip Upload Styles ========== */
.slip-upload-container {
  margin: 20px 0;
}

.slip-upload-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  border: 2px dashed rgba(255,255,255,0.2);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(255,255,255,0.03);
}

.slip-upload-btn:hover {
  border-color: #22c55e;
  background: rgba(34,197,94,0.08);
}

.slip-upload-btn.dragover {
  border-color: #22c55e;
  background: rgba(34,197,94,0.12);
  transform: scale(1.02);
}

.upload-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.upload-content span {
  font-size: 16px;
  font-weight: 600;
  color: #e5e7eb;
}

.upload-content small {
  font-size: 12px;
  color: #9ca3af;
}

.upload-preview {
  position: relative;
  margin-top: 12px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

.upload-preview img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  display: block;
}

.btn-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(239,68,68,0.9);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-remove:hover {
  background: #ef4444;
  transform: scale(1.1);
}

/* ========== Slip Verify Button ========== */
.btn-verify-slip {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  background: linear-gradient(135deg, #22c55e, #10b981);
  border: none;
  border-radius: 12px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 16px;
}

.btn-verify-slip:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34,197,94,0.3);
}

.btn-verify-slip:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ========== Donate Page ========== */
.subtitle-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

/* ========== TrueMoney Step Styles ========== */
#step-truemoney .header img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 12px;
}

/* ========== TrueMoney Phone Display Box ========== */
.truemoney-phone-box {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.05) 100%);
  border: 2px solid rgba(239, 68, 68, 0.3);
  border-radius: 16px;
  padding: 24px;
  margin: 20px 0;
  text-align: center;
  position: relative;
}

.truemoney-phone-label {
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.truemoney-phone-number {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  font-family: 'Courier New', monospace;
  letter-spacing: 2px;
  text-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
  margin-bottom: 16px;
}

.btn-copy-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-copy-phone:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.btn-copy-phone.copied {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.5);
}
