/* Card Restorers Quotes — front-end styles */

.crq-wrap {
	max-width: 860px;
	margin: 0 auto;
	background: #111827;
	color: #e0b15a;
	border-radius: 12px;
	padding: 24px;
	font-family: Geist, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.crq-form__title,
.crq-step__title {
	color: #e0b15a;
	margin: 0 0 8px;
	font-family: "IBM Plex Serif", serif;
	font-weight: 500;
}

.crq-form__title {
	font-size: 1.5em;
	margin-bottom: 18px;
	border-bottom: 1px solid rgba(224, 177, 90, 0.35);
	padding-bottom: 12px;
}

.crq-step {
	margin-bottom: 22px;
}

.crq-step__hint {
	color: rgba(255, 255, 255, 0.7);
	font-size: 13px;
	margin: 0 0 14px;
}

.crq-card-row {
	display: flex;
	gap: 12px;
	align-items: flex-end;
	margin-bottom: 10px;
}

.crq-card-row .crq-field {
	flex: 1;
}

.crq-field {
	margin-bottom: 14px;
}

.crq-field__label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #e0b15a;
	margin-bottom: 5px;
}

.crq-field__label small {
	font-weight: 400;
	color: rgba(255, 255, 255, 0.55);
}

.crq-required {
	color: #ef4444;
	font-weight: 700;
	margin-left: 2px;
}

.crq-field input[type="text"],
.crq-field input[type="number"],
.crq-field select,
.crq-field textarea {
	width: 100%;
	background: #fff;
	color: #111827;
	border: 1px solid #ccc;
	border-radius: 6px;
	padding: 9px 11px;
	font-size: 14px;
	box-sizing: border-box;
}

.crq-field textarea {
	resize: vertical;
}

.crq-grid {
	display: flex;
	gap: 14px;
}

.crq-grid--2 > .crq-field {
	flex: 1;
}

.crq-drop {
	border: 2px dashed #d1d5db;
	border-radius: 8px;
	background: #1f2937;
	padding: 22px 16px;
	text-align: center;
	cursor: pointer;
	position: relative;
	transition: border-color 0.2s, background 0.2s;
}

.crq-drop--over {
	border-color: #e0b15a;
	background: #2a2f3a;
}

.crq-drop p {
	margin: 0;
	color: rgba(255, 255, 255, 0.75);
	font-size: 14px;
}

.crq-drop input[type="file"] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}

.crq-previews {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 12px;
}

.crq-thumb {
	position: relative;
	width: 96px;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
}

.crq-thumb img {
	width: 96px;
	height: 72px;
	object-fit: cover;
	display: block;
}

