/**
 * Rowing Seat Booking — public portal shell ([rowing_portal])
 */

.rsb-portal-shell {
	display: flex;
	align-items: flex-start;
	gap: 0;
	max-width: 1400px;
	margin: 0 auto;
	min-height: 320px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	box-sizing: border-box;
}

.rsb-portal-shell *,
.rsb-portal-shell *::before,
.rsb-portal-shell *::after {
	box-sizing: border-box;
}

.rsb-portal-shell--guest {
	display: block;
	max-width: 720px;
	margin: 0 auto;
}

.rsb-portal-sidebar {
	flex: 0 0 240px;
	width: 240px;
	max-width: 100%;
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	padding: 12px 0;
	position: sticky;
	top: 12px;
	align-self: flex-start;
}

.rsb-portal-menu-toggle {
	display: none;
	width: calc(100% - 24px);
	margin: 0 12px 12px;
	padding: 10px 14px;
	font-weight: 600;
	cursor: pointer;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	background: #fff;
	color: #1d2327;
}

.rsb-portal-sidebar__nav {
	display: block;
}

.rsb-portal-sidebar__section {
	margin-bottom: 14px;
	padding: 0 12px;
}

.rsb-portal-sidebar__section-title {
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #1d2327;
	margin: 0 0 6px 0;
	padding: 4px 8px 0;
}

.rsb-portal-sidebar__link {
	display: block;
	padding: 8px 10px;
	margin: 2px 0;
	font-size: 13px;
	line-height: 1.35;
	color: #1d2327;
	text-decoration: none;
	border-radius: 4px;
	border: 1px solid transparent;
}

.rsb-portal-sidebar__link:hover {
	background: #fff;
	border-color: #c3c4c7;
	color: #2271b1;
}

.rsb-portal-sidebar__link.is-active {
	background: #fff;
	border-color: #2271b1;
	color: #2271b1;
	font-weight: 600;
}

.rsb-portal-main {
	flex: 1;
	min-width: 0;
	padding: 0 0 24px 20px;
}

.rsb-portal-main__inner {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	padding: 20px;
	min-height: 280px;
}

@media (max-width: 782px) {
	.rsb-portal-shell {
		flex-direction: column;
	}

	.rsb-portal-sidebar {
		flex: none;
		width: 100%;
		position: relative;
		top: 0;
		padding-top: 8px;
	}

	.rsb-portal-menu-toggle {
		display: block;
	}

	.rsb-portal-sidebar__nav {
		display: none;
	}

	.rsb-portal-sidebar__nav.is-open {
		display: block;
		padding-bottom: 8px;
	}

	.rsb-portal-main {
		padding: 16px 0 0 0;
	}

	.rsb-portal-main__inner {
		padding: 16px;
	}
}

