/* Warehouse Quote Calculator - Frontend styles
   Theme: deep blue + light green (matches brand logo)
   All colors/spacing are exposed as CSS variables so the admin Colors
   settings, Elementor widget Style tab, and shortcode attributes can
   all override them. */

.wqc-wrap {
	/* Core */
	--wqc-primary: #163a5c;     /* deep blue */
	--wqc-accent: #a9cb3a;      /* light green */
	--wqc-text: #4a4a4a;
	--wqc-heading: #163a5c;
	--wqc-label: #163a5c;
	--wqc-radius: 8px;
	--wqc-font: inherit;

	/* Container */
	--wqc-container-bg: #ffffff;
	--wqc-container-border: #e3d9c8;

	/* Fields */
	--wqc-field-bg: #ffffff;
	--wqc-border: #e3d9c8;
	--wqc-input-text: #4a4a4a;

	/* Note bar */
	--wqc-note-bg: #fff7e6;
	--wqc-note-border: #f3e3bd;
	--wqc-note-text: #4a4a4a;
	--wqc-note-icon-bg: #163a5c;
	--wqc-note-icon-text: #ffffff;
	--wqc-note-btn-bg: #a9cb3a;
	--wqc-note-btn-text: #163a5c;
	--wqc-note-btn-border: #a9cb3a;

	/* Over-limit box */
	--wqc-limit-bg: #ffffff;
	--wqc-limit-border: #f3e3bd;
	--wqc-limit-text: #6fa838;

	/* Offer box */
	--wqc-bg: #fbf3e6;          /* offer background */
	--wqc-offer-title: #163a5c;
	--wqc-offer-label: #163a5c;
	--wqc-offer-value: #4a4a4a;
	--wqc-price: #a9cb3a;
	--wqc-currency: #163a5c;
	--wqc-disclaimer: #9a9a9a;

	/* Submit button */
	--wqc-button-bg: #a9cb3a;
	--wqc-button-text: #163a5c;

	font-family: var(--wqc-font);
	color: var(--wqc-text);
	width: 100%;
	max-width: 480px;
	margin: 0 auto;
	box-sizing: border-box;
	background: var(--wqc-container-bg);
	border: 1px solid var(--wqc-container-border);
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 4px 24px rgba(22, 58, 92, .08);
}

.wqc-wrap * {
	box-sizing: border-box;
}

/* Note bar */
.wqc-note {
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--wqc-note-bg);
	border: 1px solid var(--wqc-note-border);
	border-radius: var(--wqc-radius);
	padding: 10px 14px;
	font-size: 13px;
	color: var(--wqc-note-text);
	margin-bottom: 16px;
}

.wqc-note-icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--wqc-note-icon-bg);
	color: var(--wqc-note-icon-text);
	font-weight: 700;
	font-size: 12px;
}

.wqc-note-text {
	flex: 1 1 auto;
}

.wqc-note-btn {
	flex: 0 0 auto;
	background: var(--wqc-note-btn-bg);
	color: var(--wqc-note-btn-text);
	font-weight: 700;
	font-size: 12px;
	text-decoration: none;
	padding: 8px 14px;
	border: 2px solid var(--wqc-note-btn-border);
	border-radius: var(--wqc-radius);
	white-space: nowrap;
	transition: opacity .12s ease, background-color .12s ease, color .12s ease, border-color .12s ease;
}

.wqc-note-btn:hover {
	opacity: .85;
}

.wqc-heading {
	color: var(--wqc-heading);
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 16px;
}

/* Layout */
.wqc-row {
	display: flex;
	gap: 16px;
	margin-bottom: 14px;
}

.wqc-row-4 {
	margin-bottom: 14px;
}

.wqc-field {
	flex: 1 1 0;
	margin-bottom: 14px;
}

.wqc-row > .wqc-field,
.wqc-row-4 > .wqc-field {
	margin-bottom: 0;
}

.wqc-field label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	color: var(--wqc-label);
	text-transform: uppercase;
	letter-spacing: .03em;
	margin-bottom: 6px;
}

