/**
 * Frontend Styles
 *
 * @package WC_ID_Verification
 */

/* California checkout acknowledgment. */
.at3-idv {
	box-sizing: border-box;
	width: 100%;
	clear: both;
	border: 1px solid var(--at3-color-gray-border);
	border-radius: 2px;
	background: var(--at3-color-white);
	padding: 14px;
	margin: 0 0 18px;
}

.at3-idv__heading {
	margin: 0 0 8px;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 16.5px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--at3-color-brand-black);
}

.at3-idv__intro {
	margin: 0 0 12px;
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--at3-color-surface-dark);
}

.at3-idv__notice {
	max-height: 132px;
	overflow-y: auto;
	background: var(--at3-color-gray-surface);
	border: 1px solid var(--at3-color-gray-panel);
	border-radius: 2px;
	padding: 10px 12px;
	margin: 0 0 12px;
	font-size: 12.5px;
	line-height: 1.55;
	color: var(--at3-color-gray-dim);
}

.at3-idv__notice:focus-visible {
	outline: 2px solid var(--at3-color-brand-black);
	outline-offset: -2px;
}

.at3-idv__notice p {
	margin: 0 0 7px;
}

.at3-idv__notice ol {
	margin: 0;
	padding-left: 22px;
	list-style: upper-alpha;
}

.at3-idv__notice li {
	margin: 0 0 6px;
}

.at3-idv .at3-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	cursor: pointer;
	color: var(--at3-color-brand-black);
}

.at3-idv .at3-check input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 1px 0 0;
	flex: 0 0 auto;
	cursor: pointer;
}

.at3-idv .at3-check input[type="checkbox"]:focus-visible {
	outline: 2px solid var(--at3-color-brand-black);
	outline-offset: 2px;
}

.at3-idv__ack span {
	font-size: 13.5px;
	line-height: 1.5;
}

.at3-idv__error {
	margin: 9px 0 0;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--at3-color-sale-red);
}

/* Post-payment verification display. */
.wc-idv-pending-notice,
.wc-idv-success,
.wc-idv-verification-section {
	padding: 20px;
	margin: 20px 0;
	border-radius: 4px;
}

.wc-idv-verification-section {
	background: var(--at3-color-gray-surface);
	border: 2px solid var(--at3-color-gray-panel);
}

.wc-idv-pending-notice {
	background: var(--at3-color-gray-surface);
	border: 2px solid var(--at3-color-badge-gold);
}

.wc-idv-success {
	background: var(--at3-color-light-blue);
	border: 2px solid var(--at3-color-action-green-dark);
	color: var(--at3-color-action-green-dark);
}

.wc-idv-iframe {
	width: 100%;
	height: 550px;
	min-height: 0;
	border: 1px solid var(--at3-color-gray-border);
	border-radius: 4px;
	margin: 15px 0;
}

.wc-idv-iframe-shell {
	max-width: 550px;
	height: 550px;
	overflow: hidden;
	margin: 0 auto;
}

.wc-idv-iframe-fallback {
	text-align: center;
	margin-top: 15px;
	padding: 10px;
	background: var(--at3-color-gray-surface);
	border-radius: 4px;
	color: var(--at3-color-gray-dim);
}

.wc-idv-verify-button {
	display: inline-block;
	padding: 12px 30px;
	font-weight: 700;
}

.wc-idv-verify-action {
	text-align: center;
}

.wc-idv-received {
	max-width: 700px;
	margin: 10px auto;
	padding: 5px 20px;
}

.wc-idv-received__intro {
	margin-bottom: 15px;
	padding: 15px;
	background: var(--at3-color-white);
	border-radius: 4px;
}

.wc-idv-received__intro > div {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--at3-color-surface-dark);
}

@media (max-width: 768px) {
	.wc-idv-iframe {
		height: 550px;
	}

	.wc-idv-verification-section {
		padding: 15px;
	}
}
