[hidden] {
	display: none !important;
}

[opacity] {
	opacity: 1;
}

[debug] * {
	border: 1px solid pink;
}

[unselectable] {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

::-moz-selection {
	/* Code for Firefox */
	background: rgba(var(--rgb-secondary), 0.7);
}

::selection {
	background: rgba(var(--rgb-secondary), 0.7);
}

* {
	/* outline: none; */
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
}

a {
	text-decoration: none;
	-moz-text-decoration: none;
	-moz-text-decoration: none;
	color: inherit;
}

/* i{
	color: #95979b;
} */

:root {
	color-scheme: light;
	--font-color: #111;
	--body-color: #fff;
	--secondary: #b893fc;
	--primary: #111;
	--main-font-color: #111;
	--gorgeous-light: #f7f7f7;

	/* Semantic surface tokens (light) */
	--surface-1: #ffffff;
	--surface-2: #f7f7f7;
	--surface-3: #f1f1f1;
	--surface-raised: #ffffff;
	--muted-text: rgba(17, 17, 17, 0.6);
	--subtle-text: rgba(17, 17, 17, 0.5);
	--hairline: #eee;
	--hover-bg: rgba(17, 17, 17, 0.06);
	--elevated-shadow: 0px 10px 50px rgba(0, 0, 0, 0.1);
	--scrollbar-track: #f1f1f1;
	--scrollbar-thumb: rgb(204, 203, 203);
	--scrollbar-thumb-hover: #999;

	/* Relevant colors*/
	--green-light: rgb(223, 255, 217);
	--green-dark: rgb(79, 159, 58);
	--green-dark-rgb: 79, 159, 58;

	--red-light: #fbd4c5;
	--red-dark: rgb(217, 57, 57);
	--red-hover: #e7c6b9;
	--red-rgb: 234, 84, 85;
	--red-dark-rgb: 217, 57, 57;

	--yellow-rgb: 255, 210, 76;
	--yellow-dark: rgb(211, 172, 57);

	/* font */
	--lora: 'Lora', serif;
	--popins: 'Poppins', sans-serif;

	/* rgb color */
	--rgb-primary: 17, 17, 17;
	--rgb-body: 255, 255, 255;
	--rgb-secondary: 184, 147, 252;

	/* hsl colors */
	--hdl-secondary: 261, 95%, 78%;

	/* Border color */
	--border-color: rgba(0, 0, 0, 0.09);
}

/* ////// Dark theme (Midnight — softened) ////// */
html[data-theme='dark'] {
	color-scheme: dark;
	--font-color: #edeaf2;
	--body-color: #1a1920;
	--primary: #edeaf2;
	--main-font-color: #edeaf2;
	--gorgeous-light: #24232b;

	--surface-1: #24232b;
	--surface-2: #2d2c35;
	--surface-3: #36343e;
	--surface-raised: #24232b;
	--muted-text: rgba(237, 234, 242, 0.65);
	--subtle-text: rgba(237, 234, 242, 0.48);
	--hairline: rgba(255, 255, 255, 0.09);
	--hover-bg: rgba(255, 255, 255, 0.07);
	--elevated-shadow: 0 10px 50px rgba(0, 0, 0, 0.45);
	--scrollbar-track: #24232b;
	--scrollbar-thumb: #44424d;
	--scrollbar-thumb-hover: #5d5b67;

	/* Relevant colors — tuned for contrast on dark surfaces */
	--green-light: rgba(79, 159, 58, 0.2);
	--red-light: rgba(234, 84, 85, 0.18);
	--red-hover: rgba(234, 84, 85, 0.28);

	--rgb-primary: 237, 234, 242;
	--rgb-body: 26, 25, 32;

	--border-color: rgba(255, 255, 255, 0.09);
}

html[data-theme='dark'] img.invertable,
html[data-theme='dark'] .logo img {
	filter: brightness(0) invert(1);
}

html {
	height: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--main-font-color);
	position: relative;
	height: 100%;
	font-family: 'Poppins', sans-serif;
	background: var(--body-color);
}

img {
	user-select: none;
	pointer-events: none;
}

/* ////// Logo */

.logo {
	position: relative;
	transition: 300ms;
}

.logo:hover {
	opacity: 0.65;
}

.logo img {
	height: 1.5625em;
}

.logo::after {
	content: 'Beta';
	position: absolute;
	bottom: -25%;
	left: calc(100% + 5px);
	font-family: inherit;
	font-weight: 600;
	font-size: 0.8em;
	text-transform: uppercase;
}

.big-funtenjer {
	max-width: 1600px;
	margin: 0 auto;
	padding: 0 40px;
}

.funtenjer {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
}

