/* ESI Quote Request - front end */

.esiqr-box {
	--esiqr-accent: #e3a93c;
	--esiqr-accent-text: #1b2436;
	--esiqr-border: #c9cfd8;
	--esiqr-radius: 4px;
	margin: 28px 0;
	padding: 20px 22px 22px;
	border: 1px solid var(--esiqr-border);
	border-radius: 6px;
	background: #fff;
	box-sizing: border-box;
}

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

.esiqr-lead {
	margin: 0 0 14px;
	font-size: 15px;
	line-height: 1.5;
}

.esiqr-lead strong {
	color: #1b2436;
}

.esiqr-part {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin: 0 0 14px;
	padding: 9px 12px;
	background: #f4f6f9;
	border-radius: var(--esiqr-radius);
	font-size: 14px;
}

.esiqr-part span {
	color: #5a6472;
	font-weight: 600;
	letter-spacing: 0.01em;
}

.esiqr-part strong {
	color: #1b2436;
	word-break: break-word;
}

.esiqr-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.esiqr-field {
	flex: 1 1 100%;
	min-width: 0;
}

.esiqr-col-2 { flex: 0 0 calc(16.6667% - 10px); }
.esiqr-col-4 { flex: 1 1 calc(33.3333% - 8px); }
.esiqr-col-6 { flex: 1 1 calc(50% - 6px); }
.esiqr-col-12 { flex: 1 1 100%; }

.esiqr-box input[type="text"],
.esiqr-box input[type="email"],
.esiqr-box input[type="number"],
.esiqr-box select,
.esiqr-box textarea {
	width: 100%;
	max-width: 100%;
	padding: 11px 13px;
	border: 1px solid var(--esiqr-border);
	border-radius: var(--esiqr-radius);
	background: #fff;
	color: #22272f;
	font-size: 15px;
	line-height: 1.35;
	font-family: inherit;
	transition: border-color .15s ease, box-shadow .15s ease;
	appearance: none;
	-webkit-appearance: none;
}

.esiqr-box select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235a6472' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 32px;
}

.esiqr-box textarea {
	min-height: 84px;
	resize: vertical;
}

.esiqr-box input::placeholder,
.esiqr-box textarea::placeholder {
	color: #8a929d;
	opacity: 1;
}

.esiqr-box input:focus,
.esiqr-box select:focus,
.esiqr-box textarea:focus {
	outline: none;
	border-color: var(--esiqr-accent);
	box-shadow: 0 0 0 3px rgba(0, 0, 0, .06);
}

.esiqr-box .esiqr-invalid {
	border-color: #d63638;
	background: #fff8f8;
}

.esiqr-error-text {
	display: block;
	margin-top: 4px;
	color: #b32d2e;
	font-size: 12.5px;
}

.esiqr-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 16px;
}

.esiqr-box .esiqr-submit {
	display: inline-block;
	padding: 12px 24px;
	border: 0;
	border-radius: var(--esiqr-radius);
	background: var(--esiqr-accent);
	color: var(--esiqr-accent-text);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	transition: filter .15s ease, transform .05s ease;
}

.esiqr-box .esiqr-submit:hover { filter: brightness(.94); }
.esiqr-box .esiqr-submit:active { transform: translateY(1px); }
.esiqr-box .esiqr-submit[disabled] { opacity: .6; cursor: default; }

.esiqr-spinner {
	width: 18px;
	height: 18px;
	border: 2px solid rgba(0, 0, 0, .15);
	border-top-color: var(--esiqr-accent);
	border-radius: 50%;
	animation: esiqr-spin .7s linear infinite;
}

@keyframes esiqr-spin { to { transform: rotate(360deg); } }

.esiqr-notice {
	margin-top: 14px;
	padding: 11px 14px;
	border-radius: var(--esiqr-radius);
	font-size: 14.5px;
	line-height: 1.45;
}

.esiqr-notice.is-success {
	background: #eaf7ee;
	border: 1px solid #b7e0c4;
	color: #17612f;
}

.esiqr-notice.is-error {
	background: #fdeceb;
	border: 1px solid #f3bfbd;
	color: #9c2b28;
}

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

.esiqr-box .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

