.fastenergy-widget-box {
	box-sizing: border-box;
	width: 100%;
	max-width: 980px;
	margin: 0 auto;
	border-radius: 0.5rem;
	overflow: hidden;
	font-family: Arial, Helvetica, sans-serif;
	color: #222;
	background: #fff;
	border: 1px solid #e5e7eb;
	box-shadow: 0 10px 28px rgba(0,0,0,0.10);
	position: relative;
}

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

.fastenergy-widget-box.has-bg {
	background-image:
		linear-gradient(
			90deg,
			rgba(255,255,255,1) 0%,
			rgba(255,255,255,0.98) 42%,
			rgba(255,255,255,0.80) 62%,
			rgba(255,255,255,0.26) 100%
		),
		var(--fastenergy-widget-bg);
	background-size: cover;
	background-position: center center;
}

.fastenergy-widget-content {
	width: 58%;
	min-height: 350px;
	padding: 30px;
	background: rgba(255,255,255,0.68);
}

.fastenergy-widget-box:not(.has-bg) .fastenergy-widget-content {
	width: 100%;
	background: #fff;
}

.fastenergy-widget-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.fastenergy-widget-logo {
	display: block;
	max-width: 190px;
	height: auto;
}

.fastenergy-widget-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 10px;
	border-radius: 999px;
	background: #fff2df;
	color: #9a5700;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

.fastenergy-widget-title {
	margin: 0 0 8px 0;
	font-size: 30px;
	line-height: 1.15;
	font-weight: 800;
	color: #1f2933;
}

.fastenergy-widget-title span {
	color: #ffa41b;
}

.fastenergy-widget-subtitle {
	margin: 0 0 22px 0;
	font-size: 15px;
	line-height: 1.45;
	color: #4b5563;
	max-width: 540px;
}

.fastenergy-widget-panel {
	max-width: 560px;
	padding: 16px;
	border-radius: 0.5rem;
	background: rgba(255,255,255,0.86);
	border: 1px solid rgba(255,255,255,0.75);
	box-shadow: 0 8px 22px rgba(0,0,0,0.08);
	backdrop-filter: blur(3px);
}

.fastenergy-widget-box:not(.has-bg) .fastenergy-widget-panel {
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	box-shadow: none;
}

.fastenergy-widget-form {
	display: grid;
	grid-template-columns: 0.9fr 1fr;
	gap: 12px;
	align-items: end;
}

.fastenergy-widget-field {
	min-width: 0;
}

.fastenergy-widget-submit-wrap {
	grid-column: 1 / -1;
}

.fastenergy-widget-label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 700;
	color: #374151;
}

.fastenergy-widget-input-wrap {
	position: relative;
}

.fastenergy-widget-input {
	display: block;
	width: 100%;
	height: 48px;
	padding: 10px 14px;
	border: 1px solid #d6dce2;
	border-radius: 0.25rem;
	background: rgba(255,255,255,0.98);
	color: #222;
	font-size: 18px;
	line-height: 1.2;
	outline: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.fastenergy-widget-input:focus {
	border-color: #ffa41b;
	box-shadow: 0 0 0 0.2rem rgba(255,164,27,0.18);
}

.fastenergy-widget-input.has-unit {
	padding-right: 54px;
}

.fastenergy-widget-unit {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: #777;
	font-size: 14px;
	pointer-events: none;
}

.fastenergy-widget-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 50px;
	padding: 0 22px;
	border: 1px solid #ffa41b;
	border-radius: 0.25rem;
	background: #ffa41b;
	color: #fff;
	font-size: 17px;
	font-weight: 800;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 0.12s ease, box-shadow 0.12s ease, transform 0.12s ease;
}

.fastenergy-widget-submit:hover {
	background: #f49a12;
	box-shadow: 0 8px 18px rgba(255,164,27,0.32);
	transform: translateY(-1px);
}

.fastenergy-widget-submit:active {
	transform: translateY(0);
	box-shadow: none;
}

.fastenergy-widget-error {
	display: none;
	margin-top: 12px;
	padding: 10px 12px;
	border-radius: 0.25rem;
	background: #fff0f0;
	color: #a30000;
	font-size: 14px;
	line-height: 1.35;
}

.fastenergy-widget-info {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin-top: 15px;
	font-size: 13px;
	color: #4b5563;
}

.fastenergy-widget-info span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.fastenergy-widget-info span::before {
	content: "✓";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #e9f7ef;
	color: #21864b;
	font-size: 11px;
	font-weight: 800;
}

@media (max-width: 760px) {
	.fastenergy-widget-box.has-bg {
		background-image:
			linear-gradient(
				180deg,
				rgba(255,255,255,0.98) 0%,
				rgba(255,255,255,0.96) 60%,
				rgba(255,255,255,0.82) 100%
			),
			var(--fastenergy-widget-bg);
		background-position: center center;
	}

	.fastenergy-widget-content {
		width: 100%;
		min-height: auto;
		padding: 22px;
		background: rgba(255,255,255,0.78);
	}

	.fastenergy-widget-box:not(.has-bg) .fastenergy-widget-content {
		background: #fff;
	}

	.fastenergy-widget-header {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
		margin-bottom: 16px;
	}

	.fastenergy-widget-logo {
		max-width: 165px;
	}

	.fastenergy-widget-title {
		font-size: 23px;
	}

	.fastenergy-widget-form {
		grid-template-columns: 1fr;
	}

	.fastenergy-widget-panel {
		background: rgba(255,255,255,0.88);
	}

	.fastenergy-widget-box:not(.has-bg) .fastenergy-widget-panel {
		background: #f9fafb;
	}
}

@media (max-width: 420px) {
	.fastenergy-widget-box {
		border-radius: 0.5rem;
	}

	.fastenergy-widget-content {
		padding: 18px;
	}

	.fastenergy-widget-title {
		font-size: 21px;
	}

	.fastenergy-widget-subtitle {
		font-size: 14px;
	}

	.fastenergy-widget-panel {
		padding: 13px;
	}

	.fastenergy-widget-input {
		height: 46px;
		font-size: 17px;
	}

	.fastenergy-widget-submit {
		height: 48px;
		font-size: 16px;
	}
}