/* assets/css/admin-rtl.css */

/* General RTL styles */
#advmo .wrap {
	direction: rtl;
	text-align: right;
}

/* Form table styles for RTL */
#advmo .form-table th {
	padding: 20px 10px;
}

#advmo .form-table td {
	padding: 20px 10px;
}

/* Checkbox style for RTL */
#advmo input[type="checkbox"] {
	margin-left: 10px;
	margin-right: 0;
}

/* Radio options for RTL */
.advmo-radio-option .description {
	margin-right: 24px;
	margin-left: 0;
}

.advmo-checkbox-option {
	padding-right: 24px;
	padding-left: 0;
	position: relative;
}

.advmo-checkbox-option input[type="checkbox"] {
	position: absolute;
	right: 0;
	left: auto;
	top: 5px;
}

.advmo-field input[type="text"] {
	direction: ltr;
	text-align: left;
}

/* Header and navigation styles for RTL */
.advmo-topbar .advmo-header h1 {
	gap: 0.6rem;
}

.advmo-topbar .advmo-header a {
	margin-right: auto;
	margin-left: 0;
}

.advmo-topbar .advmo-header a svg {
	margin-left: 6px;
	margin-right: 0;
}

.advmo-topbar .advmo-menu nav a {
	margin-left: 30px;
	margin-right: 0;
}

.advmo-last-check.connected {
	background: #edfaef;
	color: #287d3c;
	border-right: 4px solid #28a745;
	border-left: none;
}

.advmo-last-check.disconnected {
	background: #fff5f5;
	color: #da1414;
	border-right: 4px solid #dc3545;
	border-left: none;
}
