.mci-quote-form {
	display: flex;
	flex-direction: column;
	gap: .875rem;
}
.mci-quote-form-grid {
	display: grid;
	gap: 1rem;
}
.mci-quote-form-grid.mb-4 {
	margin-bottom: 0;
}

.mci-prose .wpcf7-form .mci-quote-form > p {
	font-size: .9375rem;
	line-height: 1.5;
	margin: 0;
}

.mci-quote-form-grid > p {
	display: grid;
	gap: 1rem;
	margin: 0;
	min-width: 0;
}

.mci-quote-form-grid label {
	display: block;
	min-width: 0;
}

.mci-quote-form-grid > p > br {
	display: none;
}

.mci-quote-required {
	color: #c62828;
	display: inline-block;
	font-size: 1em;
	font-weight: 700;
	line-height: 1;
	margin-left: .25rem;
	vertical-align: .05em;
}

.mci-quote-upload {
	display: block;
	margin-top: .5rem;
}

.mci-quote-dropzone {
	align-items: center;
	background: #ffffff;
	border: 2px dashed #79b6dc;
	border-radius: .75rem;
	display: flex;
	flex-direction: column;
	gap: .45rem;
	justify-content: center;
	min-height: 15rem;
	padding: 2rem 1.5rem;
	position: relative;
	text-align: center;
	transition: background-color .2s, border-color .2s, box-shadow .2s;
}

.mci-quote-dropzone:focus-within,
.mci-quote-dropzone:hover {
	background: #eef7fc;
	border-color: #005a9c;
	box-shadow: 0 0 0 3px rgba(0, 90, 156, .12);
}

.mci-quote-upload-icon {
	fill: none;
	height: 2.5rem;
	margin-bottom: .35rem;
	stroke: #005a9c;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.75;
	width: 2.5rem;
}

.mci-quote-dropzone-title {
	color: #061f38;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.4;
}

.mci-quote-dropzone-copy {
	color: #27445f;
	font-size: .8125rem;
	line-height: 1.4;
	margin-bottom: .45rem;
}

.mci-quote-browse {
	background: #005a9c;
	border-radius: .5rem;
	color: #ffffff;
	display: inline-flex;
	font-size: .875rem;
	font-weight: 700;
	justify-content: center;
	line-height: 1.25;
	padding: .7rem 1.2rem;
	pointer-events: none;
}

.mci-quote-selection-status {
	color: #52697d;
	font-size: .75rem;
	line-height: 1.4;
	margin-top: .1rem;
}

.mci-quote-file-input {
	appearance: none;
	cursor: pointer;
	height: 100%;
	inset: 0;
	opacity: 0;
	position: absolute;
	width: 100%;
}

.mci-quote-file-list {
	display: grid;
	gap: .5rem;
	margin-top: .65rem;
}

.mci-quote-file-item {
	align-items: center;
	background: #ffffff;
	border: 1px solid #d9e7f0;
	border-radius: .5rem;
	color: #061f38;
	display: flex;
	font-size: .8125rem;
	gap: .75rem;
	justify-content: space-between;
	min-width: 0;
	padding: .6rem .75rem;
}

.mci-quote-file-name {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mci-quote-file-size {
	color: #52697d;
	flex: 0 0 auto;
	font-size: .75rem;
}

.mci-quote-file-remove {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 999px;
	color: #52697d;
	cursor: pointer;
	display: inline-flex;
	flex: 0 0 auto;
	font: inherit;
	font-size: 1.25rem;
	font-weight: 700;
	height: 2rem;
	justify-content: center;
	line-height: 1;
	padding: 0;
	transition: background-color .2s, color .2s;
	width: 2rem;
}

.mci-quote-file-remove:hover {
	background: #fbe9e7;
	color: #c62828;
}

.mci-quote-file-remove:focus-visible {
	outline: 3px solid rgba(0, 90, 156, .25);
	outline-offset: 1px;
}

.mci-quote-upload.is-processing .mci-quote-dropzone {
	background: #f3f6f8;
	border-color: #9aabb8;
	box-shadow: none;
}

.mci-quote-upload.is-processing .mci-quote-browse {
	background: #6b7f8f;
}

.mci-quote-form > p:has(.wpcf7-acceptance) {
	color: #27445f;
}

.mci-quote-form .wpcf7-acceptance .wpcf7-list-item {
	display: block;
}

.mci-quote-form .wpcf7-acceptance label {
	align-items: flex-start;
	display: flex;
	gap: .625rem;
}

.mci-quote-form .wpcf7-acceptance input[type="checkbox"] {
	flex: 0 0 auto;
	height: 1rem;
	margin: .2rem 0 0;
	width: 1rem;
}

.mci-quote-form .wpcf7-turnstile {
	margin: 0;
}

.mci-prose .wpcf7-form .mci-quote-form > p:has(.wpcf7-submit) .wpcf7-submit {
	appearance: none;
	border: 0;
	border-radius: .5rem;
	box-sizing: border-box;
	cursor: pointer;
	font: inherit;
	font-size: .9375rem;
	font-weight: 700;
	line-height: 1.25;
	min-height: 2.75rem;
	padding: .7rem 1.25rem;
}

.mci-prose .wpcf7-form .mci-quote-form > p:has(.wpcf7-submit) .wpcf7-submit:not(:disabled) {
	background: var(--mci-gold, #f6c453);
	color: var(--mci-ink, #061f38);
}

.mci-prose .wpcf7-form .mci-quote-form > p:has(.wpcf7-submit) .wpcf7-submit:not(:disabled):hover {
	background: var(--mci-gold-hover, #d8ad47);
}

.mci-prose .wpcf7-form .mci-quote-form .wpcf7-submit:disabled {
	background: #d1d5db;
	box-shadow: none;
	color: #4b5563;
	cursor: not-allowed;
	opacity: 1;
	transform: none;
}

@media (min-width: 640px) {
	.mci-quote-form-grid,
	.mci-quote-form-grid > p {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mci-quote-form-grid > p {
		grid-column: 1 / -1;
	}

	.mci-quote-file-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}