/* Ampere Invoice Check Form — front-end styles */

.aicf-widget {
	--aicf-accent: #E35205;
	--aicf-text: #3A3A3A;
	--aicf-muted: #777;
	--aicf-border: #DCD8D1;
	--aicf-bg-input: #FBFAF8;
	--aicf-green: #3E9D52;
	margin: 0 auto;
	box-sizing: border-box;
}

.aicf-widget *,
.aicf-widget *::before,
.aicf-widget *::after {
	box-sizing: border-box;
}

.aicf-card {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 24px 60px -20px rgba(8, 24, 40, .55);
	overflow: hidden;
}

.aicf-card__bar {
	height: 5px;
	background: var(--aicf-accent);
}

.aicf-card__inner {
	padding: 28px 30px 30px;
}

.aicf-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 22px;
}

.aicf-head__title {
	font-weight: 800;
	font-size: 20px;
	color: var(--aicf-text);
}

.aicf-dots {
	display: flex;
	gap: 6px;
}

.aicf-dot {
	width: 26px;
	height: 5px;
	border-radius: 3px;
	background: #E3E0DB;
	transition: background-color .15s;
}

.aicf-dot.is-active {
	background: var(--aicf-accent);
}

.aicf-step {
	display: none;
}

.aicf-step.is-active {
	display: block;
}

.aicf-dropzone {
	text-align: center;
	padding: 34px 20px;
	border: 2px dashed var(--aicf-border);
	border-radius: 11px;
	cursor: pointer;
	transition: all .15s;
	background: var(--aicf-bg-input);
}

.aicf-dropzone:focus-visible,
.aicf-dropzone.is-dragging {
	border-color: var(--aicf-accent);
	background: rgba(227, 82, 5, .06);
	outline: none;
}

.aicf-dropzone__icon {
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: rgba(227, 82, 5, .10);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 14px;
	font-size: 26px;
	line-height: 1;
	color: var(--aicf-accent);
}

.aicf-dropzone__title {
	font-weight: 800;
	font-size: 22px;
	color: var(--aicf-text);
	margin-bottom: 5px;
}

.aicf-dropzone__sub {
	font-size: 16px;
	color: var(--aicf-muted);
}

.aicf-dropzone__browse {
	color: var(--aicf-accent);
	font-weight: 700;
	text-decoration: underline;
}

.aicf-secure {
	margin-top: 16px;
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 15px;
	color: #888;
}

.aicf-secure__dot {
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--aicf-green);
}

.aicf-divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 18px 0 4px;
}

.aicf-divider span {
	flex: 1;
	height: 1px;
	background: #ECEAE5;
}

.aicf-divider em {
	font-style: normal;
	font-size: 14.5px;
	color: #A6A29B;
	font-weight: 700;
}

.aicf-btn {
	cursor: pointer;
	border-radius: 7px;
	border: none;
}

.aicf-btn--ghost {
	width: 100%;
	padding: 13px;
	background: #fff;
	color: var(--aicf-text);
	border: 1px solid var(--aicf-border);
	font-weight: 600;
	font-size: 16.5px;
}

.aicf-btn--primary {
	margin-top: 16px;
	width: 100%;
	padding: 15px;
	background: var(--aicf-accent);
	color: #fff;
	font-weight: 800;
	font-size: 18px;
	letter-spacing: .2px;
}

.aicf-btn--primary:disabled {
	opacity: .6;
	cursor: not-allowed;
}

.aicf-btn--muted {
	margin-top: 20px;
	padding: 11px 20px;
	background: #F4F3F0;
	color: #5C5C5C;
	border: 1px solid #E3E0DB;
	font-weight: 600;
	font-size: 16px;
}

.aicf-banner {
	display: none;
	align-items: center;
	gap: 11px;
	padding: 11px 13px;
	border-radius: 9px;
	margin-bottom: 18px;
}

.aicf-banner.is-active {
	display: flex;
}

