/* SMARTcube Feedback — frontend form v1.2
   Design system: #3D7D93, Poppins/Inter, 6px radius */

.scf-form-wrap {
	--scf-primary: #3D7D93;
	--scf-primary-hover: #326678;
	--scf-dark: #2E333C;
	--scf-muted: #5C6B74;
	--scf-border: #E3E7E9;
	--scf-light: #F7F7F7;
	--scf-soft: #E7EFF2;
	--scf-white: #FFFFFF;
	--scf-font: 'Inter', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	--scf-head: 'Poppins', 'Segoe UI', Arial, sans-serif;
	--scf-radius: 10px;
	--scf-radius-sm: 6px;

	max-width: 680px;
	margin: 0 auto;
	padding: 8px 0 40px;
	font-family: var(--scf-font);
	color: var(--scf-muted);
	font-size: 15px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

.scf-intro {
	background: linear-gradient(135deg, var(--scf-soft) 0%, var(--scf-light) 100%);
	border: 1px solid var(--scf-border);
	border-radius: var(--scf-radius);
	padding: 28px 28px 24px;
	margin-bottom: 28px;
}

.scf-intro-eyebrow {
	font-family: var(--scf-font);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--scf-primary);
	margin: 0 0 10px;
}

.scf-intro h2 {
	font-family: var(--scf-head);
	font-weight: 800;
	font-size: 1.5rem;
	line-height: 1.2;
	color: var(--scf-dark);
	margin: 0 0 14px;
}

.scf-intro p {
	margin: 0 0 10px;
	color: var(--scf-muted);
	font-size: 15px;
}

.scf-intro p:last-child { margin-bottom: 0; }

.scf-alert {
	padding: 16px 18px;
	border-radius: var(--scf-radius-sm);
	margin-bottom: 24px;
	font-size: 14px;
	line-height: 1.5;
}

.scf-alert strong {
	display: block;
	margin-bottom: 4px;
	font-weight: 700;
}

.scf-alert--success {
	background: #e8f5ef;
	border: 1px solid #b7dfc9;
	color: #1e5c3a;
}

.scf-alert--error {
	background: #fef2f2;
	border: 1px solid #f5c2c2;
	color: #8b1e1e;
}

.scf-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.scf-section {
	background: var(--scf-white);
	border: 1px solid var(--scf-border);
	border-radius: var(--scf-radius);
	padding: 24px 24px 22px;
	box-shadow: 0 1px 2px rgba(46, 51, 60, 0.04);
}

.scf-section-title {
	font-family: var(--scf-head);
	font-weight: 700;
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--scf-primary);
	margin: 0 0 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--scf-border);
}

.scf-fieldset {
	margin: 0;
	padding: 0;
	border: none;
	min-width: 0;
}

.scf-fieldset legend {
	font-family: var(--scf-head);
	font-weight: 700;
	font-size: 15px;
	color: var(--scf-dark);
	padding: 0;
	margin: 0 0 14px;
	line-height: 1.35;
	float: none;
	width: 100%;
}

.scf-options {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.scf-check,
.scf-radio {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	padding: 12px 14px;
	cursor: pointer;
	color: var(--scf-dark);
	font-size: 14px;
	line-height: 1.45;
	border: 1px solid var(--scf-border);
	border-radius: var(--scf-radius-sm);
	background: var(--scf-white);
	transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.scf-check:hover,
.scf-radio:hover {
	border-color: #c5d4da;
	background: var(--scf-light);
}

.scf-check.is-checked,
.scf-radio.is-checked {
	border-color: var(--scf-primary);
	background: rgba(61, 125, 147, 0.06);
	box-shadow: 0 0 0 1px var(--scf-primary);
}

.scf-check input,
.scf-radio input {
	margin: 2px 0 0;
	width: 18px;
	height: 18px;
	accent-color: var(--scf-primary);
	flex-shrink: 0;
	cursor: pointer;
}

.scf-check span,
.scf-radio span { flex: 1; }

.scf-check--other { flex-wrap: wrap; align-items: center; }

.scf-other-label {
	width: 100%;
	font-size: 13px;
	font-weight: 600;
	color: var(--scf-muted);
	margin-bottom: 2px;
}

.scf-other-input {
	width: 100%;
	margin-top: 4px;
	margin-left: 30px;
	max-width: calc(100% - 30px);
}

.scf-field { margin: 0; }

.scf-field label {
	display: block;
	font-family: var(--scf-head);
	font-weight: 700;
	font-size: 15px;
	color: var(--scf-dark);
	margin-bottom: 10px;
	line-height: 1.35;
}

.scf-field .scf-hint {
	display: block;
	font-family: var(--scf-font);
	font-weight: 400;
	font-size: 13px;
	color: var(--scf-muted);
	margin-top: 4px;
}

.scf-field textarea,
.scf-field input[type="email"],
.scf-field input[type="text"],
.scf-field select,
.scf-other-input {
	width: 100%;
	box-sizing: border-box;
	font-family: var(--scf-font);
	font-size: 15px;
	padding: 13px 16px;
	border: 1px solid var(--scf-border);
	border-radius: var(--scf-radius-sm);
	background: var(--scf-white);
	color: var(--scf-dark);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	appearance: none;
	-webkit-appearance: none;
}

.scf-field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235C6B74' d='M1.4 0L6 4.6 10.6 0 12 1.4 6 7.4 0 1.4z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 40px;
	cursor: pointer;
}

.scf-field textarea {
	resize: vertical;
	min-height: 96px;
	line-height: 1.55;
}

.scf-field textarea:focus,
.scf-field input:focus,
.scf-field select:focus,
.scf-other-input:focus {
	outline: none;
	border-color: var(--scf-primary);
	box-shadow: 0 0 0 3px rgba(61, 125, 147, 0.18);
}

.scf-field textarea::placeholder,
.scf-field input::placeholder { color: #9aa5ad; }

.scf-actions {
	margin-top: 8px;
	padding-top: 8px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
}

.scf-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 15px 32px;
	border: none;
	border-radius: var(--scf-radius-sm);
	background: var(--scf-primary);
	color: var(--scf-white);
	font-family: var(--scf-font);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
	box-shadow: 0 4px 14px rgba(61, 125, 147, 0.25);
}

.scf-submit:hover {
	background: var(--scf-primary-hover);
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(61, 125, 147, 0.3);
}

.scf-submit:active { transform: translateY(0); }

.scf-submit:disabled {
	opacity: 0.65;
	cursor: wait;
	transform: none;
	box-shadow: none;
}

.scf-privacy-note {
	font-size: 12px;
	color: var(--scf-muted);
	line-height: 1.45;
	max-width: 280px;
}

.scf-privacy-note a {
	color: var(--scf-primary);
	text-decoration: underline;
}

.scf-hp {
	position: absolute;
	left: -9999px;
	height: 0;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

.scf-mt { margin-top: 20px; }

@media (max-width: 640px) {
	.scf-form-wrap { padding: 0 0 32px; }
	.scf-intro { padding: 20px 18px; }
	.scf-intro h2 { font-size: 1.25rem; }
	.scf-section { padding: 18px 16px 16px; }
	.scf-check, .scf-radio { padding: 11px 12px; }
	.scf-other-input { margin-left: 0; max-width: 100%; }
	.scf-actions { flex-direction: column; align-items: stretch; }
	.scf-submit { width: 100%; }
	.scf-privacy-note { max-width: none; text-align: center; }
}
