/* Modal Components */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--gray-500);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--black);
}

.modal-header {
    margin-bottom: 25px;
}

.modal-header h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.modal-header p {
    color: var(--gray-500);
    font-size: 15px;
}

.modal-body {
    margin-bottom: 25px;
}

.modal-footer {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.payment-status {
    text-align: center;
    padding: 30px;
}

.payment-status .icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.payment-status.success .icon {
    color: var(--success);
}

.payment-status.error .icon {
    color: var(--error);
}

.payment-status.pending .icon {
    color: var(--warning);
}

.payment-status h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.payment-status p {
    color: var(--gray-500);
    margin-bottom: 20px;
}

.countdown {
    font-size: 48px;
    font-weight: 700;
    color: var(--black);
    margin: 20px 0;
}
