/**
 * Payment Details Popup Styles
 */

/* Popup Overlay */
.payment-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.payment-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Popup Content */
.payment-popup {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 250, 250, 0.98) 100%);
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.payment-popup-overlay.active .payment-popup {
    transform: scale(1) translateY(0);
}

/* Popup Header */
.payment-popup-header {
    padding: 30px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 18px 18px 0 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.payment-popup-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
}

.payment-popup-header-text h3 {
    color: #000;
    font-size: 1.5em;
    font-weight: 700;
    margin: 0 0 5px 0;
}

.payment-popup-header-text p {
    color: rgba(0, 0, 0, 0.7);
    font-size: 0.9em;
    margin: 0;
}

.payment-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    color: #000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5em;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-popup-close:hover {
    background: rgba(0, 0, 0, 0.3);
    transform: rotate(90deg);
}

/* Popup Body */
.payment-popup-body {
    padding: 30px;
}

.payment-details-section {
    margin-bottom: 25px;
}

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

.payment-details-section h4 {
    color: #000;
    font-size: 1.1em;
    font-weight: 700;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-details-section h4 i {
    color: #FFD700;
}

.payment-detail-item {
    background: rgba(255, 215, 0, 0.1);
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 12px;
    border-left: 4px solid #FFD700;
    transition: all 0.3s ease;
}

.payment-detail-item:hover {
    background: rgba(255, 215, 0, 0.15);
    transform: translateX(5px);
}

.payment-detail-label {
    color: #666;
    font-size: 0.85em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.payment-detail-value {
    color: #000;
    font-size: 1.1em;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.copy-btn {
    background: #FFD700;
    border: none;
    color: #000;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85em;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.copy-btn:hover {
    background: #FFA500;
    transform: scale(1.05);
}

.copy-btn:active {
    transform: scale(0.95);
}

.copy-btn i {
    font-size: 0.9em;
}

/* Instructions */
.payment-instructions {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
    margin-top: 20px;
}

.payment-instructions h4 {
    color: #1e40af;
    font-size: 1em;
    font-weight: 700;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.payment-instructions ol {
    margin: 0;
    padding-left: 20px;
}

.payment-instructions li {
    color: #1e3a8a;
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .payment-popup {
        max-width: 100%;
        margin: 0;
        border-radius: 15px;
    }
    
    .payment-popup-header {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .payment-popup-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5em;
    }
    
    .payment-popup-header-text h3 {
        font-size: 1.3em;
    }
    
    .payment-popup-body {
        padding: 20px;
    }
    
    .payment-detail-value {
        font-size: 1em;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .copy-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .payment-popup-overlay {
        padding: 10px;
    }
    
    .payment-popup-header {
        padding: 15px;
    }
    
    .payment-popup-body {
        padding: 15px;
    }
    
    .payment-detail-item {
        padding: 12px 15px;
    }
}
