/* [card_verification] page */
.cvv {
	--cvv-primary: #0b5791;
	--cvv-primary-dark: #08436f;
	--cvv-label-bg: #f3f6fa;
	--cvv-label: #0b4f8a;
	--cvv-text: #333;
	--cvv-success: #008000;
	--cvv-danger: #c62828;

	color: var(--cvv-text);
	font-family: "DM Sans", "Segoe UI", Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}
.cvv *, .cvv *::before, .cvv *::after { box-sizing: border-box; }
.cvv-sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Full-width banner, even inside a boxed theme container. */
body:has(.cvv) { overflow-x: hidden; }
.cvv-hero {
	position: relative;
	width: 100vw;
	left: 50%;
	margin-left: -50vw;
	min-height: 220px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px 16px;
	background: linear-gradient(135deg, #0b5791 0%, #2f6fbe 100%) center / cover no-repeat;
	text-align: center;
}
.cvv-hero--image { background-size: cover; background-position: center; }
.cvv-hero--image::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(40, 40, 40, .45);
}
.cvv-hero__title {
	position: relative;
	margin: 0;
	color: #fff;
	font-family: Roboto, "Segoe UI", Arial, sans-serif;
	font-size: 40px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: .3px;
}

.cvv-body { padding: 56px 16px 80px; }
.cvv-box {
	max-width: 600px;
	margin: 0 auto;
	padding: 28px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 6px 24px rgba(0, 0, 0, .07);
}

/* box="no": Elementor supplies the banner, spacing and card. */
.cvv--bare .cvv-body { padding: 0; }
.cvv--bare .cvv-box { max-width: none; padding: 0; background: none; border-radius: 0; box-shadow: none; }

/* Search */
.cvv-form { margin: 0; }
.cvv .cvv-input {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 0 28px;
	padding: 18px 25px;
	border: none;
	border-radius: 0;
	background-color: #f7f7f7;
	color: #333;
	font-family: Roboto, "Segoe UI", sans-serif;
	font-size: 15px;
	line-height: normal;
	outline: none;
	box-shadow: none;
	transition: background .15s;
}
.cvv .cvv-input::placeholder { color: #555; opacity: 1; }
.cvv .cvv-input:focus { outline: none; background-color: #f7f7f7; }
.cvv .cvv-input:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px #f7f7f7 inset; -webkit-text-fill-color: #333; }
.cvv .cvv-button {
	display: inline-block;
	height: auto;
	padding: 18px 50px;
	border: none;
	border-radius: 40px;
	background-color: #0c5a94;
	color: #fff;
	font-family: Roboto, "Segoe UI", sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: normal;
	text-transform: none;
	cursor: pointer;
	transition: background-color .3s ease;
}
.cvv .cvv-button:hover, .cvv .cvv-button:focus { background-color: #09497a; color: #fff; }
.cvv .cvv-button:focus-visible { outline: 3px solid rgba(11, 87, 145, .35); outline-offset: 2px; }
.cvv .cvv-button:active { transform: translateY(1px); }

/* Result */
.cvv-result { margin-top: 4px; padding-bottom: 16px; }
.cvv-msg {
	max-width: 360px;
	margin: 0 0 18px;
	font-family: "DM Sans", sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 27.5px;
}
.cvv-msg--success { color: var(--cvv-success); }
.cvv-msg--error { max-width: none; color: var(--cvv-danger); }

.cvv-item {
	padding: 14px 18px 18px;
	margin-bottom: 14px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 3px 14px rgba(0, 0, 0, .08);
}
.cvv-item:last-child { margin-bottom: 0; }
.cvv-item__label {
	display: block;
	margin-bottom: 0;
	padding: 4px 10px;
	border-radius: 10px;
	background: var(--cvv-label-bg);
	color: var(--cvv-label);
	font-family: Roboto, "Segoe UI", Arial, sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 27.5px;
}
.cvv-item__value {
	margin-top: 10px;
	color: #333;
	font-family: "DM Sans", sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 27.5px;
	letter-spacing: 0;
	word-break: break-word;
}

@media (max-width: 600px) {
	.cvv-hero { min-height: 160px; }
	.cvv-hero__title { font-size: 30px; }
	.cvv-body { padding: 32px 0 48px; }
	.cvv-box { padding: 20px 16px; }
	.cvv .cvv-input { margin-bottom: 20px; padding: 18px 18px; }
}