@media (max-width: 600px) {
	.esiqr-box { padding: 16px; }
	.esiqr-col-2,
	.esiqr-col-4,
	.esiqr-col-6 { flex: 1 1 100%; }
}

/* Jab form product ke right column mein ho */
.esiqr-box.esiqr-in-column {
	margin: 22px 0 0;
	padding: 18px;
}
.esiqr-box.esiqr-in-column .esiqr-lead {
	font-size: 14.5px;
}
@media (max-width: 1100px) {
	.esiqr-box.esiqr-in-column .esiqr-col-4 { flex: 1 1 calc(60% - 6px); }
	.esiqr-box.esiqr-in-column .esiqr-col-2 { flex: 1 1 calc(40% - 6px); }
}

/* Captcha */
.esiqr-captcha-math {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 12px;
	font-size: 14.5px;
	color: #3d4452;
}
.esiqr-captcha-math strong {
	color: #1b2436;
	letter-spacing: .02em;
}
.esiqr-box .esiqr-captcha-math input[type="text"] {
	width: 80px;
	max-width: 80px;
	text-align: center;
	font-weight: 600;
}
.esiqr-captcha {
	margin-top: 12px;
	min-height: 0;
}
.esiqr-captcha-math .esiqr-error-text {
	flex-basis: 100%;
	margin-top: 0;
}

/* "I'm not a robot" checkbox */
.esiqr-box .esiqr-pow {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 12px;
	padding: 9px 14px 9px 10px;
	border: 1px solid #d6dbe3;
	border-radius: 8px;
	background: #f8f9fb;
	transition: border-color .2s ease, background .2s ease;
}
.esiqr-box .esiqr-pow-box {
	display: flex !important;
	align-items: center;
	gap: 12px;
	margin: 0 !important;
	padding: 4px !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #1b2436 !important;
	font: inherit;
	font-size: 15px !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	cursor: pointer;
	width: auto !important;
	min-height: 0 !important;
}
.esiqr-box .esiqr-pow-tick {
	position: relative;
	flex: 0 0 26px;
	width: 26px;
	height: 26px;
	border: 2px solid #b7bec9;
	border-radius: 5px;
	background: #fff;
	transition: border-color .15s ease, background .15s ease;
}
.esiqr-box .esiqr-pow-box:hover .esiqr-pow-tick {
	border-color: #7f8896;
}
.esiqr-box .esiqr-pow[data-state="working"] .esiqr-pow-tick {
	border-color: #dfe3ea;
	border-top-color: #1a73e8;
	border-radius: 50%;
	animation: esiqr-spin .7s linear infinite;
}
.esiqr-box .esiqr-pow[data-state="done"] {
	border-color: #b9e2c8;
	background: #f1faf4;
}
.esiqr-box .esiqr-pow[data-state="done"] .esiqr-pow-tick {
	border-color: #1a8f4a;
	background: #1a8f4a;
}
.esiqr-box .esiqr-pow[data-state="done"] .esiqr-pow-tick::after {
	content: "";
	position: absolute;
	left: 7px;
	top: 2px;
	width: 7px;
	height: 13px;
	border: solid #fff;
	border-width: 0 3px 3px 0;
	transform: rotate(45deg);
}
.esiqr-box .esiqr-pow[data-state="done"] .esiqr-pow-box {
	cursor: default;
	color: #17612f !important;
}
.esiqr-box .esiqr-pow[data-state="error"] {
	border-color: #f0b4b2;
	background: #fdf2f2;
}
.esiqr-box .esiqr-pow[data-state="error"] .esiqr-pow-tick {
	border-color: #d63638;
}
.esiqr-pow-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 11.5px;
	color: #8a929d;
	white-space: nowrap;
}
.esiqr-pow-badge svg {
	width: 15px;
	height: 15px;
	color: #9aa3b0;
}
.esiqr-pow.esiqr-shake {
	animation: esiqr-shake .4s ease;
	border-color: #d63638;
}
@keyframes esiqr-shake {
	0%, 100% { transform: translateX(0); }
	20%, 60% { transform: translateX(-6px); }
	40%, 80% { transform: translateX(6px); }
}
@media (max-width: 420px) {
	.esiqr-pow-badge span,
	.esiqr-pow-badge { font-size: 10.5px; }
}
