/* Donation Modal Styles - Scoped to #donationModal only */

/* Donation Button */
.btn-donation {
    background: linear-gradient(145deg, #6366f1, #0084ff);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.3px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.4);
    transition: all 0.3s ease;
}

.btn-donation:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 30px -8px rgba(99, 102, 241, 0.5);
}

.btn-donation:active {
    transform: translateY(0);
}

/* Donation Modal - All styles scoped to #donationModal */
#donationModal .modal-content {
    border-radius: 24px;
    border: none;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    animation: modalSlideUp 0.3s ease;
}

#donationModal .modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 24px 28px;
}

#donationModal .modal-header-icon {
    background: rgba(255, 255, 255, 0.2);
    padding: 12px;
    border-radius: 16px;
    margin-right: 16px;
}

#donationModal .modal-header svg {
    width: 28px;
    height: 28px;
    stroke: white;
}

#donationModal .modal-title {
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

#donationModal .modal-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin: 0;
}

#donationModal .modal-body {
    padding: 28px;
}

#donationModal .donation-impact-message {
    background: #f8fafc;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 24px;
    border-left: 4px solid #0084ff;
}

#donationModal .donation-impact-message p {
    color: #1e293b;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

#donationModal .payment-method-group {
    margin-bottom: 1rem;
}

#donationModal .payment-method-label {
    color: #334155;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 12px;
    display: block;
}

#donationModal .payment-method-select-wrapper {
    position: relative;
}

#donationModal #paymentMethodSelect {
    height: 52px;
    border-radius: 14px;
    border: 2px solid #e2e8f0;
    background-color: white;
    color: #1e293b;
    font-size: 15px;
    padding-left: 16px;
    padding-right: 40px;
    transition: all 0.2s ease;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: none !important;
}

#donationModal .payment-method-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

#donationModal .payment-method-arrow svg {
    width: 16px;
    height: 16px;
    stroke: #64748b;
    stroke-width: 2;
}

#donationModal #paymentMethodSelect:focus {
    border-color: #0084ff !important;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1) !important;
    outline: none !important;
}

#donationModal .payment-details-section {
    display: none;
}

#donationModal .crypto-details {
    display: none;
}

#donationModal .crypto-details-container {
    background: #f8fafc;
    border-radius: 20px;
    padding: 20px;
}

#donationModal .network-badge-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

#donationModal .network-badge {
    background: #e2e8f0;
    color: #334155;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
}

#donationModal .decimals-info {
    color: #64748b;
    font-size: 13px;
}

#donationModal .address-field {
    margin-bottom: 16px;
}

#donationModal .address-label {
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

#donationModal .address-input-group {
    display: flex;
    gap: 8px;
}

#donationModal #paymentAddress {
    flex: 1;
    height: 48px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 0 16px;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 14px;
    color: #1e293b;
}

#donationModal .btn-copy-address {
    width: 48px;
    height: 48px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

#donationModal .btn-copy-address:hover {
    background: #0084ff !important;
    border-color: #0084ff !important;
    color: white !important;
    transform: scale(1.05);
}

#donationModal .btn-copy-address:active {
    transform: scale(0.98);
}

#donationModal .btn-copy-address svg {
    width: 20px;
    height: 20px;
}

#donationModal #toggleQrBtn {
    width: 100%;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    color: #475569;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    transition: all 0.2s ease;
}

#donationModal #toggleQrBtn:hover {
    background: #f1f5f9 !important;
    border-color: #94a3b8 !important;
}

#donationModal #toggleQrBtn svg {
    width: 18px;
    height: 18px;
}

#donationModal .chevron-icon {
    margin-left: auto;
    transition: transform 0.3s ease;
}

#donationModal #qrCodeContainer {
    display: none;
    text-align: center;
    padding: 16px;
    background: white;
    border-radius: 12px;
    border: 2px dashed #e2e8f0;
    margin-bottom: 16px;
}

#donationModal #qrCodeContainer p {
    color: #64748b;
    font-size: 13px;
    margin-bottom: 12px;
}

#donationModal #qrCodeDisplay {
    display: inline-block;
    padding: 8px;
    background: white;
    border-radius: 8px;
}

#donationModal .warning-message {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 12px;
    padding: 14px;
}

#donationModal .warning-message-container {
    display: flex;
    gap: 10px;
}

#donationModal .warning-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

#donationModal .warning-title {
    color: #7c2d12;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

#donationModal .warning-text {
    color: #9a3412;
    font-size: 14px;
    margin: 0;
}

#donationModal .traditional-details {
    display: none;
}

#donationModal .traditional-details-container {
    background: #f8fafc;
    border-radius: 20px;
    padding: 20px;
}

#donationModal .payment-info-label {
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

#donationModal .payment-info-box {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    font-family: monospace;
    word-break: break-all;
    color: #1e293b;
    font-size: 14px;
}

#donationModal .method-description {
    display: none;
}

#donationModal .description-box {
    background: #e0f2fe;
    border-radius: 12px;
    padding: 12px;
}

#donationModal .description-text {
    color: #0369a1;
    font-size: 13px;
    margin: 0;
}

#donationModal .modal-footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 20px 28px;
}

#donationModal .modal-footer p {
    color: #64748b;
    font-size: 14px;
    margin: 0;
    text-align: center;
    width: 100%;
}

/* Modal Animation */
@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

