.direct-pay-popup {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 99999;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 8px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
	width: 90%;
	max-width: 500px;
	box-sizing: border-box;
}

.direct-pay-popup .close-popup {
	position: absolute;
	top: -10px;
	right: -5px;
	background-color: var(--bs-primary);
	color: var(--bs-white);
	border: none;
	border-radius: 50%;
	cursor: pointer;
	font-size: 1.5rem;
	padding: 0.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    width: 35px;
    height: 35px;
    line-height: 35px;
}

.direct-pay-popup-body {
    margin: 1.5rem auto;
    width: 90%;
	overflow-y: auto;
	max-height: 70vh;
    display: flex;
    flex-direction: column;
}

.direct-pay-message p {
    background: var(--bs-primary);
    padding: 0.5rem;
    color: var(--bs-white);
}

@media (max-width: 480px) {
	.direct-pay-popup {
		top: 0;
		left: 0;
		transform: none;
		width: 100vw;
		height: 100vh;
		border-radius: 0;
		padding: 1rem;
	}

    .direct-pay-popup .close-popup {
        top: unset;
        right: 10px;
        font-size: 2rem;
        background: unset;
        color: var(--bs-primary);
        box-shadow: none;
    }
}

.direct-pay-overlay {
    position: fixed;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    margin: 0;
    z-index: 9999;
    background: rgb(0 0 0 / 60%);
    -webkit-transition: all .s cubic-bezier(0,.8,1,1);
    transition: all .s cubic-bezier(0,.8,1,1);
}
