@mixin container {
	margin: 0 auto;
	box-sizing: border-box;
	padding: 0 30px;
	width: 100%;
	max-width: 1060px;

	@media (max-width: $mobile) {
		padding: 0 20px;
	}
}

@mixin pageInner {
	flex-grow: 1;
	display: flex;
	margin: 0 30px 30px;
	padding: 54px;
	background-image: url("/uploads/images/bg-leaves.svg");
	background-repeat: no-repeat;
	background-size: 100% auto;
	background-position: bottom center;

	@media (max-width: 1024px) {
		padding: 40px;
	}

	@media (max-width: $mobile) {
		margin: 0;
		padding: 0 30px 30px;
		background-image: url("/uploads/images/bg-leaves-mob.svg");
	}
}

@mixin infoPage {
	flex-grow: 1;
	display: flex;
	margin: 0 30px 30px;
	padding: 30px 30px 25px;
	background-color: $bg-accent;
}

@mixin adminPage {
	flex-grow: 1;
	display: flex;
	margin: 0 30px 30px;
	padding: 30px 30px 25px;
	background-color: $bg-accent;
	background-image: url("/uploads/images/bg-leaves-admin.svg");
	background-repeat: no-repeat;
	background-size: 100% auto;
	background-position: bottom center;
}

@mixin list-reset {
	margin: 0;
	padding: 0;
	list-style: none;
}

@mixin btn-reset {
	display: inline-block;
	vertical-align: top;
	padding: 0;
	border: 0;
	background-color: transparent;
	cursor: pointer;
}

@mixin center {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

@mixin hover {
	transition: opacity 0.3s ease;

	&:hover,
	&:focus {
		opacity: 0.7;
		outline: none;
	}
}

@mixin flagSeen {
	display: flex;
	align-items: center;
	font-weight: 400;
	font-size: 12px;
	line-height: 30px;
	color: #B2C5B7;

	svg {
		display: block;
		margin-left: 9px;
		color: $accent-main;
	}
}
