 .pay-box {
     text-align: center;
     padding: 20px;
     font-family: sans-serif;
     background: #fff;
     border-radius: 12px;
 }

 #qrcode {
     margin: 20px auto;
     display: flex;
     justify-content: center;
 }

 .amount {
     font-size: 1.5rem;
     font-weight: bold;
     color: #0066ff;
 }


 .modal-overlay {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(15, 23, 42, 0.75);
     backdrop-filter: blur(4px);
     display: none;
     align-items: center;
     justify-content: center;
     z-index: 999;
     padding: 16px;
 }

 .modal-overlay.active {
     display: flex;
 }

 /* Modal Card */
 .modal-card {
     background: #ffffff;
     border-radius: 16px;
     width: 100%;
     max-width: 400px;
     padding: 24px;
     box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
     position: relative;
 }

 .close-btn {
     position: absolute;
     top: 12px;
     right: 16px;
     background: none;
     border: none;
     font-size: 1.8rem;
     color: #64748b;
     cursor: pointer;
 }

 .modal-header {
     text-align: center;
     margin-bottom: 20px;
 }

 .modal-header h3 {
     font-size: 1.25rem;
     color: #0f172a;
     margin-bottom: 4px;
 }

 .modal-header p {
     font-size: 1.1rem;
     font-weight: 700;
     color: #2563eb;
 }

 /* Grid Options */
 .options-grid {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 12px;
 }

 .pay-option {
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     padding: 18px 12px;
     border-radius: 12px;
     border: 2px solid #e2e8f0;
     background: #f8fafc;
     cursor: pointer;
     transition: all 0.2s ease;
 }

 .pay-option:active {
     transform: scale(0.97);
     background: #f1f5f9;
 }

 .pay-option .icon {
     font-size: 1.8rem;
     margin-bottom: 6px;
 }

 .pay-option .label {
     font-weight: 600;
     font-size: 0.9rem;
     color: #1e293b;
 }

 /* Specific highlights */
 .pay-option.cash:hover {
     border-color: #22c55e;
 }

 .pay-option.qr:hover {
     border-color: #2563eb;
 }

 .pay-option.terminal:hover {
     border-color: #f59e0b;
 }

 .pay-option.tap:hover {
     border-color: #8b5cf6;
 }

 /* QR Container */
 .qr-container {
     text-align: center;
 }

 .qr-instruction {
     font-size: 0.85rem;
     color: #64748b;
     margin-bottom: 12px;
 }

 #modalQrCode {
     display: flex;
     justify-content: center;
     margin-bottom: 16px;
 }

 .back-btn {
     background: #f1f5f9;
     color: #334155;
     border: none;
     padding: 8px 16px;
     border-radius: 8px;
     font-size: 0.85rem;
     font-weight: 600;
     cursor: pointer;
 }