/* Zap Modal Styles - Unfold Theme */
/* Modal overlay */
.zap-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    backdrop-filter: blur(4px);
}
/* Modal content */
.zap-modal-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: slideUp 0.2s ease-out;
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Modal header */
.zap-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}
.zap-modal-title { font-size: 1.5rem; font-weight: 700; margin: 0; }
.zap-modal-subtitle { color: #666; font-size: 0.9rem; margin: 0.25rem 0 0 0; }
/* Zap button trigger */
.zap-button {
    display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem;
    background: #b87333; color: white; border: none; border-radius: 6px;
    font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all 0.2s;
    margin: 0 auto;
}
.zap-button:hover { background: #9a5f2a; transform: translateY(-1px); }
.zap-button-sm { padding: 0.375rem 0.75rem; font-size: 0.875rem; }

/* Zap icon SVG */
.zap-icon {
    width: 1em; height: 1em;
    display: inline-block;
    vertical-align: middle;
}
.zap-icon svg {
    width: 100%; height: 100%;
    fill: currentColor;
}
/* Close button */
.zap-close-btn {
    background: #e5e7eb; border: none; border-radius: 6px;
    padding: 0.5rem 1rem; font-size: 0.9rem; cursor: pointer;
}
.zap-close-btn:hover { background: #d1d5db; }
/* Form styles */
.zap-form-group { margin-bottom: 1.5rem; }
.zap-form-label { display: block; font-weight: 600; margin-bottom: 0.5rem; }
.zap-form-input {
    width: 100%; padding: 0.75rem; border: 1px solid #e5e7eb;
    border-radius: 6px; font-size: 1rem;
}
.zap-form-input:focus { outline: none; border-color: #b87333; }
.zap-form-textarea { resize: vertical; min-height: 80px; font-family: inherit; }
/* Quick amount buttons */
.zap-amount-buttons { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.zap-amount-btn {
    flex: 1; padding: 0.5rem; background: #f3f4f6; border: 1px solid #e5e7eb;
    border-radius: 6px; cursor: pointer;
}
.zap-amount-btn:hover { background: #e5e7eb; }
/* Split payment info */
.zap-split-info {
    background: #fef3c7; border: 1px solid #fcd34d; border-radius: 8px;
    padding: 1rem; margin-bottom: 1.5rem;
}
/* QR code */
.zap-qr-container {
    text-align: center; margin: 1.5rem 0; padding: 1rem;
    background: #f9fafb; border-radius: 8px;
}
/* Invoice display */
.zap-invoice-input-group { display: flex; gap: 0.5rem; }
.zap-invoice-input {
    flex: 1; padding: 0.625rem; border: 1px solid #e5e7eb;
    border-radius: 6px; font-family: monospace; font-size: 0.8rem;
}
.zap-copy-btn {
    padding: 0.625rem 1rem; background: #e5e7eb; border: 1px solid #d1d5db;
    border-radius: 6px; cursor: pointer;
}
.zap-copy-btn:hover { background: #d1d5db; }
/* Wallet button */
.zap-wallet-btn {
    display: block; width: 100%; padding: 0.875rem; background: #b87333;
    color: white; text-align: center; text-decoration: none;
    border-radius: 6px; font-weight: 600;
}
.zap-wallet-btn:hover { background: #9a5f2a; }
/* Status messages */
.zap-status { padding: 0.875rem; border-radius: 8px; margin-bottom: 1.5rem; }
.zap-status-success { background: #d1fae5; color: #065f46; }
.zap-status-error {
    background: #fee2e2;
    color: #991b1b;
    text-align: left;
}
.zap-status-error p {
    margin: 0;
    word-break: break-word;
}
.zap-status-loading { background: #e0e7ff; color: #3730a3; }
/* Loading spinner */
.zap-spinner {
    display: inline-block; width: 40px; height: 40px;
    border: 4px solid #e5e7eb; border-top-color: #b87333;
    border-radius: 50%; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
/* Split navigation */
.zap-split-nav { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.zap-nav-btn {
    flex: 1; padding: 0.75rem; background: #f3f4f6; border: 1px solid #e5e7eb;
    border-radius: 6px; cursor: pointer;
}
.zap-nav-btn-primary { background: #3b82f6; color: white; }
/* Utility */
.zap-hidden { display: none; }