.crq-thumb span {
	display: block;
	font-size: 10px;
	color: #111827;
	padding: 3px 6px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.crq-thumb__remove {
	position: absolute;
	top: 3px;
	right: 3px;
	width: 20px;
	height: 20px;
	line-height: 18px;
	padding: 0;
	border-radius: 50%;
	background: #111827;
	color: #fff;
	border: none;
	cursor: pointer;
	font-size: 14px;
}

.crq-button {
	background: #e0b15a;
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 10px 16px;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
	font-family: "IBM Plex Serif", sans-serif;
	transition: opacity 0.15s, background 0.15s;
}

.crq-button:hover,
.crq-button:focus {
	background: #ebb95d;
	color: #fff;
	text-decoration: none;
}

.crq-button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.crq-button--primary {
	background: #e0b15a;
}

.crq-button--ghost {
	background: transparent;
	color: #e0b15a;
	border: 1px solid rgba(224, 177, 90, 0.5);
}

.crq-button--ghost:hover,
.crq-button--ghost:focus {
	background: rgba(224, 177, 90, 0.12);
	color: #e0b15a;
	border-color: rgba(224, 177, 90, 0.8);
}

.crq-button--remove {
	background: transparent;
	color: #ef4444;
	border: 1px solid rgba(239, 68, 68, 0.4);
	padding: 8px 12px;
	line-height: 1;
	font-size: 16px;
}

.crq-button--remove:hover,
.crq-button--remove:focus {
	background: rgba(239, 68, 68, 0.12);
	color: #ef4444;
	border-color: rgba(239, 68, 68, 0.8);
}

.crq-progress {
	display: flex;
	gap: 10px;
	align-items: center;
	margin-top: 8px;
}

.crq-status {
	min-height: 18px;
	font-size: 13px;
	margin: 12px 0 0;
}

.crq-status--error {
	color: #f87171;
}

.crq-status--success {
	color: #4ade80;
}

.crq-status--info {
	color: #93c5fd;
}

/* Shortlist */

.crq-shortlist {
	margin: 6px 0 16px;
}

.crq-vendor {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	background: #f3f0ea;
	color: #111827;
	border-radius: 10px;
	padding: 12px 14px;
	margin-bottom: 10px;
	cursor: pointer;
	border: 1px solid transparent;
}

.crq-vendor:has(.crq-vendor__check:checked) {
	border-color: #e0b15a;
}

.crq-vendor__check {
	margin-top: 4px;
	width: 18px;
	height: 18px;
	accent-color: #e0b15a;
	flex: 0 0 auto;
}

.crq-vendor__info {
	display: flex;
	gap: 12px;
	flex: 1;
	min-width: 0;
}

.crq-vendor__avatar {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	object-fit: cover;
	flex: 0 0 auto;
	background: #ddd;
}

.crq-vendor__name {
	font-weight: 700;
	font-size: 15px;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
}

.crq-vendor__name-text {
	vertical-align: middle;
}

.crq-trust-badge {
	display: inline-block;
	border-radius: 20px;
	padding: 2px 8px;
	font-size: 0.62em;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	vertical-align: middle;
	line-height: 1.4;
}

.crq-founding-badge {
	display: inline-flex;
	align-items: center;
	vertical-align: middle;
	line-height: 1;
}

.crq-founding-badge--icon img {
	width: 22px;
	height: auto;
	display: block;
}

.crq-founding-badge--text {
	background: #e0b15a;
	color: #111827;
	border-radius: 20px;
	padding: 2px 8px;
	font-size: 0.62em;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.crq-pro-vendor-badge {
	display: inline-flex;
	align-items: center;
	vertical-align: middle;
	line-height: 1;
}

.crq-pro-vendor-badge--icon img {
	width: 22px;
	height: auto;
	display: block;
}

.crq-pro-vendor-badge--text {
	background: #111827;
	color: #e0b15a;
	border-radius: 20px;
	padding: 2px 8px;
	font-size: 0.62em;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.crq-vendor__meta {
	font-size: 13px;
	color: rgba(17, 24, 39, 0.75);
	margin-top: 2px;
}

.crq-vendor__cats {
	font-size: 12px;
	color: rgba(17, 24, 39, 0.6);
	margin-top: 2px;
}

.crq-vendor__reasons {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 8px;
}

.crq-badge {
	background: #e0b15a;
	color: #111827;
	font-size: 11px;
	font-weight: 600;
	padding: 3px 8px;
	border-radius: 999px;
}

.crq-none {
	color: rgba(255, 255, 255, 0.8);
	background: #1f2937;
	border: 1px dashed #d1d5db;
	border-radius: 8px;
	padding: 14px;
}

/* Guest CTA */

.crq-guest {
	text-align: center;
	padding: 30px 20px;
	background: #1f2937;
	border-radius: 12px;
}

.crq-guest__title {
	color: #e0b15a;
	font-family: "IBM Plex Serif", serif;
	margin: 0 0 10px;
}

.crq-guest__text {
	color: rgba(255, 255, 255, 0.75);
	max-width: 560px;
	margin: 0 auto 18px;
}

.crq-guest__register {
	color: rgba(255, 255, 255, 0.7);
	margin: 12px 0 0;
	font-size: 13px;
}

.crq-guest__register a {
	color: #e0b15a;
}

.crq-guest__register a:hover,
.crq-guest__register a:focus {
	color: #fff;
	text-decoration: none;
}

@media (max-width: 768px) {
	.crq-card-row {
		flex-direction: column;
		align-items: stretch;
	}
	.crq-grid--2 {
		flex-direction: column;
	}

	/* Vendor cards: stack vertically so nothing overlaps on small screens */
	.crq-vendor {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}

	.crq-vendor__check {
		margin-top: 0;
	}

	.crq-vendor__info {
		align-items: flex-start;
		gap: 10px;
	}

	.crq-vendor__avatar {
		width: 46px;
		height: 46px;
	}

	.crq-vendor__name {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
	}

	.crq-vendor__name-text,
	.crq-trust-badge,
	.crq-founding-badge,
	.crq-pro-vendor-badge {
		vertical-align: middle;
	}

	.crq-vendor__reasons {
		width: 100%;
	}
}