.wqc-required {
	color: #c0392b;
}

.wqc-input {
	width: 100%;
	display: block;
	padding: 10px 12px;
	font-size: 14px;
	color: var(--wqc-input-text);
	background: var(--wqc-field-bg);
	border: 1px solid var(--wqc-border);
	border-radius: var(--wqc-radius);
	line-height: 1.4;
}

textarea.wqc-input {
	min-height: 80px;
	resize: vertical;
}

.wqc-input:focus {
	outline: none;
	border-color: var(--wqc-primary);
	box-shadow: 0 0 0 2px rgba(22, 58, 92, .12);
}

.wqc-input-suffix {
	position: relative;
	display: flex;
	align-items: center;
}

.wqc-input-suffix input {
	padding-right: 36px;
}

.wqc-input-suffix span {
	position: absolute;
	right: 12px;
	font-size: 12px;
	color: #9a9a9a;
	pointer-events: none;
}

/* Method-specific blocks */
.wqc-method-block {
	display: none;
}

.wqc-method-block.is-active {
	display: block;
}

/* Preliminary offer */
.wqc-offer {
	background: var(--wqc-bg);
	border-radius: var(--wqc-radius);
	padding: 18px;
	margin: 8px 0 18px;
	border-top: 6px solid var(--wqc-accent);
}

.wqc-offer-title {
	font-weight: 700;
	font-size: 15px;
	color: var(--wqc-offer-title);
	margin-bottom: 12px;
}

.wqc-offer-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 0;
	border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.wqc-offer-row:last-of-type {
	border-bottom: none;
}

.wqc-offer-label {
	font-size: 12px;
	font-weight: 700;
	color: var(--wqc-offer-label);
	text-transform: uppercase;
	letter-spacing: .03em;
}

.wqc-offer-value {
	font-size: 14px;
	font-weight: 600;
	color: var(--wqc-offer-value);
	display: flex;
	align-items: center;
	gap: 8px;
}

.wqc-offer-value select {
	width: auto;
	min-width: 110px;
	padding: 6px 8px;
	font-size: 13px;
}

.wqc-offer-small {
	font-size: 11px;
	color: var(--wqc-disclaimer);
	margin-top: 8px;
	line-height: 1.5;
}

.wqc-offer-price {
	font-size: 30px;
	font-weight: 800;
	color: var(--wqc-price);
	margin: 16px 0 6px;
}

.wqc-currency {
	font-size: 16px;
	font-weight: 700;
	margin-right: 8px;
	color: var(--wqc-currency);
	vertical-align: middle;
}

.wqc-over-limit-box {
	margin-top: 16px;
	color: var(--wqc-limit-text);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
}

/* Contact section */
.wqc-contact .wqc-field label {
	color: var(--wqc-label);
	opacity: .65;
}

/* Submit button */
.wqc-submit-btn {
	display: block;
	width: 100%;
	padding: 14px 18px;
	background: var(--wqc-button-bg);
	color: var(--wqc-button-text);
	font-size: 15px;
	font-weight: 800;
	letter-spacing: .03em;
	text-transform: uppercase;
	border: 2px solid transparent;
	border-radius: var(--wqc-radius);
	cursor: pointer;
	transition: transform .12s ease, opacity .12s ease, box-shadow .12s ease, background-color .12s ease, border-color .12s ease, color .12s ease;
}

.wqc-submit-btn:hover {
	opacity: .9;
	box-shadow: 0 4px 14px rgba(22, 58, 92, .18);
}

.wqc-submit-btn:disabled {
	opacity: .6;
	cursor: not-allowed;
}

.wqc-message {
	margin-top: 12px;
	font-size: 13px;
	font-weight: 600;
	min-height: 1em;
}

.wqc-message.is-success {
	color: #2e7d32;
}

.wqc-message.is-error {
	color: #c0392b;
}

/* Responsive */
@media (max-width: 480px) {
	.wqc-row,
	.wqc-row-4 {
		flex-direction: column;
		gap: 14px;
	}

	.wqc-offer-price {
		font-size: 24px;
	}
}
