#iframe-wrapper {
	position: relative;
	width: 100%;
	max-height: fit-content;
	margin: 40px auto;
	padding: 30px;
	border-radius: 12px;
	font-family: "Poppins", sans-serif;
	color: #333;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
	display: flex;
	flex-direction: column;
	gap: 50px;
}

#payment-frame {
	height: 430px;
}

.note-section {
	border: 1px solid #ccc;
	background: #f2f2f2;
	padding: 15px;
	font-size: 16px;
}
.note-section a {
	color: #007BFF !important;
	text-decoration: underline !important;
}

.note-section a:hover {
	color: #0056b3 !important;
	text-decoration: none !important;
}

/* new checkout page design changes */
.card-details-container {
	width: 100%;
	background-color: #1B3B6F;
	background-image: url('https://usimmigrationassistance.com/wp-content/uploads/2025/10/background.svg');
	background-repeat: no-repeat, no-repeat;
	border-radius: 8px;
	padding: 25px 10px 20px 30px;
	background-position: right center, right 20px top 45%;
	background-size: contain, auto;
    margin-top: 20px;
}

.card-details-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

.card-details-title {
	color: #ffffff;
	font-size: 1.2em;
	font-weight: bold;
	margin-left: 10px;
}

.secure-payment-section {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-right: 10px;
}

.secure-payment-text {
	color: #ffffff;
	font-size: 1.2em;
	font-weight: bold;
}

.payment-icon {
	height: 25px !important;
	border-radius: 3px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
	background-color: #ffffff;
	padding: 3px 6px;
	box-sizing: border-box;
}

/* Spinner overlay on top of iframe */
#iframe-loading-spinner {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(4px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
	transition: opacity 0.3s ease;
}

/* Hidden state (after iframe loads) */
#iframe-loading-spinner.hidden {
	opacity: 0;
	pointer-events: none;
}

/* Spinner animation */
.spinner-circle {
	border: 5px solid #f3f3f3;
	border-top: 5px solid #3498db;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}