/**
 * Tutor LMS integration — front-end.
 *
 * The locked box lives inside Tutor's sidebar card, which already supplies the
 * padding, the border and the type. So this file only does the part Tutor has no
 * opinion about: the rhythm between plans, and the rule that separates one from
 * the next.
 *
 * The `--rm-*` tokens come from the plugin's own stylesheet, which is declared on
 * every element whose class starts with `rebill-mem-` — including these.
 */

.rebill-mem-tutor-lock__title {
	margin: 0 0 var(--rm-space-3);
}

.rebill-mem-tutor-lock__plans {
	margin: 0;
	padding: 0;
	list-style: none;
}

.rebill-mem-tutor-lock__plan + .rebill-mem-tutor-lock__plan {
	margin-top: var(--rm-space-4);
	padding-top: var(--rm-space-4);
	border-top: 1px solid var(--rm-line);
}

.rebill-mem-tutor-lock__plan-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--rm-space-3);
	margin-bottom: var(--rm-space-2);
}

/* The signup form is a whole form per plan; inside a narrow sidebar its default
   margins stack up into a column of white space. */
.rebill-mem-tutor-lock .rebill-mem-signup {
	margin: 0;
}

.rebill-mem-tutor-lock .rebill-mem-signup__submit {
	margin: 0;
}

.rebill-mem-tutor-lock .rebill-mem-btn {
	width: 100%;
}

.rebill-mem-tutor-lock .rebill-mem-secure {
	margin: var(--rm-space-2) 0 0;
	font-size: var(--rm-text-meta);
	color: var(--rm-secondary);
}

.rebill-mem-tutor-lock__login {
	margin: var(--rm-space-4) 0 0;
}
