.mvh-membership {
	max-width: 30rem;
	margin: 0 auto;
}

.mvh-membership section {
	margin-bottom: 2rem;
}

.mvh-membership h3 {
	margin-bottom: 0.75rem;
	font-size: var(--text-size-300);
}

.mvh-field {
	display: flex;
	flex-direction: column;
	margin-bottom: 1rem;
}

.mvh-field label {
	margin-bottom: 0.25rem;
	font-weight: 600;
}

.mvh-field input[type="text"],
.mvh-field input[type="email"],
.mvh-field input[type="password"] {
	width: 100%;
	padding: 0.6rem 0.75rem;
	border: 1px solid #ccc;
	border-radius: 0.25rem;
}

.mvh-checkbox label {
	flex-direction: row;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 400;
}

.mvh-button {
	display: inline-block;
	padding: 0.65rem 1.25rem;
	border: none;
	border-radius: 0.25rem;
	background: #1a1a1a;
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}

.mvh-button:hover {
	opacity: 0.9;
}

.mvh-button-danger {
	background: #b32020;
}

.mvh-button-secondary {
	background: #fff;
	color: #1a1a1a;
	border: 1px solid #1a1a1a;
}

.mvh-portal-form {
	margin-bottom: 0.75rem;
}

.mvh-subscription-details {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
}

.mvh-subscription-details li {
	margin-bottom: 0.25rem;
}

.mvh-notice {
	padding: 0.75rem 1rem;
	border-radius: 0.25rem;
	margin-bottom: 1.25rem;
}

.mvh-notice-success {
	background: #e6f4ea;
	color: #1b5e20;
}

.mvh-notice-error {
	background: #fdecea;
	color: #842029;
}

.mvh-notice-info {
	background: #e7f1fb;
	color: #0b4f8a;
}

.mvh-lost-password,
.mvh-logout {
	margin-top: 1rem;
	font-size: 0.9rem;
}

/* Dashboard layout */
.mvh-dashboard {
	display: flex;
	flex-wrap: wrap;
	gap: 3rem;
	max-width: 60rem;
	margin: 0 auto;
	align-items: flex-start;
}

.mvh-dashboard-sidebar {
	flex: 0 0 16rem;
	max-width: 100%;
}

.mvh-dashboard-greeting {
	margin: 0 0 1rem;
	font-weight: 600;
}

.mvh-dashboard-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 1px solid #e2e2e2;
	border-radius: 0.4rem;
	overflow: hidden;
}

.mvh-dashboard-nav li {
	margin: 0;
}

.mvh-dashboard-nav li + li {
	border-top: 1px solid #e2e2e2;
}

.mvh-dashboard-nav a {
	display: block;
	padding: 0.75rem 1rem;
	text-decoration: none;
	color: inherit;
}

.mvh-dashboard-nav a:hover {
	background: #f5f5f5;
}

.mvh-dashboard-nav li.is-active a {
	background: var(--mdigi-forest-green);
	color: #fff;
	font-weight: 600;
}

.mvh-dashboard-nav .mvh-dashboard-logout a {
	color: #b32020;
}

.mvh-dashboard-nav li.is-active.mvh-dashboard-logout a {
	color: #fff;
}

.mvh-dashboard-content {
	flex: 1 1 20rem;
	min-width: 0;
}

/* Booking history */
.mvh-booking-group-title {
	margin: 1.5rem 0 0.5rem;
	font-size: var(--text-size-200);
}

.mvh-booking-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mvh-booking-item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem 1rem;
	padding: 0.75rem 1rem;
	border: 1px solid #e2e2e2;
	border-radius: 0.4rem;
	border-left-width: 4px;
}

.mvh-booking-item + .mvh-booking-item {
	margin-top: 0.5rem;
}

.mvh-booking-service {
	font-weight: 600;
	flex: 1 1 12rem;
}

.mvh-booking-datetime {
	color: #555;
}

.mvh-booking-status {
	margin-left: auto;
	font-size: 0.85rem;
	text-transform: capitalize;
}

.mvh-booking-item.status-approved {
	border-left-color: #1b5e20;
}

.mvh-booking-item.status-pending_approval {
	border-left-color: #b8860b;
}

.mvh-booking-item.status-cancelled {
	border-left-color: #b32020;
	opacity: 0.75;
}

@media (max-width: 600px) {
	.mvh-dashboard {
		flex-direction: column;
	}

	.mvh-dashboard-sidebar {
		flex-basis: auto;
		width: 100%;
	}
}
