/* =========================================================
   Len Contact Requests Manager — Frontend Form Styles
   ========================================================= */

.lcrm-form-wrap {
	max-width: 600px;
	margin: 0 auto;
	font-family: inherit;
}

.lcrm-form {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.lcrm-form__group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.lcrm-form__label {
	font-weight: 600;
	font-size: 14px;
	color: #1a1a1a;
}

.lcrm-form__label .lcrm-required {
	color: #e53e3e;
	margin-left: 2px;
}

.lcrm-form__label .lcrm-optional {
	font-weight: 400;
	color: #6b7280;
	font-size: 12px;
	margin-left: 4px;
}

.lcrm-form__input,
.lcrm-form__textarea {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	font-size: 15px;
	font-family: inherit;
	color: #1a1a1a;
	background: #fff;
	transition: border-color 0.2s, box-shadow 0.2s;
	box-sizing: border-box;
}

.lcrm-form__input:focus,
.lcrm-form__textarea:focus {
	outline: none;
	border-color: #1E7F6B;
	box-shadow: 0 0 0 3px rgba(30, 127, 107, 0.15);
}

.lcrm-form__input.lcrm-error,
.lcrm-form__textarea.lcrm-error {
	border-color: #e53e3e;
}

.lcrm-form__textarea {
	min-height: 130px;
	resize: vertical;
}

.lcrm-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 28px;
	background: #1E7F6B;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s;
	font-family: inherit;
	align-self: flex-start;
}

.lcrm-form__submit:hover {
	background: #155a4d;
}

.lcrm-form__submit:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

/* ---- Messages ---- */
.lcrm-form__message {
	padding: 14px 18px;
	border-radius: 6px;
	font-size: 15px;
	display: none;
}

.lcrm-form__message.lcrm-success {
	background: #d4ede8;
	color: #155a4d;
	border: 1px solid #1E7F6B;
	display: block;
}

.lcrm-form__message.lcrm-error-msg {
	background: #fff5f5;
	color: #c53030;
	border: 1px solid #e53e3e;
	display: block;
}

/* ---- Spinner ---- */
.lcrm-spinner {
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255,255,255,0.4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: lcrm-spin 0.6s linear infinite;
	display: none;
}

.lcrm-form__submit.lcrm-sending .lcrm-spinner {
	display: inline-block;
}

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

@media (max-width: 480px) {
	.lcrm-form__submit {
		width: 100%;
		justify-content: center;
	}
}
