/* LGPD Easy Forms - Front-end Public Styles */
.lef-form-wrapper {
	max-width: 680px;
	margin: 24px auto;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 28px;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: #1e293b;
	box-sizing: border-box;
}

.lef-form-wrapper * {
	box-sizing: border-box;
}

.lef-form-header {
	margin-bottom: 22px;
}

.lef-form-title {
	margin: 0 0 6px;
	font-size: 22px;
	font-weight: 700;
	color: #0f172a;
}

.lef-form-description {
	margin: 0;
	font-size: 14.5px;
	color: #475569;
	line-height: 1.5;
}

.lef-fields-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.lef-field-group {
	display: flex;
	flex-direction: column;
}

.lef-col-100 {
	width: 100%;
}

.lef-col-50 {
	width: calc(50% - 8px);
}

@media (max-width: 600px) {
	.lef-col-50 {
		width: 100%;
	}
}

.lef-label {
	font-size: 14px;
	font-weight: 600;
	color: #1e293b;
	margin-bottom: 6px;
}

.lef-req {
	color: #dc2626;
	margin-left: 2px;
}

.lef-input {
	width: 100%;
	padding: 10px 13px;
	font-size: 14.5px;
	color: #0f172a;
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.lef-input:focus {
	outline: none;
	background: #ffffff;
	border-color: #0284c7;
	box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.lef-choices-wrap {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-top: 4px;
}

.lef-choice-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	cursor: pointer;
}

/* LGPD Consent Box */
.lef-lgpd-consent-box {
	margin-top: 22px;
	padding: 16px 18px;
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	border-left: 4px solid #0284c7;
	border-radius: 8px;
}

.lef-lgpd-purpose-bar {
	font-size: 12.5px;
	color: #334155;
	margin-bottom: 10px;
	padding-bottom: 8px;
	border-bottom: 1px solid #e2e8f0;
	line-height: 1.45;
}

.lef-legal-tag {
	display: inline-block;
	background: #e0f2fe;
	color: #0369a1;
	font-size: 11px;
	font-weight: 600;
	padding: 2px 7px;
	border-radius: 4px;
	margin-left: 6px;
}

.lef-consent-checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13.5px;
	line-height: 1.5;
	color: #0f172a;
	cursor: pointer;
}

.lef-consent-checkbox-label input[type="checkbox"] {
	margin-top: 3px;
	width: 17px;
	height: 17px;
	flex-shrink: 0;
}

.lef-consent-checkbox-label a {
	color: #0284c7;
	text-decoration: underline;
	font-weight: 600;
}

.lef-dpo-micro {
	margin-top: 10px;
	font-size: 11.5px;
	color: #64748b;
}

/* Submit & Security Badge */
.lef-form-actions {
	margin-top: 20px;
}

.lef-submit-btn {
	width: 100%;
	padding: 13px 20px;
	background: #0284c7;
	color: #ffffff;
	font-size: 15.5px;
	font-weight: 600;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.2s, transform 0.1s;
}

.lef-submit-btn:hover {
	background: #0369a1;
}

.lef-submit-btn:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

.lef-security-badge {
	margin-top: 14px;
	text-align: center;
	font-size: 12px;
	color: #475569;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	padding: 7px 12px;
	border-radius: 6px;
}

.lef-form-feedback {
	margin-top: 16px;
	padding: 14px 16px;
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.5;
}

.lef-feedback-success {
	background: #f0fdf4;
	border: 1px solid #86efac;
	color: #166534;
}

.lef-feedback-error {
	background: #fef2f2;
	border: 1px solid #fca5a5;
	color: #991b1b;
}

.lef-receipt-code {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	font-family: monospace;
	color: #15803d;
}
