/**
 * MSDB Powersports Leads Frontend Form Stylesheet
 *
 * @package MSDB_Powersports_Leads
 * @author  MS Digital Branding
 */

.msdb-lead-card-box {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 2rem;
	margin: 1.5rem 0;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
	position: relative;
}

.msdb-form-header {
	margin-bottom: 1.5rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid #f1f5f9;
}

.msdb-form-eyebrow {
	font-size: 0.72rem;
	font-weight: 800;
	color: #e11d48;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	display: block;
	margin-bottom: 0.35rem;
}

.msdb-form-title {
	font-size: 1.45rem;
	font-weight: 900;
	color: #0f172a;
	text-transform: uppercase;
	margin: 0 0 0.4rem 0;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.msdb-form-desc {
	font-size: 0.88rem;
	color: #64748b;
	margin: 0;
	line-height: 1.5;
}

.msdb-vehicle-interest-badge {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-left: 4px solid #0ea5e9;
	padding: 0.75rem 1rem;
	margin-bottom: 1.5rem;
	border-radius: 0 8px 8px 0;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
	font-size: 0.85rem;
	color: #475569;
}

.msdb-vehicle-interest-badge .badge-label {
	color: #64748b;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 0.75rem;
}

.msdb-vehicle-interest-badge .badge-title {
	color: #0f172a;
	font-weight: 800;
}

.msdb-vehicle-interest-badge .badge-price {
	color: #10b981;
	font-weight: 800;
}

.form-section-title {
	font-size: 0.82rem;
	font-weight: 800;
	color: #0ea5e9;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin: 1.25rem 0 0.85rem 0;
	padding-bottom: 0.35rem;
	border-bottom: 1px dashed #1e293b;
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-bottom: 1rem;
}

@media (max-width: 640px) {
	.form-row {
		grid-template-columns: 1fr;
		gap: 0.75rem;
	}
}

.form-group {
	margin-bottom: 1rem;
}

.form-group label {
	display: block;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	color: #475569;
	margin-bottom: 0.4rem;
	letter-spacing: 0.03em;
}

.form-input {
	width: 100%;
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	padding: 0.65rem 0.85rem;
	color: #0f172a;
	font-size: 0.85rem;
	transition: all 0.2s ease;
	box-sizing: border-box;
}

.form-input:focus {
	outline: none;
	border-color: #e11d48;
	box-shadow: 0 0 0 2px rgba(225, 29, 72, 0.25);
}

/* File Upload Box */
.msdb-file-upload-group {
	margin: 1.25rem 0;
}

.file-upload-box {
	position: relative;
	background: #f8fafc;
	border: 2px dashed #cbd5e1;
	border-radius: 8px;
	padding: 1.5rem 1rem;
	text-align: center;
	transition: all 0.2s;
	cursor: pointer;
}

.file-upload-box:hover,
.file-upload-box.has-files {
	border-color: #0ea5e9;
	background: rgba(14, 165, 233, 0.03);
}

.msdb-file-input {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
	z-index: 5;
}

.file-upload-desc {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
	pointer-events: none;
}

.upload-icon {
	font-size: 1.8rem;
}

.upload-text {
	font-size: 0.85rem;
	font-weight: 700;
	color: #1e293b;
}

.upload-formats {
	font-size: 0.72rem;
	color: #64748b;
}

.files-preview-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
	margin-top: 0.85rem;
	position: relative;
	z-index: 6;
}

.file-tag {
	background: #1e293b;
	border: 1px solid #38bdf8;
	color: #38bdf8;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 4px;
}

/* Consent Group */
.msdb-consent-group {
	margin: 1.25rem 0;
	padding: 0.75rem 0;
	border-top: 1px solid #161f30;
}

.msdb-consent-checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	cursor: pointer;
	user-select: none;
}

.msdb-consent-checkbox-label input[type="checkbox"] {
	accent-color: #e11d48;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	flex-shrink: 0;
}

.consent-text {
	font-size: 0.78rem;
	color: #64748b;
	line-height: 1.45;
}

/* Submit Button */
.btn-submit-lead { color: #ffffff !important;

	background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
	color: #0f172a;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 0.85rem 1.5rem;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.2s ease;
	width: 100%;
	font-size: 0.9rem;
	box-shadow: 0 4px 15px rgba(225, 29, 72, 0.4);
}

.btn-submit-lead:hover {
	background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(225, 29, 72, 0.6);
}

.btn-submit-lead.loading {
	opacity: 0.75;
	cursor: not-allowed;
}

/* Form Feedback Response */
.msdb-form-response {
	margin-top: 1.25rem;
	border-radius: 8px;
	overflow: hidden;
}

.response-inner {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem 1.25rem;
}

.msdb-form-response.success {
	background: rgba(16, 185, 129, 0.15);
	border: 1px solid #10b981;
	color: #34d399;
}

.msdb-form-response.error {
	background: rgba(239, 68, 68, 0.15);
	border: 1px solid #ef4444;
	color: #f87171;
}

.res-icon {
	font-size: 1.25rem;
	font-weight: 900;
}

.res-text {
	font-size: 0.85rem;
	font-weight: 700;
	line-height: 1.4;
}

/* ==========================================================================
   RESPONSIVE FORM BREAKPOINTS (< 480px, < 375px)
   ========================================================================== */
@media (max-width: 480px) {
	.msdb-lead-card-box {
		padding: 1.25rem 1rem;
		border-radius: 8px;
		margin: 1rem 0;
	}
	.msdb-form-title {
		font-size: 1.25rem;
	}
	.msdb-form-desc {
		font-size: 0.8125rem;
	}
	.btn-submit-lead { color: #ffffff !important;

		padding: 0.75rem 1rem;
		font-size: 0.85rem;
	}
}

@media (max-width: 375px) {
	.msdb-lead-card-box {
		padding: 1rem 0.75rem;
	}
	.msdb-form-title {
		font-size: 1.15rem;
	}
	.consent-text {
		font-size: 0.72rem;
	}
}