.aicf-banner--upload {
	background: #F2F8F3;
	border: 1px solid #CBE6CF;
}

.aicf-banner--contact {
	background: #FBF0E9;
	border: 1px solid #F3D4C1;
}

.aicf-banner__badge {
	flex: none;
	width: 30px;
	height: 30px;
	border-radius: 7px;
	background: #fff;
	border: 1px solid #D6E6D8;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 13px;
	color: var(--aicf-green);
}

.aicf-banner__badge--contact {
	border-color: #F3D4C1;
	font-size: 16px;
	color: var(--aicf-accent);
}

.aicf-banner__text {
	flex: 1;
	min-width: 0;
}

.aicf-banner__filename {
	font-size: 13.5px;
	font-weight: 700;
	color: var(--aicf-text);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.aicf-banner__status {
	font-size: 12px;
	color: var(--aicf-green);
	font-weight: 600;
}

.aicf-banner__status--muted {
	color: #777;
	font-weight: 400;
}

.aicf-link {
	flex: none;
	background: none;
	border: none;
	color: #A6A29B;
	font-size: 15px;
	cursor: pointer;
	text-decoration: underline;
}

.aicf-intro {
	font-size: 16px;
	color: var(--aicf-muted);
	margin: 0 0 16px;
	line-height: 1.5;
}

.aicf-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 11px;
}

.aicf-input,
.aicf-textarea {
	width: 100%;
	padding: 12px 13px;
	border: 1px solid var(--aicf-border);
	border-radius: 7px;
	color: var(--aicf-text);
	background: var(--aicf-bg-input);
	outline: none;
	transition: border-color .12s;
}

.aicf-input:focus,
.aicf-textarea:focus {
	border-color: var(--aicf-accent);
}

.aicf-input--wide {
	grid-column: 1 / -1;
}

.aicf-textarea {
	margin-top: 11px;
	resize: vertical;
	min-height: 64px;
	line-height: 1.4;
	display: none;
}

.aicf-textarea.is-active {
	display: block;
}

.aicf-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-top: 15px;
	cursor: pointer;
	width: 100%;
	height: auto;
	float: none;
	line-height: 1.5em;
}

.aicf-consent input {
	flex: none;
	width: 17px;
	height: 17px;
	margin-top: 1px;
	accent-color: var(--aicf-accent);
	cursor: pointer;
}

.aicf-consent span {
	font-size: 14.5px;
	line-height: 1.5;
	color: #777;
}

.aicf-consent a {
	color: var(--aicf-accent);
	text-decoration: underline;
}

.aicf-error {
	display: none;
	margin-top: 10px;
	font-size: 15px;
	color: #C0392B;
	font-weight: 600;
}

.aicf-error.is-active {
	display: block;
}

.aicf-footnote {
	margin-top: 11px;
	font-size: 14px;
	color: #A6A29B;
	text-align: center;
}

.aicf-step--success {
	text-align: center;
	padding: 8px 4px 6px;
}

.aicf-success-icon {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #EAF6EC;
	border: 1px solid #CBE6CF;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 16px;
	font-size: 30px;
	color: var(--aicf-green);
}

.aicf-success-title {
	font-weight: 800;
	font-size: 24px;
	color: var(--aicf-text);
	margin-bottom: 9px;
}

.aicf-success-text {
	font-size: 17px;
	color: #666;
	line-height: 1.55;
	margin: 0 auto;
	max-width: 340px;
}

.aicf-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.uk-accordion.calc-check.faq :last-child .uk-accordion-content {
	border: none;
}

@media (max-width: 480px) {
	.aicf-grid {
		grid-template-columns: 1fr;
	}

	.aicf-input--wide {
		grid-column: auto;
	}
}

/* Force "PT Sans" everywhere inside the widget, overriding theme/page CSS. */
html body .aicf-widget.aicf-widget,
html body .aicf-widget.aicf-widget *:not(.aicf-widget),
#post-73095 * {
	font-family: "PT Sans", sans-serif !important;
}