.min-funtenjer {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* /// INPUTS */

/* // checkbox */

/* /////////////////////////////////INPUT: CHECKBOX */

.cbx {
	position: relative;
	display: flex;
	-webkit-user-select: none;
	user-select: none;
	cursor: pointer;
	padding: 6px 8px;
	border-radius: 6px;
	overflow: hidden;
	transition: all 0.2s ease;
}

.cbx:hover {
	background: rgba(var(--rgb-primary), 0.06);
}

.cbx span {
	margin-top: 4px;
	float: left;
	vertical-align: middle;
	transform: translate3d(0, 0, 0);
	color: rgba(var(--rgb-primary), 0.6);
}

.cbx span a {
	font-weight: 500;
	color: var(--primary);
	text-decoration: underline;
}

.cbx span:first-child {
	margin-top: 3px;
	position: absolute;
	width: 18px;
	height: 18px;
	border-radius: 4px;
	transform: scale(1);
	border: 2px solid #c8ccd4;
	transition: all 0.2s ease;
}

.cbx span:first-child svg {
	position: absolute;
	top: 2px;
	left: 1px;
	fill: none;
	stroke: #fff;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 16px;
	stroke-dashoffset: 16px;
	transition: all 0.3s ease;
	transition-delay: 0.1s;
	transform: translate3d(0, 0, 0);
}

.cbx span:last-child {
	padding-left: 25px;
	line-height: 18px;
}

.cbx:hover span:first-child {
	border-color: var(--primary);
}

.inp-cbx:checked + .cbx span:first-child {
	background: var(--primary);
	border-color: var(--primary);
	animation: wave 0.4s ease;
}

.inp-cbx:checked + .cbx span:first-child svg {
	stroke-dashoffset: 0;
}

.inline-svg {
	position: absolute;
	width: 0;
	height: 0;
	pointer-events: none;
	user-select: none;
}

@-moz-keyframes wave {
	50% {
		transform: scale(0.9);
	}
}

@-webkit-keyframes wave {
	50% {
		transform: scale(0.9);
	}
}

@-o-keyframes wave {
	50% {
		transform: scale(0.9);
	}
}

@keyframes wave {
	50% {
		transform: scale(0.9);
	}
}

::-webkit-scrollbar {
	width: 6px;
}

::-webkit-scrollbar-track {
	background: var(--scrollbar-track);
}

::-webkit-scrollbar-thumb {
	background: var(--scrollbar-thumb);
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Firefox */
input[type='number'] {
	-moz-appearance: textfield;
}

input[type='text'],
input[type='password'],
input[type='email'],
input[type='number'] {
	font-family: inherit;
	border: 2px solid var(--body-color);
	background: var(--body-color);
	color: var(--primary);
	border-radius: 6px;
	width: 100%;
	height: 48px;
	padding: 0px 14px;
	-webkit-text-fill-color: var(--primary);
	outline: none;
	box-shadow: rgba(var(--rgb-body), 1) 0px 0px 0px 1000px inset;
}

input.negative {
	border: 2px solid transparent;
	background: rgba(var(--rgb-primary), 0.06);
	color: var(--primary);
	border-radius: 6px;
	width: 100%;
	height: 48px;
	padding: 0px 14px;
	-webkit-text-fill-color: var(--primary);
	outline: none;
	box-shadow: var(--surface-3) 0px 0px 0px 1000px inset;
}

input::placeholder {
	opacity: 0.5;
}

input[type='password'] {
	padding-right: 40px;
}

input:focus {
	border: 2px solid var(--primary);
}

input:focus-visible {
	outline: none;
}

.input-holder small {
	display: none;
}

/* // Wrong input hendaler */
.input-holder.corect,
.input-holder.wrong {
	position: relative;
}

.input-holder.wrong input {
	padding-right: 35px;
	background: var(--body-color);
	box-shadow: none;
	border: 1px solid rgba(var(--rgb-secondary), 0.7);
	box-shadow: 0px 0px 0 3px rgba(var(--rgb-secondary), 0.3);
	transition: 300ms;
	/* animation: shake .2s; */
}

.input-holder.wrong::after {
	content: '\f06a';
	font-family: 'Font Awesome 6 Pro';
	font-weight: 900;
	position: absolute;
	bottom: 15px;
	right: 10px;
	color: rgba(var(--rgb-secondary), 0.9);
	/* animation: shake .2s; */
}

.input-holder.wrong small {
	display: block;
	position: absolute;
	font-size: 0.7em;
	margin-left: 2px;
	margin-top: 4px;
	color: var(--secondary);
}

@keyframes shake {
	0% {
		transform: translateX(0);
	}
	10% {
		transform: translateX(-5px);
	}
	40% {
		transform: translateX(5px);
	}
	50% {
		transform: translateX(-5px);
	}
	80% {
		transform: translateX(5px);
	}
	100% {
		transform: translateX(0);
	}
}

/* // Corect input hendlaer */

.input-holder.corect::after {
	content: '\f058';
	font-family: 'Font Awesome 6 Pro';
	font-weight: 900;
	position: absolute;
	bottom: 15px;
	right: 10px;
	color: var(--green-dark);
	animation: shake 0.2s;
}

.input-holder.corect input {
	border: transparent;
	background: var(--green-light);
	box-shadow: none;
}

/* /////////// Button ///////// */

button {
	font-family: 'Poppins', sans-serif;
}

button:disabled {
	cursor: not-allowed;
	filter: grayscale(1);
	opacity: 0.8;
}

.btn-primary {
	background: var(--secondary);
	display: inline-block;
	margin-top: 20px;
	padding: 7px 40px;
	color: var(--body-color);
	letter-spacing: 1px;
	border-radius: 5px;
	font-weight: bold;
	transition: 0.5s ease;
	border: 2px solid var(--secondary);
	cursor: pointer;
}

.btn-primary:hover {
	background: var(--body-color);
	color: var(--secondary);
	border-color: var(--secondary);
}

button.secondary-btn {
	border: none;
	border-radius: 6px;
	height: 48px;
	padding: 0 55px;
	cursor: pointer;
	font-size: 1em;
	font-weight: 600;
	color: var(--body-color);
	appearance: none;
	background-color: var(--primary);
	border: 2px solid transparent;
	outline: none;
	transition: 300ms;
}

button.secondary-btn:focus {
	border-color: var(--secondary);
}

button.secondary-btn:hover:enabled {
	background: var(--body-color);
	border-color: var(--primary);
	color: var(--primary);
}

button.secondary-btn[disabled] {
	cursor: not-allowed;
	background: rgba(var(--rgb-primary), 0.08);
	color: var(--primary);
}

.input-reverse {
	border: 2px solid transparent;
	background: rgba(var(--rgb-primary), 0.06);
	border-radius: 6px;
	width: 100%;
	height: 48px;
	padding: 0px 14px;
	font-size: 16px;
	-webkit-text-fill-color: var(--primary);
	/* border: 1px solid #111; */
	outline: none;
}

/* // google and facebook button */

.register-with-button {
	display: flex;
	justify-content: center;
	align-items: center;
	border: 2px solid var(--primary);
	background: var(--body-color);
	border-radius: 6px;
	width: 100%;
	height: 48px;
	outline: none;
	cursor: pointer;
	font-weight: 500;
	font-size: 0.9em;
	transition: 300ms;
	margin-bottom: 15px;
}

.register-with-button svg {
	margin-right: 10px;
}

.register-with-button:hover {
	background: var(--primary);
	color: var(--body-color);
}

.register-with-button:active {
	transform: translateY(2px);
}

/* // Loading button loader spinner */

body button.loading {
	background: var(--body-color);
	border: 2px solid var(--primary);
	color: var(--primary);
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: default;
	transition: 300ms;
}

button.loading .loading-button-loader {
	display: block;
}

.loading-button-loader {
	--size: 1em;
	display: none;
	width: var(--size);
	height: var(--size);
	border-radius: 50%;
	position: relative;
	margin-right: 0.5em;
	animation: rotate 1s linear infinite;
}
.loading-button-loader::before {
	content: '';
	box-sizing: border-box;
	position: absolute;
	inset: 0px;
	border-radius: 50%;
	border: 0.212em solid var(--primary);
	animation: prixClipFix 2s linear infinite;
}

@keyframes rotate {
	100% {
		transform: rotate(360deg);
	}
}

@keyframes prixClipFix {
	0% {
		clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0);
	}
	25% {
		clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0);
	}
	50% {
		clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%);
	}
	75% {
		clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%);
	}
	100% {
		clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0);
	}
}

/* ////////// template ///////// */

aside {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 20px 30px;
	overflow: auto;
	background: var(--body-color);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
	border-right: 1px solid var(--border-color);
}

aside .logo {
	font-size: 0.8rem;
	display: flex;
}

aside .logo img {
	margin: 0 auto;
}

aside .logo::after {
	left: 76%;
}

