/* contents copied from original public/recharge.css */
/* Modal Styles */
.modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.active { display: flex; }
.modal-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(4px); }
.modal-content { position: relative; background: white; border-radius: 16px; width: 100%; max-width: 500px; max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); animation: modalSlideUp 0.3s ease-out; }
@keyframes modalSlideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 24px; border-bottom: 1px solid #e5e7eb; }
.modal-header h2 { font-size: 20px; font-weight: 700; margin: 0; color: #1a1a1a; }
.modal-close { background: none; border: none; padding: 4px; cursor: pointer; color: #666; transition: color 0.2s; display: flex; align-items: center; justify-content: center; }
.modal-close:hover { color: #333; }
.modal-body { padding: 24px; }
.recharge-section { display: flex; flex-direction: column; gap: 24px; }
.recharge-section.hidden { display: none; }
.amount-input { width: 100%; padding: 16px; border: 2px solid #e5e7eb; border-radius: 8px; font-size: 24px; font-weight: 600; text-align: center; transition: all 0.2s; outline: none; }
.amount-input:focus { border-color: #8b5cf6; box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1); }
.input-hint { font-size: 13px; color: #666; margin: 8px 0 0 0; }
.quick-amounts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.quick-amount-btn { padding: 16px; border: 2px solid #e5e7eb; border-radius: 8px; background: white; font-size: 18px; font-weight: 600; color: #333; cursor: pointer; transition: all 0.2s; }
.quick-amount-btn:hover { border-color: #8b5cf6; background: #f5f3ff; color: #8b5cf6; transform: translateY(-2px); }
.payment-info { text-align: center; padding: 20px; background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%); border-radius: 12px; }
.payment-amount-label { font-size: 14px; color: #666; margin: 0 0 8px 0; }
.payment-amount { font-size: 36px; font-weight: 700; margin: 0; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.payment-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.payment-tab { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px; border: 2px solid #e5e7eb; border-radius: 8px; background: white; cursor: pointer; transition: all 0.2s; font-size: 14px; font-weight: 600; color: #666; }
.payment-tab:hover { border-color: #8b5cf6; background: #f5f3ff; }
.payment-tab.active { border-color: #8b5cf6; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; }
.payment-tab svg { width: 24px; height: 24px; }
.qr-code-container { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.qr-code-wrapper { text-align: center; }
.qr-code { display: inline-flex; padding: 20px; background: white; border: 2px solid #e5e7eb; border-radius: 12px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); }
.qr-hint { margin: 16px 0 0 0; font-size: 14px; color: #666; }
.qr-hint span { font-weight: 600; color: #8b5cf6; }
.payment-status { text-align: center; padding: 20px; background: #f5f5f7; border-radius: 12px; }
.loading-spinner { width: 40px; height: 40px; border: 4px solid #e5e7eb; border-top-color: #8b5cf6; border-radius: 50%; margin: 0 auto 16px; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.payment-status p { margin: 8px 0; font-size: 14px; color: #666; }
.status-hint { font-size: 12px; color: #999; }
.status-hint span { font-family: monospace; color: #666; }
@media (max-width: 640px) { .modal-content { max-width: 100%; border-radius: 16px 16px 0 0; margin-top: auto; } .quick-amounts { grid-template-columns: repeat(2, 1fr); } .amount-input { font-size: 20px; } .payment-amount { font-size: 28px; } }
