.webisoft-cml-field {
	margin-bottom: 15px;
}

.webisoft-cml-field label {
	display: block;
	margin-bottom: 5px;
	font-weight: bold;
}

.webisoft-cml-field .required {
	color: #dc2626;
}

.webisoft-cml-field input,
.webisoft-cml-field textarea {
	width: 100%;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 8px;
	transition: border-color 0.2s ease;
	font-family: inherit;
}

.webisoft-cml-field textarea {
	resize: vertical;
}

.webisoft-cml-field input:focus,
.webisoft-cml-field textarea:focus {
	border-color: var(--webisoft-cml-accent, #1d64bd);
	outline: none;
}

#webisoft_mobile {
	direction: ltr;
	text-align: left;
}

.webisoft-cml-privacy-note {
	margin-top: -10px;
	margin-bottom: 15px;
	color: #666;
	font-size: 12px;
}

/* --- پیام موفقیت (بدون وابستگی به کتابخانه خارجی) --- */

.webisoft-cml-modal-backdrop {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(15, 23, 42, 0.6);
	animation: webisoftCmlFadeIn 0.2s ease;
}

/* پس‌زمینه/بوردر/گردی‌گوشه از کلاس مشترک .webisoft-card می‌آید. */
.webisoft-cml-modal {
	max-width: 380px;
	width: 100%;
	padding: 32px 24px;
	text-align: center;
	direction: rtl;
	font-family: inherit;
	animation: webisoftCmlPopIn 0.25s ease;
}

.webisoft-cml-modal-icon {
	color: var(--webisoft-cml-accent, #1d64bd);
	margin-bottom: 12px;
}

.webisoft-cml-modal h3 {
	margin: 0 0 8px;
	font-size: 18px;
}

.webisoft-cml-modal p {
	margin: 0 0 20px;
	color: #475569;
	font-size: 14px;
	line-height: 1.7;
}

.webisoft-cml-modal-button {
	padding: 10px 28px;
	border: 0;
	border-radius: 8px;
	background: var(--webisoft-cml-accent, #1d64bd);
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

@keyframes webisoftCmlFadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes webisoftCmlPopIn {
	from { transform: scale(0.92); opacity: 0; }
	to { transform: scale(1); opacity: 1; }
}
