/* CryptoPay Popup Styles */
.crypto-pay-popup {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    font-family: Arial, sans-serif;
}

.crypto-pay-popup-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 30px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    position: relative;
}

.crypto-pay-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 10px;
}

.crypto-pay-close:hover {
    color: #000;
}

.crypto-pay-header {
    text-align: center;
    margin-bottom: 25px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
}

.crypto-pay-header h2 {
    color: #2c3e50;
    margin: 0;
    font-size: 24px;
}

.crypto-pay-header p {
    color: #7f8c8d;
    margin: 5px 0 0;
    font-size: 14px;
}

.crypto-pay-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.tab-button {
    flex: 1;
    padding: 12px;
    background: #f8f9fa;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    color: #6c757d;
    border-bottom: 3px solid transparent;
}

.tab-button.active {
    color: #0066cc;
    border-bottom: 3px solid #0066cc;
    background: #fff;
}

.crypto-pay-tab-content {
    display: none;
}

.crypto-pay-tab-content.active {
    display: block;
}

.payment-method {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.payment-method h3 {
    margin-top: 0;
    color: #2c3e50;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 10px;
}

.amount-box {
    background: #e8f4ff;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    margin: 15px 0;
}

.amount-box .amount {
    font-size: 28px;
    font-weight: bold;
    color: #0066cc;
}

.amount-box .exchange-rate {
    color: #666;
    font-size: 14px;
    margin-top: 5px;
}

.how-to-pay {
    background: #fff9e6;
    padding: 15px;
    border-radius: 6px;
    font-size: 14px;
    margin: 15px 0;
}

.how-to-pay ol {
    margin: 10px 0;
    padding-left: 20px;
}

.how-to-pay li {
    margin-bottom: 8px;
}

.wallet-address-box {
    background: #f0f0f0;
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
    word-break: break-all;
    font-family: monospace;
    font-size: 14px;
}

.copy-button {
    background: #0066cc;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

.tx-hash-input {
    width: 100%;
    padding: 12px;
    margin: 15px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.crypto-pay-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.confirm-button {
    flex: 3;
    background: #28a745;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.cancel-button {
    flex: 1;
    background: #dc3545;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.crypto-pay-trigger {
    background: linear-gradient(135deg, #0066cc, #004d99);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,102,204,0.3);
}

.crypto-pay-trigger:hover {
    background: linear-gradient(135deg, #004d99, #003366);
}

.notification {
    display: none;
    padding: 12px;
    border-radius: 4px;
    margin: 10px 0;
    text-align: center;
}

.notification.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.notification.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}