/* crm-status-checker.css
	 Visual styles for CRM visualization related components
*/

.sinergia-crm-form {
  max-width: 700px;
  padding: 24px;
}

.crm-status-checker {
	background: #f7f7f8;
	border: 1px solid #e2e2e2;
	border-radius: 6px;
	padding: 12px 14px;
	max-width: 420px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	color: #333;
}

.crm-status-checker h4 {
	margin: 0 0 8px 0;
	font-size: 15px;
}

.crm-status-label-small {
	font-size: 12px;
}

.crm-status-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.crm-status-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 6px;
	border-radius: 4px;
	margin: 6px 0;
	background: transparent;
}

.crm-status-item .icon {
	width: 20px;
	height: 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
}

.crm-status-item.active {
	background: #eef9f1;
	border: 1px solid #daf3db;
	color: #0b6b2e;
}
.crm-status-item.active .icon { color: #0b6b2e; }

.crm-status-item.inactive {
	background: #fff7f7;
	border: 1px solid #ffd6d6;
	color: #8b1e1e;
}
.crm-status-item.inactive .icon { color: #8b1e1e; }

.crm-status-item.error {
	background: #fff6e6;
	border: 1px solid #ffd8a8;
	color: #6a4a00;
}
.crm-status-item.error .icon { color: #6a4a00; }

.crm-status-item .label {
	flex: 1 1 auto;
	font-size: 14px;
}

.crm-error-message {
	padding: 10px;
	background: #fff2f2;
	border: 1px solid #ffd6d6;
	color: #9b1f1f;
	border-radius: 4px;
	margin-top: 8px;
	font-size: 13px;
}

@media (max-width: 520px) {
	.crm-status-checker { max-width: 100%; padding: 10px; }
	.crm-status-item { padding: 8px; }
}