aside nav {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.nav-bottom {
	display: flex;
	flex-direction: column;
}

aside nav ul {
	display: flex;
	flex-direction: column;
	list-style: none;
	padding: 0;
	margin: 0;
	margin-top: 20px;
}

aside nav ul > div {
	padding-top: 20px;
	border-top: 1px solid var(--border-color);
}

aside nav .help {
	background: rgba(var(--rgb-primary), 0.06);
	padding: 20px 30px;
	margin: 0 -30px;
	margin-bottom: -20px;
	cursor: pointer;
	transition: 300ms;
	font-size: 0.8em;
}

aside nav .help:hover {
	background: rgba(var(--rgb-primary), 0.12);
}

aside nav .help i {
	color: rgba(var(--rgb-primary), 0.5);
	margin-right: 7px;
	font-size: 1em;
}

aside nav ul li {
	display: flex;
	align-items: center;
	font-weight: 500;
	padding: 10px 30px;
	cursor: pointer;
	color: rgba(var(--rgb-primary), 0.5);
	font-size: 1rem;
	transition: 300ms;
	border-radius: 10px;
	margin: 15px 0;
	border-bottom: 2px solid transparent;
}

/* disabled element */

aside nav ul li.disabled {
	--background: rgba(var(--rgb-primary), 0.03);
	--color: rgba(var(--rgb-primary), 0.5);
	position: relative;
	background: var(--background);
	color: var(--color);
	cursor: not-allowed;
	opacity: 0.6;
}

aside nav ul li.disabled::after {
	content: '\f023';
	font-weight: 900;
	font-family: 'Font Awesome 6 Pro';
	position: absolute;
	right: -10px;
	height: 30px;
	width: 30px;
	background: rgba(var(--rgb-primary), 0.2);
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
}

aside nav ul li.disabled:hover i,
aside nav ul li.disabled i {
	color: var(--color);
}

aside nav ul li.disabled:hover {
	background: var(--background);
	color: var(--color);
	border-color: rgba(var(--rgb-primary), 0.08);
	border-color: transparent;
}

aside nav ul li.active {
	background: rgba(var(--rgb-primary), 0.06);
	color: var(--primary);
}

aside nav ul li i {
	margin-right: 12px;
	color: var(--primary);
	color: rgba(var(--rgb-primary), 0.6);
}

aside nav ul li:hover {
	background: rgba(var(--rgb-primary), 0.06);
	color: var(--primary);
	border-color: rgba(var(--rgb-primary), 0.08);
}

aside nav ul li:hover i {
	color: var(--primary);
}

/* ////////ENDE ASIDE /////////// */

.page-grid {
	display: grid;
	grid-template: 1fr / 300px 1fr;
	height: 100%;
}

.page-grid main {
	--side-padding: 20px;
	padding: 20px var(--side-padding);
	overflow: auto;
}

/* Sidebar access card (anonymous / subscribe upsell) */
.access-card {
	--card-bg: #f9f1de;
	--card-border: rgba(var(--yellow-rgb), 0.45);
	--card-title: #1b1b1b;
	--card-desc: rgba(17, 17, 17, 0.62);
	--card-eyebrow: #9b7a2b;
	--card-shelf: rgba(155, 122, 43, 0.45);
	--book-a: #c9a34e;
	--book-b: #8b6a1f;
	--book-c: #2a2114;
	--book-d: #a7842c;
	--book-e: #d8b867;
	--book-dashed: rgba(155, 122, 43, 0.55);
	--btn-primary-bg: #a68326;
	--btn-primary-hover: #8d6e1e;
	--btn-secondary-bg: #ffffff;
	--btn-secondary-text: #1b1b1b;
	--btn-secondary-border: rgba(0, 0, 0, 0.08);

	background: var(--card-bg);

	padding: 18px;
	margin-bottom: 14px;
	margin: 0 -30px;
	font-family: var(--popins);
}

html[data-theme='dark'] .access-card {
	--card-bg: #2a2620;
	--card-border: rgba(var(--yellow-rgb), 0.2);
	--card-title: #f3ecd8;
	--card-desc: rgba(237, 234, 242, 0.65);
	--card-eyebrow: #d4b066;
	--card-shelf: rgba(212, 176, 102, 0.45);
	--book-a: #d4b066;
	--book-b: #a7842c;
	--book-c: #1a1610;
	--book-d: #c19a3e;
	--book-e: #e6c98a;
	--book-dashed: rgba(212, 176, 102, 0.55);
	--btn-secondary-bg: rgba(255, 255, 255, 0.06);
	--btn-secondary-text: #f3ecd8;
	--btn-secondary-border: rgba(255, 255, 255, 0.1);
}

.access-card-illustration {
	display: flex;
	align-items: flex-end;
	gap: 3px;
	height: 40px;
	margin-bottom: 14px;
	position: relative;
}

.access-card-illustration .book {
	display: block;
	width: 10px;
	border-radius: 2px 2px 0 0;
	box-sizing: border-box;
}

.access-card-illustration .book-solid.b1 {
	height: 28px;
	background: var(--book-a);
}
.access-card-illustration .book-solid.b2 {
	height: 36px;
	background: var(--book-b);
}
.access-card-illustration .book-solid.b3 {
	height: 22px;
	background: var(--book-c);
}
.access-card-illustration .book-solid.b4 {
	height: 38px;
	background: var(--book-d);
}
.access-card-illustration .book-solid.b5 {
	height: 30px;
	background: var(--book-e);
}

.access-card-illustration .book-dashed {
	background: transparent;
	border: 1.5px dashed var(--book-dashed);
	border-bottom: none;
}
.access-card-illustration .book-dashed.b3 {
	height: 22px;
}
.access-card-illustration .book-dashed.b4 {
	height: 34px;
	width: 11px;
}
.access-card-illustration .book-dashed.b5 {
	height: 28px;
}

.access-card-shelf {
	flex: 1;
	height: 1.5px;
	margin-left: 6px;
	margin-bottom: 0;
	background: var(--card-shelf);
	align-self: flex-end;
	border-radius: 1px;
}

.access-card-eyebrow {
	font-size: 0.68em;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--card-eyebrow);
	margin: 0 0 6px 0;
	text-transform: uppercase;
}

.access-card-title {
	font-family: var(--lora);
	font-weight: 700;
	font-size: 1.05em;
	line-height: 1.2;
	color: var(--card-title);
	margin: 0 0 8px 0;
}

.access-card-title--large {
	font-size: 1.2em;
	margin-bottom: 10px;
}

.access-card-desc {
	font-size: 0.78em;
	line-height: 1.5;
	color: var(--card-desc);
	margin: 0 0 14px 0;
}

.access-card-actions {
	display: flex;
	gap: 8px;
}

.access-card-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.8em;
	font-weight: 600;
	padding: 9px 14px;
	border-radius: 9px;
	transition: background 0.15s ease, filter 0.15s ease, border-color 0.15s ease;
	white-space: nowrap;
	line-height: 1;
}

.access-card-btn--primary {
	background: var(--btn-primary-bg);
	color: #fff;
}

.access-card-btn--primary:hover {
	background: var(--btn-primary-hover);
}

