/* Unified Payment Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}
.modal-overlay.open { display: flex; }
.modal-box {
    background: white;
    padding: 40px;
    border-radius: 24px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    color: #1A1A1A;
    text-align: left;
}
.modal-close {
    position: absolute;
    top: 20px; right: 20px;
    cursor: pointer;
    font-size: 1.5rem;
    color: #999;
}
.modal-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 25px;
}
.modal-tab {
    padding: 10px 20px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    background: none;
    border: none;
    outline: none;
}
.modal-tab.active {
    color: #E01B24;
    border-bottom-color: #E01B24;
}
.pay-detail { display: none; }
.pay-detail.open { display: block; }

.copy-group { 
    position: relative; 
    background: #f8f9fa; 
    padding: 12px; 
    border-radius: 8px; 
    border: 1px solid #eee; 
    font-family: monospace; 
    font-size: 0.85rem; 
    margin-bottom: 10px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}
.copy-btn { 
    background: #E01B24; 
    color: white; 
    border: none; 
    padding: 4px 10px; 
    border-radius: 4px; 
    font-size: 0.7rem; 
    cursor: pointer; 
}
.pay-btn-primary {
    background: #E01B24;
    color: white;
    padding: 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    display: block;
    text-align: center;
    margin-bottom: 15px;
}
