/* Payment Modal Styles */
.payment-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.payment-modal-overlay.active {
    opacity: 1;
}

.payment-modal {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.payment-modal-overlay.active .payment-modal {
    transform: translateY(0);
}

.modal-icon {
    font-size: 3rem;
    color: var(--medical-red);
    margin-bottom: 20px;
}

.payment-modal h3 {
    margin-bottom: 10px;
    color: var(--navy-dark);
}

.payment-modal p {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.countdown-circle {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
}

.countdown-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.countdown-circle circle {
    fill: none;
    stroke-width: 8;
}

.countdown-circle .bg {
    stroke: #eee;
}

.countdown-circle .progress {
    stroke: var(--medical-red);
    stroke-dasharray: 283;
    /* 2 * PI * 45 */
    stroke-dashoffset: 0;
}

@keyframes countdown {
    from {
        stroke-dashoffset: 0;
    }

    to {
        stroke-dashoffset: 283;
    }
}

#countdown-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-weight: bold;
    color: var(--navy-dark);
}

.cancel-transfer {
    background: #ccc;
    color: #333;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
    margin-top: 10px;
}

.cancel-transfer:hover {
    background: #bbb;
}