.access-card-btn--secondary {
	background: var(--btn-secondary-bg);
	color: var(--btn-secondary-text);
	border: 1px solid var(--btn-secondary-border);
}

.access-card-btn--secondary:hover {
	border-color: rgba(0, 0, 0, 0.16);
}

html[data-theme='dark'] .access-card-btn--secondary:hover {
	border-color: rgba(255, 255, 255, 0.22);
}

.access-card-btn--block {
	display: flex;
	width: 100%;
	padding: 11px 14px;
	font-size: 0.88em;
	gap: 6px;
}

.access-card-btn--block span {
	font-size: 1.1em;
	line-height: 1;
}

.access-card-link {
	display: block;
	text-align: center;
	margin-top: 10px;
	font-size: 0.78em;
	color: var(--card-title);
	text-decoration: underline;
	text-underline-offset: 3px;
	opacity: 0.85;
}

.access-card-link:hover {
	opacity: 1;
}

/* Mobile access card — hidden by default, shown at max-width: 1550px (sidebar collapse) */
.access-card-mobile {
	--card-bg: #f9f1de;
	--card-border: rgba(var(--yellow-rgb), 0.4);
	--card-title: #1b1b1b;
	--card-desc: rgba(17, 17, 17, 0.62);
	--card-shelf: rgba(155, 122, 43, 0.45);
	--book-a: #c9a34e;
	--book-b: #8b6a1f;
	--book-c: #2a2114;
	--book-d: #a7842c;
	--book-dashed: rgba(155, 122, 43, 0.55);
	--btn-primary-bg: #a68326;
	--btn-primary-hover: #8d6e1e;

	display: none;
	align-items: center;
	gap: 14px;
	background: var(--card-bg);
	border: 1px solid var(--card-border);
	border-radius: 14px;
	padding: 12px 14px;
	margin-bottom: 14px;
	font-family: var(--popins);
}

html[data-theme='dark'] .access-card-mobile {
	--card-bg: #2a2620;
	--card-border: rgba(var(--yellow-rgb), 0.2);
	--card-title: #f3ecd8;
	--card-desc: rgba(237, 234, 242, 0.65);
	--book-a: #d4b066;
	--book-b: #a7842c;
	--book-c: #1a1610;
	--book-d: #c19a3e;
	--book-dashed: rgba(212, 176, 102, 0.55);
}

.access-card-illustration--mini {
	height: 32px;
	margin-bottom: 0;
	flex-shrink: 0;
	gap: 2px;
}

.access-card-illustration--mini .book {
	width: 7px;
	border-radius: 1.5px 1.5px 0 0;
}

.access-card-illustration--mini .book-solid.b1 {
	height: 22px;
}
.access-card-illustration--mini .book-solid.b2 {
	height: 30px;
}
.access-card-illustration--mini .book-solid.b3 {
	height: 18px;
}
.access-card-illustration--mini .book-dashed.b3 {
	height: 18px;
	border-width: 1px;
}
.access-card-illustration--mini .book-dashed.b4 {
	height: 26px;
	border-width: 1px;
}

.access-card-mobile-text {
	flex: 1;
	min-width: 0;
}

.access-card-mobile-title {
	font-weight: 700;
	font-size: 0.95em;
	color: var(--card-title);
	margin: 0 0 2px 0;
	line-height: 1.25;
}

.access-card-mobile-desc {
	font-size: 0.82em;
	color: var(--card-desc);
	margin: 0;
	line-height: 1.35;
}

.access-card-mobile-cta {
	flex-shrink: 0;
	padding: 10px 18px;
	font-size: 0.85em;
}

.explanation .header {
	position: relative;
	display: flex;
	align-items: center;
	background-color: rgba(var(--yellow-rgb), 0.3);
	padding: 1em;
	margin-bottom: 1em;
}

.page-grid main header {
	position: relative;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	padding: 0 30px;
}

.page-grid main header .notifications {
	position: relative;
	margin-right: 20px;
	cursor: pointer;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: 300ms;
	font-size: 1rem;
}

.page-grid main header .notifications.active {
	background: rgba(var(--rgb-primary), 0.06);
}

.page-grid main header .notifications .circle {
	position: absolute;
	top: 0.25em;
	right: 0.25em;
	height: 0.4375em;
	width: 0.4375em;
	border-radius: 50%;
	box-sizing: content-box;
	background: var(--secondary);
	color: var(--body-color);
	border: 2px solid var(--body-color);
}

/* .page-grid main header .notifications.active .circle{
	display: none;
} */

.page-grid main header .notifications i {
	color: rgba(var(--rgb-primary), 0.6);
}

/* // Notifications  feed*/

.notification-nav {
	display: none;
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	background: var(--surface-raised);
	box-shadow: var(--elevated-shadow);
	z-index: 10;
	border-radius: 6px;
	max-width: 400px;
	width: 100%;
	animation: fadeIn 300ms;
}

.notification-nav::after {
	content: '';
	position: absolute;
	top: -6px;
	left: 45px;
	width: 0;
	height: 0;
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
	border-right: 6px solid transparent;
	border-bottom: 6px solid var(--surface-raised);
	border-left: 6px solid transparent;
}

.notification-nav .header {
	height: 1.875em;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid var(--hairline);
	padding: 1.25em;
}

.notification-nav .header h3 {
	margin: 0;
	font-size: 0.9em;
	font-weight: 500;
}

.notification-nav .header .read {
	position: relative;
	cursor: pointer;
}

.notification-nav .header .read i {
	color: var(--secondary);
}

.notification-nav .header .read:active i {
	color: var(--green-dark);
}

.notification-nav .header .read .flag {
	--color: #ddd;
	padding: 5px 10px;
	background: var(--color);
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: calc(100% + 10px);
	animation: fadeIn 300ms;
	display: none;
	border-radius: 5px;
}

.notification-nav .header .read .flag span {
	font-size: 0.7em;
	white-space: nowrap;
	opacity: 0.9;
}

.notification-nav .read .flag::before {
	content: '';
	position: absolute;
	top: 50%;
	left: -9px;
	width: 0;
	height: 0;
	transform: translateY(-50%) rotate(-90deg);
	border-right: 6px solid transparent;
	border-bottom: 6px solid var(--color);
	border-left: 6px solid transparent;
}

.notification-nav .read:hover .flag {
	display: block;
}

/* // types of notificatins */

.new-book {
	display: grid;
	align-items: flex-start;
	padding: 0.9em 1.25em;
	grid-template: 1fr / 33px 1fr;
	font-size: 0.8rem;
	border-radius: 0.3125em;
	border: 1px solid transparent;
	border-bottom-color: var(--hairline);
	position: relative;
}

.new-book.seen::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(var(--rgb-primary), 0.06);
}

.new-book:last-child {
	border: none;
}

.new-book .img-holder {
	position: relative;
}

