/* MCC Jingle Form ---------------------------------------------------- */
.mjf-wrap {
	max-width: 580px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.mjf-card {
	background: #fff;
	border-radius: 8px;
	padding: 32px 28px;
}

.mjf-title {
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 6px;
	color: #111;
}

.mjf-subtitle {
	font-size: 13px;
	color: #555;
	margin: 0 0 24px;
}

/* Alert */
.mjf-alert {
	padding: 12px 16px;
	border-radius: 6px;
	margin-bottom: 18px;
	font-size: 14px;
}
.mjf-alert--error {
	background: #fef2f2;
	border: 1px solid #fca5a5;
	color: #b91c1c;
}

/* Fields */
.mjf-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.mjf-field {
	margin-bottom: 20px;
}

.mjf-field > label:first-child,
.mjf-field > label.mjf-checkbox > span,
.mjf-field > .mjf-radios {
	display: block;
}

.mjf-field > label:first-child {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	color: #222;
	margin-bottom: 8px;
}

.mjf-req {
	color: #111;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	font-size: 14px;
	color: #111;
	box-sizing: border-box;
	outline: none;
	transition: border-color .15s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus {
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}

/* Radio */
.mjf-radios {
	display: flex;
	gap: 24px;
}

.mjf-radio {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .04em;
	color: #222;
}

.mjf-radio input[type="radio"] {
	width: 16px;
	height: 16px;
	accent-color: #2563eb;
	cursor: pointer;
}

/* File drop */
.mjf-file-drop {
	position: relative;
	border: 2px dashed #d1d5db;
	border-radius: 8px;
	padding: 32px 20px;
	text-align: center;
	cursor: pointer;
	transition: border-color .15s, background .15s;
}

.mjf-file-drop:hover,
.mjf-file-drop.is-over {
	border-color: #2563eb;
	background: #eff6ff;
}

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

.mjf-file-icon {
	color: #9ca3af;
	margin-bottom: 8px;
}

.mjf-file-label {
	font-size: 14px;
	font-weight: 600;
	color: #374151;
	margin: 0 0 4px;
}

.mjf-file-hint {
	font-size: 12px;
	color: #9ca3af;
	margin: 0;
}

.mjf-progress {
	margin-top: 14px;
	position: relative;
}

.mjf-progress-bar-track {
	background: #e5e7eb;
	border-radius: 99px;
	height: 6px;
	overflow: hidden;
}

.mjf-progress {
	background: #e5e7eb;
	border-radius: 99px;
	height: 6px;
	overflow: visible;
	margin-top: 14px;
}

.mjf-progress-bar {
	height: 100%;
	background: #2563eb;
	border-radius: 99px;
	width: 0%;
	transition: width .2s ease;
}

.mjf-progress-pct {
	display: block;
	text-align: right;
	font-size: 11px;
	color: #6b7280;
	margin-top: 4px;
}

/* Terms */
.mjf-field--terms label.mjf-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
}

.mjf-field--terms input[type="checkbox"] {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	margin-top: 2px;
	accent-color: #2563eb;
	cursor: pointer;
}

.mjf-field--terms span {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .04em;
	color: #374151;
	line-height: 1.6;
}

.mjf-field--terms a {
	color: #2563eb;
	text-decoration: none;
}

.mjf-field--terms a:hover {
	text-decoration: underline;
}

/* Submit button */
.mjf-submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 14px;
	background: #2563eb;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background .15s, opacity .15s;
	margin-top: 8px;
}

.mjf-submit:hover {
	background: #1d4ed8;
}

.mjf-submit:disabled {
	opacity: .65;
	cursor: not-allowed;
}

.mjf-submit .mjf-spinner {
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255,255,255,.4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: mjf-spin .7s linear infinite;
}

@keyframes mjf-spin {
	to { transform: rotate(360deg); }
}

/* Success */
.mjf-success {
	text-align: center;
	padding: 48px 28px;
}

.mjf-success-icon {
	margin-bottom: 20px;
}

.mjf-success h2 {
	font-size: 22px;
	font-weight: 700;
	color: #111;
	margin: 0 0 12px;
}

.mjf-success p {
	font-size: 14px;
	color: #555;
	max-width: 380px;
	margin: 0 auto;
	line-height: 1.6;
}

@media (max-width: 480px) {
	.mjf-row {
		grid-template-columns: 1fr;
	}
	.mjf-card {
		padding: 24px 16px;
	}
}
