.mtp-front {
	direction: rtl;
	text-align: right;
	max-width: 640px;
	margin: 0 auto;
	font-family: inherit;
}

.mtp-front-form .mtp-field {
	margin-bottom: 16px;
}

.mtp-front-form label {
	display: block;
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 6px;
	color: #1e1e2e;
}

.mtp-front-form input[type="text"],
.mtp-front-form input[type="email"],
.mtp-front-form input[type="password"] {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #d8d8e2;
	border-radius: 8px;
	font-size: 14px;
	box-sizing: border-box;
}

.mtp-btn {
	display: inline-block;
	padding: 11px 24px;
	border-radius: 8px;
	border: 1px solid #d8d8e2;
	background: #fff;
	color: #1e1e2e;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	text-decoration: none;
}

.mtp-btn-primary {
	background: #4f46e5;
	border-color: #4f46e5;
	color: #fff;
}

.mtp-notice {
	padding: 12px 16px;
	border-radius: 8px;
	margin-bottom: 20px;
	font-size: 14px;
	background: #eceef4;
	color: #40405a;
}

.mtp-notice-success {
	background: #e3f6e5;
	color: #1e7c34;
}

.mtp-notice-error {
	background: #fdeeee;
	color: #c0392b;
}

.mtp-front-alt {
	margin-top: 16px;
	font-size: 13px;
	text-align: center;
	color: #6b6b80;
}

/* -------------------------------- Plans ---------------------------------- */

.mtp-plans {
	display: grid;
	gap: 10px;
}

.mtp-plan-option {
	display: grid;
	grid-template-columns: auto 1fr auto;
	grid-template-areas: "radio name price" "radio desc desc";
	gap: 2px 10px;
	border: 1px solid #d8d8e2;
	border-radius: 8px;
	padding: 12px 14px;
	cursor: pointer;
	font-weight: 400;
}

.mtp-plan-option input {
	grid-area: radio;
	align-self: start;
	margin-top: 3px;
}

.mtp-plan-option:has(input:checked) {
	border-color: #4f46e5;
	background: #f5f4ff;
}

.mtp-plan-name {
	grid-area: name;
	font-weight: 700;
}

.mtp-plan-price {
	grid-area: price;
	color: #4f46e5;
	font-weight: 700;
	font-size: 13px;
}

.mtp-plan-desc {
	grid-area: desc;
	font-size: 12px;
	color: #6b6b80;
}

/* -------------------------------- Account -------------------------------- */

.mtp-account {
	max-width: 780px;
}

.mtp-front-panel {
	background: #fff;
	border: 1px solid #eceef4;
	border-radius: 10px;
	padding: 18px 20px;
	margin-bottom: 16px;
}

.mtp-front-panel h3 {
	margin-top: 0;
	font-size: 15px;
}

.mtp-muted {
	color: #9494a6;
	font-size: 12px;
}

.mtp-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}

.mtp-badge-pending_review { background: #fff9db; color: #8a6d00; }
.mtp-badge-approved { background: #e5f0ff; color: #1a56db; }
.mtp-badge-rejected { background: #fde8e8; color: #c0392b; }
.mtp-badge-trial { background: #e5f0ff; color: #1a56db; }
.mtp-badge-active { background: #e3f6e5; color: #1e7c34; }
.mtp-badge-past_due { background: #fff2e0; color: #b45f06; }
.mtp-badge-cancelled { background: #f3e8ff; color: #6b21a8; }
.mtp-badge-provisioning { background: #fff9db; color: #8a6d00; }
.mtp-badge-failed { background: #fde8e8; color: #c0392b; }