.new-book .img-holder img {
	height: 50px;
	width: 33px;
	border-radius: 5px;
}

.new-book .img-holder .flag {
	position: absolute;
	right: -6px;
	bottom: -6px;
	height: 17px;
	width: 17px;
	font-size: 0.6em;
	background: var(--secondary);
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
	border: 2px solid var(--surface-raised);
	box-sizing: content-box;
}

.new-book .content {
	padding-left: 20px;
}

.new-book .content .content-header {
	display: flex;
	align-items: center;
	margin-bottom: 5px;
}

.new-book .content .content-header .title {
	font-weight: 600;
}

.new-book .content .content-header .dot {
	height: 3px;
	width: 3px;
	margin: 0 5px;
	border-radius: 50%;
	background: rgba(var(--rgb-primary), 0.6);
}

.new-book .content .content-header .time {
	font-size: 0.8em;
	color: rgba(var(--rgb-primary), 0.7);
}

.new-book .content .content-body p {
	margin: 0;
	font-size: 0.9em;
	color: rgba(var(--rgb-primary), 0.9);
}

/* // End */

.page-grid main header .notification-nav .header {
	height: 30px;
	border-bottom: 1px solid var(--hairline);
}

.page-grid main header .notification-nav .body {
	overflow: auto;
	min-height: 350px;
	height: 350px;
}

.page-grid main header .notification-nav .body .no-content {
	display: none;
	flex-direction: column;
	align-items: center;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.page-grid main header .notification-nav .body .no-content i {
	font-size: 5em;
	color: rgba(var(--rgb-secondary), 0.4);
}

.page-grid main header .notification-nav .body .no-content span {
	font-size: 0.9em;
	color: rgba(var(--rgb-primary), 0.5);
	margin-top: 10px;
}

.page-grid main header .search {
	position: relative;
	width: 800px;
	max-width: 100%;
	margin-left: auto;
	margin-bottom: 0;
	margin-right: 20px;
}

.page-grid main header .search input[placeholder] {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-family: inherit;
}

/* // Ubaci animacijuu */
.page-grid main header .search .suggested-books {
	position: absolute;
	background: var(--surface-raised);
	z-index: 10;
	width: 100%;
	padding: 0;
	border-radius: 8px;
	top: calc(100% + 5px);
	border: 1px solid var(--hairline);
	display: none;
	box-shadow: var(--elevated-shadow);
	overflow: hidden;
}

.search-section-header {
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: rgba(var(--rgb-primary), 0.4);
	padding: 14px 14px 8px;
}

.search-results-list {
	max-height: 380px;
	overflow-y: auto;
	padding: 0 10px;
}

.search-results-list .book-card:last-child {
	border-bottom-color: transparent;
	margin-bottom: 8px;
}

.search-see-all {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	font-size: 0.82rem;
	font-weight: 500;
	color: rgba(var(--rgb-primary), 0.75);
	border-top: 1px solid var(--hairline);
	background: rgba(var(--rgb-primary), 0.02);
	text-decoration: none;
	transition: background 0.15s;
}

.search-see-all:hover {
	background: rgba(var(--rgb-primary), 0.06);
	color: var(--primary);
}

.search-see-all .fa-arrow-right {
	margin-left: auto;
	font-size: 0.75rem;
	opacity: 0.5;
}

.search-see-all--neutral {
	color: rgba(var(--rgb-primary), 0.5);
}

/* // Book Card */

.book-card {
	display: grid;
	padding: 5px;
	grid-template: 1fr / 60px 1fr;
	font-size: 0.8rem;
	border-radius: 5px;
	border: 1px solid transparent;
	border-bottom-color: var(--hairline);
	margin-bottom: 10px;
}

.book-card:last-child {
	border: none;
}

.book-card:hover {
	background: rgba(var(--rgb-primary), 0.06);
}

.book-card.focus {
	background: rgba(var(--rgb-primary), 0.06);
}

.book-card .book-img {
	position: relative;
}

.book-card .book-img.audio::after {
	content: '\f58f';
	font-family: 'Font Awesome 6 Pro';
	font-weight: bold;
	font-size: 12px;
	position: absolute;
	top: 5px;
	right: 15px;
	padding: 5px;
	color: var(--body-color);
	background: var(--secondary);
	border-radius: 50%;
}

.book-card .book-img img {
	height: 50px;
	width: 33px;
	border-radius: 5px;
}

.book-card .other .info {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.book-card .other .info .author {
	font-weight: 300;
	color: rgba(var(--rgb-primary), 0.6);
	font-size: 0.8rem;
}

.page-grid main header .search > i {
	font-size: 0.8rem;
	position: absolute;
	top: 50%;
	right: 2%;
	transform: translate(-50%, -50%);
	background: var(--surface-3);
}

.profile {
	position: relative;
	margin-left: auto;
	display: flex;
	align-items: center;
}

/* in explorer mode */

.explorer-buttons {
	display: flex;
}

.explorer-buttons a {
	font-size: 0.9em;
	border-radius: 6px;
	padding: 7px 20px;
	font-weight: 700;
	border: 2px solid transparent;
	transition: 500ms;
}

.profile .login-button {
	margin-right: 10px;
	width: max-content;
	border-color: var(--primary);
}

.profile .login-button:hover {
	color: var(--body-color);
	background: rgba(var(--rgb-primary), 1);
}

.profile .register-button {
	color: var(--body-color);
	background: rgba(var(--rgb-primary), 1);
	box-shadow: 0 16px 40px rgb(0 0 0 / 12%);
}

.register-button:hover {
	background: var(--body-color);
	color: var(--primary);
	border-color: var(--priamry);
}

/* // END */

.profile:hover .nav {
	display: block;
}

.profile .img-holder {
	position: relative;
}

.profile .nav {
	position: absolute;
	top: calc(100% + 10px);
	left: 50%;
	transform: translateX(-80%);
	width: 270px;
	padding: 0.9375em 0;
	background: var(--surface-raised);
	box-shadow: var(--elevated-shadow);
	z-index: 20;
	border-radius: 0.375em;
	display: none;
	animation: fadeIn 300ms;
}

.profile .nav::after {
	content: '';
	top: -20px;
	right: 0;
	left: 0;
	position: absolute;
	padding: 20px;
}

.profile .nav::before {
	content: '';
	position: absolute;
	top: -6px;
	left: 80%;
	width: 0;
	height: 0;
	transform: translateX(-50%);
	border-right: 6px solid transparent;
	border-bottom: 6px solid var(--surface-raised);
	border-left: 6px solid transparent;
}

.profile .row {
	padding: 0.5em 2em;
	display: block;
	opacity: 0.8;
	margin: 0.3125em 0;
	font-size: 0.9em;
}

.profile .row i {
	margin-right: 0.3125em;
}

.profile .row:hover {
	background: rgba(var(--rgb-primary), 0.06);
	opacity: 1;
}

.profile hr {
	display: block;
	height: 0.0625em;
	border: 0;
	background: var(--hairline);
	margin: 0 2em;
}

.profile img {
	display: inline-block;
	width: 40px;
	height: 40px;
	object-fit: cover;
	border-radius: 50%;
	box-sizing: content-box;
	border: 2px solid var(--border-color);
	position: relative;
	object-fit: cover;
}

.profile span {
	margin-left: 10px;
	font-size: 0.9rem;
}

.profile .more i {
	margin-left: 10px;
	color: var(--primary);
}

/* / Book  */
.book {
	max-width: 10em;
}

.book .stars {
	font-size: 0.9em;
	margin-bottom: 10px;
}

main .banner .img-holder .cover,
.book .cover {
	position: relative;
}

html[data-theme='dark'] .book .cover img {
	background: linear-gradient(270deg, #2a2a2a, #1f1f1f, #2a2a2a);
}

.book .cover img {
	/* background: #f1f1f1; */
	animation: gradient 5s ease-in-out infinite;
	background: linear-gradient(270deg, #f1f1f1, #d3cbcb, #f1f1f1);
	background-size: 200% 200%;
}

.book .cover .blurhash-canvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 10em;
	height: 15em;
	border-radius: 0 2px 2px 0;
	transition: opacity 250ms ease;
	pointer-events: none;
	z-index: 2;
}

.book .cover.loaded .blurhash-canvas {
	opacity: 0;
}

.book .cover .audio-tag {
	z-index: 3;
}

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

.book .cover.read img {
	border: 3px solid var(--primary);
	border-radius: 5px;
	position: relative;
}

html[data-theme='dark'] .book .cover.read img {
	border: 3px solid rgba(var(--rgb-secondary), 0.5);
}

.book .cover.read::before {
	content: '\f00c';
	position: absolute;
	font-family: 'Font Awesome 6 Pro';
	font-weight: 900;
	font-size: 0.8em;
	display: flex;
	justify-content: center;
	align-items: center;
	color: var(--body-color);
	top: -10px;
	right: calc(100% - 20px);
	--size: 1.7625em;
	height: var(--size);
	width: var(--size);
	border: 2px solid #fff;
	border-radius: 50%;
	background: var(--primary);
	z-index: 10;
}

html[data-theme='dark'] .book .cover.read::before {
	border: 3px solid var(--secondary);
	background: var(--secondary);
}

.book .cover img {
	display: block;
	width: 10em;
	height: 15em;
	position: relative;
	border-radius: 0 2px 2px 0;
	/* box-shadow: 0px 8px 20px 1px rgba(6, 35, 64, 0.3); */
	box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.06);
	object-fit: cover;
	transition: filter 0.2s;
}

.book .cover:hover img {
	filter: brightness(1.05);
}

.book .cover .audio-tag {
	position: absolute;
	top: 5px;
	right: -10px;
	font-size: 0.9em;
	padding: 10px 5px 20px;
	color: var(--body-color);
	background: var(--secondary);
	border-radius: 2px;
	clip-path: polygon(0 0, 100% 1%, 100% 100%, 51% 79%, 0 100%);
}

main .banner .img-holder .cover::after,
.book .cover::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	background: linear-gradient(
		to right,
		rgba(0, 0, 0, 0.1) 0%,
		rgba(211, 211, 211, 0.1) 5%,
		rgba(255, 255, 255, 0.15) 5%,
		rgba(255, 255, 255, 0.1) 9%,
		rgba(0, 0, 0, 0.01) 100%
	);
}

.book .title {
	font-family: var(--lora);
	font-size: 1em;
	line-height: 1.3;
	display: block;
	margin-bottom: 5px;
	margin-top: 15px;
	cursor: pointer;
	font-weight: 600;
}

.book .author {
	font-size: 0.8125em;
	margin-bottom: 5px;
	color: #a5a4aa;
}

.book .progress {
	display: flex;
	align-items: center;
	margin-top: auto;
}

.book .progress span {
	margin-left: 0.625em;
	font-size: 0.8125em;
}

.book .progress progress {
	-webkit-appearance: none;
	border: none;
	height: 5px;
}

.book .progress progress::-webkit-progress-bar {
	background: var(--surface-3);
}

.book .progress progress::-webkit-progress-value {
	background: var(--secondary);
}

.book-stack .cover::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
}

