/* ============================================================
   Quotewyze — Supplier-facing magic-link form
   Lives on whatever public page the host wired the
   [quotewyze_supplier_form] shortcode onto.
   ============================================================ */

.qw-supplier-form,
.qw-supplier-form * {
	box-sizing: border-box;
}

.qw-supplier-form {
	max-width: 640px;
	margin: 48px auto;
	padding: 32px 28px 36px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 16px 32px rgba(15, 23, 42, 0.06);
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	color: #0f172a;
	line-height: 1.55;
}

@media (max-width: 600px) {
	.qw-supplier-form {
		margin: 16px;
		padding: 24px 18px 28px;
	}
}

.qw-supplier-form__head {
	margin-bottom: 22px;
}

.qw-supplier-form__kicker {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #0ea5e9;
	margin: 0 0 10px;
}

.qw-supplier-form__title {
	font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #0f172a;
	line-height: 1.2;
	margin: 0 0 10px;
}

@media (min-width: 601px) {
	.qw-supplier-form__title {
		font-size: 28px;
	}
}

.qw-supplier-form__lead {
	font-size: 15px;
	color: #475569;
	margin: 0;
}

.qw-supplier-form__ask {
	margin: 0 0 24px;
	padding: 16px 18px;
	background: #f0f9ff;
	border: 1px solid #bae6fd;
	border-radius: 10px;
}

.qw-supplier-form__ask-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #0369a1;
	margin: 0 0 8px;
}

.qw-supplier-form__ask-text {
	margin: 0;
	padding: 0;
	font-size: 15px;
	color: #0c4a6e;
	font-style: italic;
	line-height: 1.5;
}

.qw-supplier-form__form {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.qw-supplier-form__upload {
	display: flex;
	flex-direction: column;
	gap: 6px;
	background: linear-gradient(180deg, rgba(14, 165, 233, 0.08) 0%, rgba(14, 165, 233, 0) 100%);
	border: 2px dashed #7dd3fc;
	border-radius: 12px;
	padding: 18px 18px 22px;
}

.qw-supplier-form__file {
	width: 100%;
	font: inherit;
	font-size: 14px;
	padding: 10px 12px;
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	cursor: pointer;
	margin-top: 4px;
}

.qw-supplier-form__file::file-selector-button {
	background: #0ea5e9;
	color: #fff;
	border: none;
	padding: 8px 14px;
	border-radius: 6px;
	font-weight: 700;
	font-size: 13px;
	cursor: pointer;
	margin-right: 12px;
}

.qw-supplier-form__divider {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #94a3b8;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin: 4px 0;
}

.qw-supplier-form__divider::before,
.qw-supplier-form__divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: #e2e8f0;
}

.qw-supplier-form__field {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.qw-supplier-form__label {
	font-size: 14px;
	font-weight: 700;
	color: #0f172a;
}

.qw-supplier-form__hint {
	font-size: 13px;
	color: #64748b;
	line-height: 1.45;
}

.qw-supplier-form__field input[type="text"],
.qw-supplier-form__field textarea {
	width: 100%;
	max-width: 100%;
	margin-top: 6px;
	padding: 12px 14px;
	font: inherit;
	font-size: 15px;
	color: #0f172a;
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	font-family: inherit;
}

.qw-supplier-form__field textarea {
	resize: vertical;
	min-height: 96px;
	line-height: 1.55;
}

.qw-supplier-form__field input:focus,
.qw-supplier-form__field textarea:focus {
	outline: none;
	border-color: #0ea5e9;
	box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.18);
}

.qw-supplier-form__submit {
	margin-top: 8px;
}

.qw-supplier-form__btn {
	display: inline-block;
	width: 100%;
	padding: 14px 22px;
	background: #0ea5e9;
	color: #ffffff;
	border: none;
	border-radius: 10px;
	font: inherit;
	font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
	box-shadow: 0 8px 22px rgba(14, 165, 233, 0.35);
}

.qw-supplier-form__btn:hover {
	background: #0284c7;
	transform: translateY(-1px);
	box-shadow: 0 12px 28px rgba(14, 165, 233, 0.4);
}

.qw-supplier-form__btn:active {
	transform: translateY(0);
}

.qw-supplier-form__footnote {
	margin: 16px 0 0;
	font-size: 13px;
	color: #94a3b8;
	text-align: center;
	line-height: 1.5;
}

/* Thank-you + invalid states */
.qw-supplier-form--thanks,
.qw-supplier-form--invalid {
	text-align: center;
}

.qw-supplier-form__thanks-mark {
	color: #0ea5e9;
	margin: 0 auto 18px;
	width: 80px;
	height: 80px;
	background: rgba(14, 165, 233, 0.12);
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 24px rgba(14, 165, 233, 0.25);
}

.qw-supplier-form--thanks .qw-supplier-form__lead,
.qw-supplier-form--invalid .qw-supplier-form__lead {
	max-width: 440px;
	margin: 12px auto 0;
}
