.account-page {
	@include pageInner;
	display: flex;
	flex-direction: column;
	padding: 0;
	background-color: $bg-accent;
}

.account-page__wrapper {
	display: flex;
	flex-grow: 1;
}

.account-page__menu {
	margin-bottom: -30px;
	width: 320px;
	background-color: $bg-main;
	overflow: hidden;

	@media (max-width: $desktopMin) {
		margin-left: -10px;
	}

	@media (max-width: $tablet) {
		display: none;
	}
}

.account-page__menu-inner {
	box-sizing: border-box;
	padding: 23px 43px 50px 50px;
	width: calc(100% + 40px);
	max-height: calc(100vh - 90px);
	overflow-y: scroll;

	@media (max-width: $desktopMin) {
		padding-right: 20px;
		width: 100%;
		overflow-y: auto;
	}
}

.account-page__content {
	flex-grow: 1;
	max-width: calc(100% - 320px);
	overflow: hidden;

	@media (max-width: $desktopMin) {
		max-width: calc(100% - 310px);
	}

	@media (max-width: $tablet) {
		max-width: 100%;
	}
}

.account-page__content-inner {
	box-sizing: border-box;
	padding: 30px 55px 30px 30px;
	width: calc(100% + 40px);
	max-height: calc(100vh - 120px);
	overflow-y: scroll;

	@media (max-width: $desktopMin) {
		padding-right: 30px;
		width: 100%;
		overflow-y: auto;
	}

	@media (max-width: $tablet) {
		padding: 0;
		max-height: none;
	}
}