.book-price {
	font-family: var(--popins);
	font-size: 1.1em;
	color: var(--star-background);
	font-weight: 600;
	margin-top: -5px;
}

/* Rate book */
.rate-book-holder {
	position: absolute;
	display: none;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(var(--rgb-primary), 0.3);
	z-index: 100;
}

.rate-book {
	position: relative;
	margin: auto;
	width: 100%;
	max-width: 400px;
	background: var(--surface-raised);
	box-shadow: var(--elevated-shadow);
	z-index: 2;
	border-radius: 6px;
}

.rate-book .book-card {
	margin: 30px 20px 10px 20px;
	border: none;
}

.rate-book .book-card:hover {
	background: none;
}

.rate-book .close {
	position: absolute;
	display: flex;
	top: 7px;
	right: 7px;
	font-size: 1em;
	cursor: pointer;
	height: 25px;
	width: 25px;
	border-radius: 50%;
	translate: 300ms;
}

.rate-book .close i {
	margin: auto;
}

.rate-book .close:hover {
	background: rgba(var(--rgb-primary), 0.06);
}

.rate-book .stars-holder {
	display: flex;
	padding: 20px 50px;
	justify-content: space-between;
	background: rgba(var(--rgb-primary), 0.06);
}

.rate-book .stars-holder .star {
	font-size: 1.2em;
	cursor: pointer;
	color: rgba(var(--rgb-primary), 0.2);
}

.rate-book .stars-holder .star.active i {
	color: var(--star-background);
	transition: 300ms;
}

.rate-book .stars-holder .star.chosen {
	animation: rotate 1s;
}

/* // Notifications */
.notification-success {
	position: absolute;
	display: none;
	align-items: center;
	height: 80px;
	bottom: 10px;
	left: 20px;
	right: 20px;
	background: var(--surface-raised);
	border-radius: 6px;
	overflow: hidden;
	animation: fadeIn 0.3s ease-in-out;
}

.notification-success .ico-holder {
	display: flex;
	background: var(--green-light);
	color: var(--green-dark);
	height: 100%;
	width: 50px;
}

.notification-success .ico-holder i {
	margin: auto;
}

.notification-success .info {
	margin-left: 20px;
}

.notification-success .info h3 {
	margin: 0;
}

.notification-success span {
	font-size: 0.9em;
	opacity: 0.8;
}

/* ///STARS////// */

:root {
	--star-size: 15px;
	--star-color: rgba(var(--rgb-primary), 0.1);
	--star-background: #ffaf00;
}

.stars {
	--percent: calc(var(--rating) / 5 * 100%);
	display: inline-block;
	font-size: var(--star-size);
	font-family: Times;
}
.stars::before {
	font-family: 'Font Awesome 6 Pro';
	content: '\f005 \f005 \f005 \f005 \f005';
	font-weight: 900;
	letter-spacing: 3px;
	background: linear-gradient(90deg, var(--star-background) var(--percent), var(--star-color) var(--percent));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.stars span {
	font-family: var(--popins);
	font-size: 0.8em;
	margin-left: 5px;
}

/* ///END////// */

/* // progress bar for Firefox */

::-moz-progress-bar {
	background-color: var(--secondary);
}

.simple-hover {
	--size: 0;
	width: var(--size);
	height: var(--size);
	display: flex;
	border-radius: 50%;
	transition: background 0.5s ease;
	cursor: pointer;
}

.simple-hover i {
	margin: auto;
}

.simple-hover:hover {
	background: var(--hover-bg);
}

.simple-hover:active {
	transform: scale(0.96);
}

category {
	padding: 2px 10px;
	margin-right: 5px;
	display: inline-block;
	margin-top: 10px;
	border-radius: 10px;
	font-size: 0.8rem;
	background: var(--gorgeous-light);

	-webkit-user-select: none; /* Safari */
	-moz-user-select: none; /* Firefox */
	-ms-user-select: none; /* IE10+/Edge */
	user-select: none; /* Standard */
}

category i {
	margin-left: 5px;
}

/* ////////////////SCROLL BAR/////////////////////// */

/* width */
::-webkit-scrollbar {
	width: 7px;
	height: 7px;
}

/* Track */
::-webkit-scrollbar-track {
	background: var(--scrollbar-track);
}

/* Handle */
::-webkit-scrollbar-thumb {
	background: var(--scrollbar-thumb);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
	background: var(--scrollbar-thumb-hover);
}

* {
	scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
	scrollbar-width: thin;
}

/* ///////progress???????????? */

progress {
	width: 100%;
	-webkit-appearance: none;
	border: none;
	height: 5px;
	/* transform: translateY(5px); */
}

progress::-webkit-progress-bar {
	background: var(--surface-3);
}

progress::-webkit-progress-value {
	background: var(--secondary);
}

/* // Highlighter som fixes */

.fa-highlighter {
	font-weight: 400;
}

/* ///sound waves ico */

.sound-waves {
	display: flex;
	align-items: center;
}

.sound-waves div {
	background: var(--secondary);
	width: 2px;
	animation: 0s onlyScale infinite;
}

.sound-waves div:not(:last-child) {
	margin-right: 2px;
}

.sound-waves div:nth-child(5),
.sound-waves div:nth-child(1) {
	height: 6px;
}

.sound-waves div:nth-child(4),
.sound-waves div:nth-child(2) {
	height: 12px;
	animation-duration: 3s;
}

.sound-waves div:nth-child(3) {
	height: 18px;
	animation-duration: 3.5s;
}

/* ALLL ANIMATION */

@keyframes rotate-dance {
	50% {
		transform: rotate(45deg);
	}

	100% {
		transform: rotate(-45deg);
	}
}

@keyframes itemLoading {
	from {
		background: var(--surface-3);
		opacity: 0;
	}
	to {
		background: transparent;
		opacity: 1;
	}
}

@keyframes bounceIn {
	from,
	20%,
	40%,
	60%,
	80%,
	to {
		-webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
		animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
	}

	0% {
		opacity: 0;
		-webkit-transform: scale3d(0.3, 0.3, 0.3);
		transform: scale3d(0.3, 0.3, 0.3);
	}

	20% {
		-webkit-transform: scale3d(1.1, 1.1, 1.1);
		transform: scale3d(1.1, 1.1, 1.1);
	}

	40% {
		-webkit-transform: scale3d(0.9, 0.9, 0.9);
		transform: scale3d(0.9, 0.9, 0.9);
	}

	60% {
		opacity: 1;
		-webkit-transform: scale3d(1.03, 1.03, 1.03);
		transform: scale3d(1.03, 1.03, 1.03);
	}

	80% {
		-webkit-transform: scale3d(0.97, 0.97, 0.97);
		transform: scale3d(0.97, 0.97, 0.97);
	}

	to {
		opacity: 1;
		-webkit-transform: scale3d(1, 1, 1);
		transform: scale3d(1, 1, 1);
	}
}

@keyframes bookApear {
	0% {
		opacity: 0;
		transform: scale(0.5);
	}

	100% {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes onlyScale {
	0% {
		transfom: scaleY(1);
	}
	50% {
		transform: scaleY(0.5);
	}

	100% {
		transform: scaleY(1);
	}
}

@keyframes putZindex {
	to {
		z-index: -40;
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		-webkit-transform: translate3d(0, 100%, 0);
		transform: translate3d(0, 100%, 0);
	}

	to {
		opacity: 1;
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
}

@keyframes fadeOutUp {
	from {
		opacity: 1;
	}

	to {
		opacity: 0;
		-webkit-transform: translate3d(0, -100%, 0);
		transform: translate3d(0, -100%, 0);
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes fadeOut {
	0% {
		opacity: 1;
	}

	100% {
		opacity: 0;
	}
}

@keyframes slideInUp {
	from {
		-webkit-transform: translate3d(0, 150%, 0);
		transform: translate3d(0, 150%, 0);
		visibility: visible;
	}

	to {
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
}

@keyframes slideInLeft {
	from {
		-webkit-transform: translate3d(-150%, 0, 0);
		transform: translate3d(-150%, 0, 0);
		visibility: visible;
	}

	to {
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
}

@keyframes rotate {
	to {
		transform: rotate(360deg);
	}
}

.logo .small {
	display: none;
}

@media screen and (max-width: 1550px) {
	.page-grid {
		grid-template: 1fr / 60px 1fr;
	}

	aside {
		padding: 0;
	}

	aside .logo img,
	aside .logo::after,
	aside nav ul li span,
	aside nav .help,
	.access-card {
		display: none;
	}

	.access-card-mobile {
		display: flex;
	}

	.logo .small {
		display: block;
		margin-top: 10px;
	}

	aside nav ul {
		height: unset;
		display: flex;
	}

	aside nav ul li {
		border-radius: 0;
		width: 100%;
		padding: 0;
		margin: 0;
		width: 100%;
		height: 60px;
		display: flex;
		border-bottom: none;
	}

	aside nav ul li i {
		margin: auto;
	}

	aside nav ul li.disabled::after {
		display: none;
	}
}

/* // screeen size not supported */

.no-support {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 100;
	background: var(--body-color);
	display: flex;
	padding: 40px;
	display: none;
}

.no-support .content {
	margin: auto;
}

.no-support .content .back {
	background: rgba(var(--rgb-primary), 0.06);
	position: absolute;
	top: 40px;
	left: 40px;
	display: flex;
	width: 50px;
	height: 40px;
	transition: 300ms;
	margin-bottom: auto;
}

.no-support .content .back:hover {
	background: var(--primary);
	color: var(--body-color);
}

.no-support .content .back i {
	margin: auto;
	transition: 300ms transform;
}

.no-support .content .back:hover i {
	transform: translateX(-5px);
}

.no-support h2 {
	font-family: var(--lora);
	font-size: 2em;
}

.no-support .devices-holder {
	--color: rgba(var(--rgb-secondary), 0.7);
	width: 100%;
	display: flex;
	/* justify-content: space-between; */
	justify-content: center;
	align-items: center;
	padding: 20px;
}

.no-support .devices-holder > i {
	color: rgba(var(--rgb-primary), 0.5);
	font-size: 2em;
	display: none;
}

.no-support .laptop {
	width: 150px;
}

.no-support .laptop .screen {
	width: 100%;
	height: 100px;
	border: 5px solid var(--color);
	display: flex;
	border-radius: 10px;
}

.no-support .laptop .screen i {
	margin: auto;
	font-size: 2em;
	color: var(--secondary);
}

.no-support .laptop .keyboard {
	height: 10px;
	background: var(--color);
	margin-top: 5px;
	margin: 5px -10px;
	border-radius: 10px;
}

.no-support .devices-holder .mobile {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-left: 30px;
	/* margin-top: -10px; */
}

.no-support .devices-holder .mobile i:first-child {
	font-size: 7em;
	color: var(--secondary);
}

.no-support .devices-holder .mobile i:last-child {
	position: absolute;
	font-size: 1.5em;
	margin-bottom: 10px;
	color: #fff;
}

/* // More icon */

.more-options {
	height: 30px;
	width: 30px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	font-size: 0.8rem;
	transition: 0.5s ease;
	border: 2px solid transparent;
}

.more-options.active,
.more-options:hover {
	background: var(--hover-bg);
}

@media screen and (max-width: 1200px) {
	.no-support {
		display: flex;
	}
}

@media screen and (max-width: 900px) {
	*::-webkit-scrollbar {
		display: none;
	}

	* {
		-ms-overflow-style: none;
		scrollbar-width: none;
	}

	.page-grid {
		grid-template: 1fr 60px / auto;
	}

	.page-grid main {
		--side-padding: 10px;
	}

	main {
		grid-column-start: 1;
		grid-row-start: 1;
	}

	.logo .small {
		display: none;
	}

	aside nav {
		border-top: 1px solid var(--border-color);
		overflow: hidden;
	}

	aside nav ul {
		flex-direction: row;
		margin: 0;
	}

	aside nav ul li.active i {
		font-weight: bold;
		color: var(--primary);
	}

	aside nav ul > div {
		display: flex;
		padding: 0;
		border: none;
		flex: 1;
	}

	aside nav ul a {
		flex: 1;
	}

	.page-grid main header {
		flex-wrap: wrap;
		padding: 0;
	}

	.page-grid main header .profile {
		order: 0;
		margin: 0;
		margin-right: auto;
		position: unset;
	}

	.page-grid main header .profile .img-holder {
		position: unset;
	}

	.page-grid main header .profile .nav {
		position: absolute;
		top: 54px;
		left: 0;
		right: 0;
		transform: translateX(0);
		width: unset;
		font-size: 1.05rem;
	}

	.page-grid main header .profile .nav::before {
		display: none;
	}

	.page-grid main header .notifications {
		order: 1;
		margin: 0;
	}

	.page-grid main header .search {
		order: 2;
		margin: 0;
		margin-top: 10px;
		width: 100%;
	}

	.page-grid main header .search .suggested-books {
		left: 0;
		right: 0;
		width: 100%;
		border-radius: 0 0 8px 8px;
	}

	.search-results-list {
		max-height: 55vh;
	}

	.notification-nav {
		max-width: unset;
		font-size: 1rem;
		top: 53px;
	}

	.notification-nav::after {
		display: none;
	}

	.notification-nav .header .read .flag {
		display: none;
	}
}

/* // for now */

.discount-popup {
	position: fixed;
	bottom: 1rem;
	right: 1rem;
	background: var(--surface-raised);
	border-radius: 0.325rem;
	box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
	z-index: 99;
	max-width: 500px;
	width: 100%;
	border-top: 5px solid var(--secondary);

	transform: translateX(110%);
	opacity: 0;
	z-index: -2;
	transition: 500ms;
}

.discount-popup.show {
	transform: translateX(0);
	opacity: 1;
	z-index: 999;
}

.discount-popup .header {
	position: relative;
	display: flex;
	padding: 1rem 2rem;
	padding-right: 4.5rem;
}

.discount-popup .header .close {
	--size: 2rem;
	position: absolute;
	right: 20px;
	width: var(--size);
	height: var(--size);
	border-radius: 50%;
	display: flex;
	transition: 300ms;
	cursor: pointer;
}

.discount-popup .header .close:hover {
	background: rgba(var(--rgb-primary), 0.06);
}

.discount-popup .header .close:active {
	transform: scale(0.98);
}

.discount-popup .header .close i {
	margin: auto;
}

.discount-popup .header .logo-holder {
	display: flex;
	border-right: 2px dashed var(--border-color);
	padding: 1rem 1rem 1rem 0;
	margin-right: 2rem;
}

.discount-popup .header .logo-holder img {
	width: 3rem;
	margin: auto;
}

.discount-popup .header .more-info {
	display: flex;
	flex-direction: column;
}

.discount-popup .header .more-info h3 {
	margin: 0;
	margin-bottom: 5px;
}

.discount-popup .header .more-info p {
	margin: auto;
	font-weight: 500;
}

.discount-popup .header .more-info b {
	font-size: 1.1rem;
}

.discount-popup .body {
	padding: 0 1rem;
}

.discount-popup .body .button-holder {
	border-top: 2px dashed var(--border-color);
	padding: 0.7rem 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.discount-popup .body .button-holder a {
	background: var(--primary);
	color: var(--body-color);
	font-weight: 600;
	padding: 0.4rem 2rem;
	border-radius: 6px;
}

.discount-popup .body .button-holder span {
	color: rgba(var(--rgb-primary), 0.5);
	font-size: 0.9rem;
	padding: 1px 5px;
}

@media screen and (max-width: 800px) {
	.discount-popup {
		bottom: 0;
		left: 0;
		right: 0;
	}
	.discount-popup .body .button-holder a {
		padding: 0.7rem 2rem;
	}
}

@media screen and (max-width: 400px) {
	.discount-popup .header {
		padding: 20px;
		padding-right: 2.5rem;
	}

	.discount-popup .header .logo-holder {
		border-right: none;
		padding: 0;
		margin-right: 2rem;
	}

	.discount-popup .header .logo-holder img {
		width: 2.5rem;
	}

	.discount-popup .body .button-holder a {
		width: 100%;
		text-align: center;
	}

	.discount-popup .body .button-holder span {
		display: none;
	}
}

