/*Fonts include*/

@font-face {
	font-family: 'artagan-gt';
	src: url('../fonts/GT-Eesti-Pro-Display-Regular.woff2');
	font-weight: 400;
	font-display: swap;
}

@font-face {
	font-family: 'artagan-gt';
	src: url('../fonts/GT-Eesti-Pro-Display-Medium.woff2');
	font-weight: 500;
	font-display: swap;
}

@font-face {
	font-family: 'artagan-gt';
	src: url('../fonts/GT-Eesti-Pro-Display-Bold.woff2');
	font-weight: 700;
	font-display: swap;
}

:root {
	--blue: #2277ff;
	--green: #499949;
	--red: #d8312b;
	--dark: #2b2d2f;
	--grey: #636363;
}

/*Base CSS*/
*,
*::before,
*::after {
	font-family: artagan-gt, sans-serif;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html,
body {
	height: 100%;
}

body {
	font-size: 16px;
	min-width: 360px;
	font-weight: 400;
	position: relative;
	line-height: 1.5;
	overflow: hidden;
	color: var(--dark);
	-webkit-text-size-adjust: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	background-color: #f8f8f8;
}

b,
strong {
	font-weight: 700;
}

img {
	max-width: 100%;
	display: inline-block;
}

a {
	text-decoration: none;
}

/* Login CSS */
#login {
	width: 100%;
	height: 100%;
	display: grid;
	grid-template-columns: 1fr;
	align-items: center;
	justify-content: center;
	overflow: auto;
	padding: 40px 20px;
}

#login .logo {
	background: 0;
	padding: 0;
	justify-content: center;
	height: auto;
	margin-bottom: 30px;
}

.login__form {
	background-color: #fff;
	padding: 30px;
	border-radius: 15px;
	border: 1px solid #e8e8e8;
	max-width: 400px;
	width: 100%;
	margin: 0 auto;
}

.login__form label {
	display: block;
	font-size: 18px;
	margin-bottom: 3px;
}

.login__form input {
	display: block;
	width: 100%;
	height: 52px;
	background: #f8f8f8;
	border: 1px solid #e8e8e8;
	margin-bottom: 20px;
	border-radius: 10px;
	font-size: 18px;
	padding: 0 20px;
	transition: all 0.3s ease;
	outline: none;
}

.login__form input:focus {
	border-color: var(--blue);
	background: #fff;
}

.login__form button {
	display: block;
	color: #fff;
	background: var(--blue);
	border: 0;
	font-size: 18px;
	width: 100%;
	height: 52px;
	border-radius: 10px;
	cursor: pointer;
	margin-top: 30px;
	transition: all 0.3s ease;
}

.login__form button:hover {
	opacity: 0.75;
}

/*Main CSS*/

#app {
	display: grid;
	grid-template-columns: 290px 1fr;
	height: 100%;
}

.sidebar {
	border-right: 1px solid #e8e8e8;
}

.logo {
	padding: 15px 20px;
	background-color: #fff;
	height: 64px;
	display: grid;
	align-items: center;
}

.logo svg {
	width: 250px;
}

.main__menu {
	height: calc(100vh - 64px);
	background-color: #fff;
	padding: 20px 20px 0;
	border-top: 1px solid #e8e8e8;
	overflow: auto;
}

.main__menu ul {
	list-style: none;
	display: grid;
	height: 100%;
}

.main__menu ul li:first-child {
	margin-top: -2px;
}

.main__menu ul a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 14px;
	border-radius: 10px;
	color: var(--dark);
	font-size: 18px;
	transition: all 0.3s ease;
}

.main__menu ul a > div {
	display: flex;
	align-items: center;
	gap: 10px;
}

.main__menu ul a span {
	line-height: 1;
	margin-top: 1px;
	pointer-events: none;
}

.main__menu ul a:hover {
	background-color: #f8f8f8;
}

.main__menu ul li a.active {
	background-color: #f8f8f8;
	outline: 1px solid #e8e8e8;
}

.main__menu ul a svg {
	width: 28px;
	pointer-events: none;
}

.new-items__count,
.items__count {
	pointer-events: none;
}

.main__menu .menu__count {
	font-size: 12px;
	background-color: rgb(43 45 47 / 50%);
	color: #fff;
	padding: 0 8px;
	height: 22px;
	min-width: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 11px;
}

.main__menu .active .items__count .menu__count {
	background-color: var(--red);
}

.menu__headlines {
	font-size: 20px;
	font-weight: 400;
	letter-spacing: 1px;
	border-top: 1px solid #e8e8e8;
	padding: 20px 36px 5px;
	margin: 18px 0 0 -20px;
	width: calc(100% + 40px);
	color: var(--grey);
}

.day__icon-wrap {
	position: relative;
	display: flex;
	pointer-events: none;
}

.day__icon-wrap .day__icon {
	position: absolute;
	font-size: 12px;
	left: 50%;
	transform: translateX(-50%);
	top: 1px;
	color: var(--red);
	font-weight: 700;
}

.main__menu--list li {
	margin-bottom: 7px;
}

.menu-user__item {
	position: sticky;
	bottom: 0;
	background-color: #fff;
	width: calc(100% + 40px);
	margin-left: -20px;
	align-self: end;
	box-shadow: 0 -5px 10px rgb(0 0 0 / 5%);
	padding: 20px;
	display: grid;
	grid-template-columns: 36px 1fr 30px;
	align-items: center;
	gap: 8px;
	margin-top: 30px;
}

.menu-user__name {
	font-size: 18px;
	color: #728095;
	font-weight: 500;
	padding-top: 2px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.menu-user__item .logout {
	background: 0;
	border: 0;
	cursor: pointer;
	padding: 0;
	width: 30px;
	height: 30px;
	display: grid;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.menu-user__item .logout svg path {
	transition: all 0.3s ease;
}

.menu-user__item .logout:hover svg path {
	fill: var(--red);
}

.content__header {
	display: grid;
	grid-template-columns: max-content max-content;
	justify-content: space-between;
	align-items: center;
	height: 64px;
	padding: 0 20px;
	background-color: #fff;
}

.content__render {
	position: relative;
	padding: 20px;
	overflow: auto;
	height: calc(100vh - 64px);
	border-top: 1px solid #e8e8e8;
}

.popup__wrap {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
	align-items: center;
	background-color: rgb(0 0 0 / 50%);
	overflow: auto;
	z-index: 10;
}

.popup__wrap.active {
	display: grid;
}

.popup {
	position: relative;
	background-color: #fff;
	padding: 30px;
	border-radius: 25px;
	margin: 30px auto;
	width: 100%;
}

.close__popup {
	position: absolute;
	top: 28px;
	right: 28px;
	display: grid;
	border: 0;
	background: 0;
	cursor: pointer;
	opacity: 0.75;
	transition: all 0.3s ease;
}

.close__popup:hover {
	opacity: 1;
}

.close__popup svg {
	pointer-events: none;
}

.calendar__header,
.calendar__days-container {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	text-align: center;
}

.calendar__header {
	margin-bottom: 10px;
}

.calendar__days-container {
	border-right: 1px solid #e8e8e8;
	border-bottom: 1px solid #e8e8e8;
}

.calendar__day {
	padding: 14px;
	background-color: #fff;
	border-top: 1px solid #e8e8e8;
	border-left: 1px solid #e8e8e8;
	height: calc((100vh - 140px) / 6);
	min-height: 88px;
}

.current__day .day__number {
	background-color: var(--blue);
	color: #fff;
	width: 24px;
	height: 24px;
	margin: 0 auto;
	border-radius: 50%;
	display: grid;
	align-items: center;
	justify-content: center;
}

.calendar__day--other-month .day__number {
	opacity: 0.4;
}

.task__count-btn {
	position: relative;
	background-color: var(--green);
	border-radius: 5px;
	padding: 6px;
	margin-top: 10px;
	color: #fff;
	border: 0;
	font-size: 16px;
	cursor: pointer;
	display: block;
	width: 100%;
	text-align: center;
	overflow: hidden;
	transition: all 0.3s ease;
}

.task__count-btn:hover {
	opacity: 0.75;
}

.content__header--left {
	position: relative;
	display: flex;
	align-items: center;
	gap: 28px;
}

.content__header--left:after {
	content: '';
	position: absolute;
	top: 0;
	left: 82px;
	width: 1px;
	height: 100%;
	background-color: #e8e8e8;
}

.calendar__nav {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: -8px;
}

.calendar__nav button {
	background: 0;
	border: 0;
	cursor: pointer;
	display: inline-grid;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	opacity: 0.75;
	transition: all 0.3s ease;
}

.calendar__nav button:hover {
	opacity: 1;
}

.active__date {
	font-size: 20px;
	line-height: 20px;
}

.content__add-btn {
	display: flex;
	align-items: center;
	gap: 5px;
}

.add__new-task-btn {
	background: 0;
	border: 0;
	display: flex;
	cursor: pointer;
	transition: all 0.3s ease;
}

.add__new-task-btn:hover {
	opacity: 0.75;
}

.popup__calendar-tasks .popup {
	width: auto;
	min-width: 500px;
	max-width: 1050px;
}

.popup__calendar-tasks .task__grid .task__item {
	background-color: #f8f8f8;
	min-width: 290px;
	max-width: 440px;
}

.popup__title {
	font-size: 22px;
	font-weight: 400;
	margin-top: -5px;
	padding-right: 50px;
}

.popup__title span {
	font-weight: 500;
}

.cp_popup__title {
	text-align: center;
	font-size: 26px;
	font-weight: 500;
	margin-top: -8px;
}

.calendar__popup-content {
	margin-top: 20px;
}

.form__search {
	position: relative;
}

.form__search input {
	background: #f8f8f8;
	border: 1px solid #b8babe;
	font-size: 16px;
	padding: 12px 56px 12px 18px;
	border-radius: 10px;
	width: 260px;
	outline: none;
	transition: all 0.3s ease;
}

.form__search input:focus {
	border-color: var(--blue);
	background: #fff;
}

.form__search button {
	width: 33px;
	height: 33px;
	position: absolute;
	top: 6px;
	right: 6px;
	background: #b8babe;
	border: 0;
	cursor: pointer;
	border-radius: 6px;
	padding-top: 2px;
	transition: all 0.3s ease;
}

.form__search input:valid ~ button {
	background: var(--blue);
}

.form__search input:valid ~ button:hover {
	opacity: 0.75;
}

.form__search button svg {
	width: 18px;
	height: 18px;
	stroke: #fff;
}

.no__results {
	text-align: center;
	font-size: 20px;
	margin-top: 40px;
}

.pagination {
	display: flex;
	justify-content: center;
	margin-top: 40px;
}

.pagination ul {
	list-style: none;
	display: flex;
	gap: 10px;
}

.pagination ul li {
	display: flex;
	align-items: center;
}

.pagination ul li a {
	width: 40px;
	height: 40px;
	color: var(--dark);
	background-color: #e8e8e8;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border-radius: 8px;
	transition: all 0.3s ease;
}

.pagination ul li a:hover {
	background-color: #d6d6d8;
}

.pagination ul li.active a {
	background-color: var(--blue);
	cursor: default;
	color: #fff;
}

.pagination ul a.page__nav {
	width: auto;
	height: auto;
	background-color: transparent;
	opacity: 0.75;
	transition: all 0.3s ease;
}

.pagination ul a.page__nav:hover {
	background-color: transparent;
	opacity: 1;
}

.pagination ul .page__gap {
	display: flex;
	align-items: center;
}

.content__main {
	position: relative;
}

.task__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
}

.task__grid .task__item {
	display: grid;
	background-color: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 10px;
	padding: 20px;
	transition: all 0.3s ease;
}

.task__grid .task__item:hover {
	box-shadow: 0 3px 10px rgb(114 128 149 / 20%);
}

.task__grid .task__item-novznos {
	border-color: var(--red) !important;
}

.task__grid .task__item-multi {
	border-color: var(--blue) !important;
}

.task__grid .task__item.task__item-novznos.task__item-multi {
	border-color: var(--red) !important;
	outline: 1px solid var(--blue);
	outline-offset: 1px;
}

.task__grid .date__wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	line-height: 1;
	margin-bottom: 12px;
	opacity: 0.9;
}

.task__grid .date__wrap > div {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 13px;
}

.task__grid .date__wrap > div span {
	padding-top: 1px;
	color: #728095;
}

.task__grid .task__name {
	color: var(--dark);
	font-size: 18px;
	font-weight: 500;
	line-height: 1;
	margin-bottom: 5px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.task__grid .select__wrap {
	display: grid;
	grid-template-columns: 140px 28px;
	justify-content: space-between;
	align-items: center;
}

.task__grid .task__status-wrap {
	position: relative;
}

.task__grid .task__status-wrap svg {
	position: absolute;
	top: 5px;
	right: 5px;
	pointer-events: none;
}

.task__status {
	background: rgb(101 109 117 / 10%);
	border: 0;
	border-left: 5px solid;
	outline: none;
	padding: 6px 10px 6px 12px;
	border-radius: 5px;
	appearance: none;
	font-size: 15px;
	cursor: pointer;
	width: 100%;
	color: #656d75;
}

.task__status.status__new {
	border-color: var(--green);
}

.task__status.status__in-process,
.task__status.status__waiting {
	border-color: var(--blue);
}

.task__status.status__ended {
	border-color: var(--red);
}

.task__status.status__archive {
	border-color: var(--dark);
}

.task__grid .task__more {
	display: grid;
	filter: grayscale(1);
	opacity: 0.3;
	transform: scale(0.85) translateX(4px);
	transition: all.3s ease;
}

.task__grid .task__item:hover .task__more {
	transform: scale(1) translateX(0);
	filter: grayscale(0);
	opacity: 1;
}

.task__grid .task__item .task__more:hover {
	opacity: 0.75;
}

.task__grid .task__fio {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.task__grid .task__phone {
	border-bottom: 1px solid rgb(114 128 149 / 20%);
	font-size: 16px;
	padding-bottom: 6px;
	margin-bottom: 10px;
	color: #728095;
}

.task__grid .task__tariff {
	font-size: 14px;
}

.task__executor {
	font-size: 14px;
	color: #728095;
	margin-bottom: 10px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.sb_status-info {
	font-size: 14px;
}

.task__table {
	border: 1px solid rgb(0 0 0 / 10%);
	border-radius: 8px;
	overflow: hidden;
	text-align: center;
}

.task__table-header {
	display: grid;
	grid-template-columns: 90px 110px 100px 1fr 1fr 160px 150px;
	color: #fff;
	background-color: var(--dark);
}

.task__table-header div {
	padding: 10px;
	border-right: 1px solid rgb(255 255 255 / 30%);
}

.task__table-row {
	display: grid;
	grid-template-columns: 90px 110px 100px 1fr 1fr 160px 150px;
	border-top: 1px solid rgb(0 0 0 / 10%);
	line-height: 1.25;
	background-color: #fff;
}

.task__table-row:nth-child(2n) {
	background-color: #f8f8f8;
}

.task__table-row div {
	position: relative;
	padding: 10px;
	border-right: 1px solid #e8e8e8;
}

.new__task-status {
	font-size: 16px;
	border: 0;
	cursor: pointer;
	display: block;
	width: 100%;
	background: 0;
	color: var(--blue);
	outline: none;
	transition: all 0.3s ease;
}

.new__task-status:hover {
	opacity: 0.75;
}

.new__task-status option {
	color: var(--dark);
}

.task__table-header div:last-child,
.task__table-row div:last-child {
	border: 0;
}

.task__table-row input {
	width: 100%;
	border: 0;
	background: 0;
	text-align: center;
	font-size: 16px;
	cursor: pointer;
	outline: none;
	border-radius: 2px;
	outline-offset: 2px;
	outline: 2px solid transparent;
	transition: all 0.3s ease;
}

.task__table-row input:focus {
	outline: 2px solid var(--dark);
}

.task__table-row input:hover {
	background-color: #e8e8e8;
}

.task__table-row input.invalid {
	outline: 2px solid var(--red);
}

.save__button {
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: var(--green);
	border: 0;
	color: #fff;
	padding: 0 12px;
	width: 135px;
	height: calc(100% - 10px);
	z-index: 2;
	border-radius: 6px;
	font-size: 13px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.save__button:hover {
	background: #75b175;
}

.search__value,
.page__title {
	font-size: 20px;
	line-height: 20px;
	max-width: 500px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.search__value b {
	font-weight: 500;
}

.make__search {
	cursor: pointer;
	transition: all 0.3s ease;
}

.make__search:hover {
	color: var(--blue);
}

.popup__add-new-task .popup {
	max-width: 500px;
}

/* Calculator */
.popup__wrap {
	display: none;
	align-items: center;
	padding: 0 15px;
	position: fixed;
	overflow-y: auto;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 100;
}

.popup__wrap.active {
	display: grid;
}

.calculator__popup-wrap .popup {
	max-width: 460px;
}

.popup__wrap .popup .popup__close {
	background: transparent;
	border: 0;
	position: absolute;
	top: 30px;
	right: 30px;
	cursor: pointer;
	width: 30px;
	height: 30px;
	opacity: 0.7;
	transition: opacity 0.3s ease;
}

.popup__wrap .popup .popup__close:hover {
	opacity: 1;
}

.popup__wrap .popup .popup__close svg {
	pointer-events: none;
}

.calc__form svg {
	width: 125px;
	margin-top: 2px;
}

.form__cell {
	position: relative;
	margin-top: 15px;
}

.form__cell input {
	display: block;
	width: 100%;
	padding: 25px 20px 8px;
	font-size: 16px;
	border: 1px solid #ebebeb;
	background: #f8f8f8;
	border-radius: 10px;
	font-weight: 600;
	transition:
		background-color 0.3s ease,
		border-color 0.3s ease;
	color: var(--dark);
	outline: none;
}

.form__cell input:focus {
	background-color: #fff;
	border-color: var(--blue);
}

.form__cell input:focus ~ label,
.form__cell input:valid ~ label {
	top: 10px;
	font-size: 11px;
	left: 21px;
}

.form__cell input.invalid {
	border-color: var(--red);
}

.form__cell input.invalid ~ label {
	top: 10px;
	font-size: 11px;
	left: 21px;
	color: var(--red);
}

.form__cell label {
	color: #7e899a;
	font-size: 14px;
	position: absolute;
	z-index: 1;
	top: 18px;
	left: 21px;
	transition: all 0.3s ease;
	pointer-events: none;
}

.form__cell-title {
	font-size: 20px;
	font-weight: 700;
	margin: 15px 0 -10px 3px;
}

.form__btn {
	background: var(--blue);
	color: #fff;
	font-size: 18px;
	font-weight: 500;
	border: 0;
	border-radius: 10px;
	padding: 15px 40px;
	text-decoration: none;
	transition: background 0.3s ease;
	display: block;
	margin: 30px auto 0;
	cursor: pointer;
	width: 100%;
}

.form__btn:hover {
	background: #0069e0;
}

.form__btn.disabled__btn,
.form__btn.disabled__btn:hover {
	cursor: default;
	background-color: #ccc;
}

.cp_calc__input {
	position: relative;
	margin-top: 25px;
	z-index: 1;
}

.cp_calc__input:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 7px;
	background-color: #a9b5c8;
	z-index: 2;
	border-radius: 0 0 10px 10px;
}

.cp_calc__input::before {
	content: 'руб.';
	position: absolute;
	bottom: 17px;
	right: 20px;
	color: var(--dark);
	font-size: 17px;
	font-weight: 600;
	z-index: 2;
}

.cp_calc__input:last-child:before {
	content: 'мес.';
}

.cp_calc__input label {
	display: block;
	font-size: 18px;
	font-weight: 500;
	margin-bottom: 5px;
}

.cp_calc__input input {
	position: relative;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	outline: none;
}

.cp_calc__input input[type='range']::-webkit-slider-runnable-track {
	height: 7px;
	background: transparent;
}

.cp_calc__input input[type='range']::-webkit-slider-thumb {
	background: #fff;
	cursor: pointer;
	width: 20px;
	height: 20px;
	-webkit-appearance: none;
	margin-top: -6.5px;
	border-radius: 10em;
	border: 5px solid #728095;
	filter: drop-shadow(0 0 5px rgba(0 0 0 / 10%));
}

.cp_calc__input input[type='range']::-moz-range-track {
	height: 7px;
	background: transparent;
}

.cp_calc__input input[type='range']::-moz-range-thumb {
	background: #fff;
	cursor: pointer;
	width: 11px;
	height: 11px;
	border-radius: 10em;
	border: 5px solid #728095;
}

.cp_calc__input input[type='tel'] {
	display: block;
	width: 100%;
	border-radius: 7px;
	text-align: right;
	font-size: 22px;
	color: var(--dark);
	font-weight: 500;
	padding: 10px 55px 15px 10px;
	margin: 0;
	line-height: 1;
	border: 1px solid #ebebeb;
	background: #f8f8f8;
	z-index: 1;
	height: 59.4px;
	transition: all 0.3s ease;
}

.cp_calc__input input[type='tel']:focus {
	background: #fff;
	border-color: #a9b5c8;
	box-shadow: inset 0 0 0 1px #a9b5c8;
}

.cp_calc__input:nth-child(3) input[type='tel'] {
	padding-right: 57px;
}

.cp_calc__input input[type='range'] {
	display: block;
	width: calc(100% + 10px);
	margin: -7px 0 0 -5px;
	background-color: transparent;
	z-index: 3;
}

@-moz-document url-prefix() {
	.cp_calc__input input[type='range'] {
		margin-top: -12px;
	}
	.cp_calc__input::before {
		bottom: 23px;
	}
	.cp_calc__input::after {
		bottom: 5px;
	}
	.cp_calc__input label {
		top: 17px;
	}
}

.cp_calc__results {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	margin-top: 30px;
	gap: 10px;
}

.cp_calc__result--wrap {
	text-align: center;
	background-color: #f8f8f8;
	border-radius: 10px;
	padding: 10px;
	border: 1px solid #e8e8e8;
}

.cp_result__label {
	line-height: 1.2;
	font-size: 14px;
	font-weight: 600;
}

.cp_calc__result {
	position: relative;
	font-weight: 700;
	margin-top: 8px;
	padding-top: 8px;
}

.cp_calc__result::before {
	content: '';
	width: 100%;
	height: 1px;
	left: 0;
	top: 0px;
	background-color: #e8e8e8;
	position: absolute;
}

.cp_calc__btn {
	background: var(--blue);
	color: #fff;
	font-size: 20px;
	font-weight: 500;
	border: 0;
	border-radius: 10px;
	padding: 15px 30px 15px 40px;
	text-decoration: none;
	transition: background 0.3s ease;
	display: block;
	margin: 30px auto 0;
	cursor: pointer;
	width: 100%;
}

.cp_calc__btn:hover {
	background: #0069e0;
}

.cp_calc__btn svg {
	width: 22px;
	margin-left: 5px;
	margin-bottom: -6px;
}

.cp_calc__btn-alt {
	margin-top: 15px;
	background: var(--dark);
	color: #fff;
	padding: 15px 30px;
}

.cp_calc__btn-alt:hover {
	background: #000;
}

.cp__steps .cp__step-2 {
	display: none;
}

.cp__steps.active .cp__step-1 {
	display: none;
}

.cp__steps.active .cp__step-2 {
	display: block;
}

.cp_back__btn {
	display: none;
	position: absolute;
	top: 27px;
	left: 23px;
	background: 0;
	border: 0;
	cursor: pointer;
	transition: all 0.3s ease;
}

.cp_back__btn:hover {
	opacity: 0.75;
}

.cp_product__info {
	font-size: 18px;
	font-weight: 700;
	margin: 10px 0 20px;
}

.cp-v2,
.cp__steps-v2 .cp-v1 {
	display: none;
}

.cp__steps-v2 .cp-v2 {
	display: block;
}

/* Calculator */

.add__done {
	display: none;
	text-align: center;
	margin: 50px 0;
}

.add__done h2 {
	font-size: 20px;
	font-weight: 500;
	color: #728095;
	margin-top: 10px;
}

.page404 {
	height: 100%;
	display: grid;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 40px 0;
	overflow: auto;
}

.page404 .icon404 {
	font-size: 200px;
	font-weight: 700;
	color: #728095;
	opacity: 0.2;
	line-height: 145px;
	pointer-events: none;
	user-select: none;
}

.page404 h1 {
	color: #728095;
	font-size: 35px;
	font-weight: 500;
	position: relative;
}

.page404 a {
	display: inline-block;
	color: #fff;
	background-color: var(--blue);
	font-size: 18px;
	padding: 12px 30px;
	border-radius: 10px;
	margin-top: 30px;
	transition: all 0.3s ease;
}

.page404 a:hover {
	opacity: 0.75;
}

.task__single,
.task__single-edit {
	background-color: #fff;
	border: 1px solid #e8e8e8;
	padding: 30px;
	border-radius: 10px;
}

.task__single-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 30px;
	margin: -4px 0 20px;
}

.task__single-title {
	line-height: 1;
	font-size: 26px;
	font-weight: 500;
	color: #728095;
}

.task__single-top-date {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 15px;
	line-height: 1;
	color: #728095;
}

.task__single-top-date > div {
	display: flex;
	align-items: center;
	gap: 5px;
}

.task__single-main {
	display: grid;
	grid-template-columns: 1fr;
	justify-content: space-between;
	gap: 30px;
}

.task__single-controls {
	display: flex;
	justify-content: space-between;
}

.task__single-controls > div {
	display: flex;
	gap: 14px;
}

.delete__btn {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 17px;
	color: var(--red);
	background: rgb(216 49 43 / 10%);
	border: 0;
	padding: 10px;
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.delete__btn svg {
	pointer-events: none;
}

.delete__btn:hover,
.edit__btn:hover {
	opacity: 0.75;
}

.edit__btn {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 17px;
	color: var(--blue);
	background: rgb(34 119 255 / 12%);
	border: 0;
	padding: 10px 30px 10px 25px;
	border-radius: 10px;
	cursor: pointer;
	line-height: 1;
	transition: all 0.3s ease;
}

.delete__popup .popup {
	max-width: 500px;
}

.delete__form {
	text-align: center;
	margin-top: 15px;
}

.delete__form h3 {
	font-size: 18px;
	font-weight: 400;
	color: var(--red);
	margin-bottom: 5px;
}

.delete__form input {
	text-align: center;
	border: 1px solid #e8e8e8;
	border-radius: 10px;
	padding: 12px;
	font-size: 16px;
	background: #f8f8f8;
	margin-top: 15px;
}

.delete__form button {
	display: table;
	font-size: 17px;
	color: var(--red);
	background: rgb(216 49 43 / 10%);
	border: 0;
	padding: 10px 30px;
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.3s ease;
	margin: 15px auto 0;
}

.delete__form button:hover {
	background: rgb(216 49 43 / 30%);
}

.delete__captcha {
	display: inline-block;
	font-weight: 500;
	background-color: #f0f0f0;
	padding: 1px 8px;
	border-radius: 6px;
}

.task__single-data p {
	display: grid;
	grid-template-columns: 250px 1fr;
	border-bottom: 1px solid #e8e8e8;
	border-left: 1px solid #e8e8e8;
	border-right: 1px solid #e8e8e8;
	background-color: #fbfbfb;
}

.task__single-data p:first-child {
	border-top: 1px solid #e8e8e8;
	border-radius: 10px 10px 0 0;
}

.task__single-data p:last-child {
	border-radius: 0 0 10px 10px;
}

.task__single-data p text {
	padding: 8px 14px 7px;
}

.task__single-data p span {
	display: block;
	font-weight: 500;
	padding: 8px 14px 7px;
	border-left: 1px solid #e8e8e8;
}

.task__single-data p.task__single-sep {
	margin-top: 15px;
	border-top: 1px solid #e8e8e8;
}

.task__single-table-title {
	display: block;
	padding: 8px 14px 7px;
	font-size: 20px;
}

.print__btn {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 17px;
	color: var(--green);
	background: rgb(73 153 73 / 12%);
	border: 0;
	padding: 10px;
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.print__data {
	display: none;
}

.print__btn:hover {
	opacity: 0.75;
}

.generate-pdf__btn {
	display: flex;
	background: rgb(216 144 44 / 12%);
	border: 0;
	padding: 10px;
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.generate-pdf__btn:hover {
	opacity: 0.75;
}

.generate-pdf__btn.active:hover {
	opacity: 1;
}

.generate-pdf__btn.active {
	cursor: default;
}

.generate-pdf__btn.active .btn-pdf-icon,
.generate-pdf__btn .btn-pdf-loader {
	display: none;
}

.generate-pdf__btn.active .btn-pdf-loader {
	display: block;
	will-change: transform;
	animation: rotate 1.5s linear infinite;
}

@keyframes rotate {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

.save__btn {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 17px;
	color: var(--blue);
	background: rgb(34 119 255 / 12%);
	border: 0;
	padding: 10px 30px 10px 25px;
	border-radius: 10px;
	line-height: 1;
	cursor: pointer;
	transition: all 0.3s ease;
}

.save__btn:hover {
	opacity: 0.75;
}

.task__single-edit-data {
	width: 50%;
}

.task__single-edit-data .form__cell:first-child {
	margin-top: 0;
}

.edit__select {
	position: relative;
}

.edit__select select {
	display: block;
	width: 100%;
	padding: 25px 20px 8px;
	font-size: 16px;
	border: 1px solid #ebebeb;
	background: #f8f8f8;
	border-radius: 10px;
	font-weight: 600;
	transition:
		background-color 0.3s ease,
		border-color 0.3s ease;
	color: var(--dark);
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}

.edit__select svg {
	position: absolute;
	top: 50%;
	right: 12px;
	transform: translateY(-50%);
	pointer-events: none;
}

.edit__select label {
	top: 10px;
	font-size: 11px;
	left: 21px;
}

.mobile__menu-btn,
.mobile__search {
	display: none;
}

.accordeon-trigger {
	position: relative;
	cursor: pointer;
	user-select: none;
}

.accordeon-trigger svg {
	position: absolute;
	right: 10px;
	transform: rotate(90deg);
	transition: transform 0.3s;
	top: 8px;
}

.accordeon-trigger.active svg {
	transform: rotate(270deg);
}

.accordeon-box .accordeon-content {
	display: none;
}

/* Media CSS */
@media (max-width: 1380px) {
	.task__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.calendar__day {
		height: auto;
	}

	.task__count-btn {
		white-space: nowrap;
	}

	.task__count-btn span {
		display: block;
	}

	.task__single-edit-data {
		width: 75%;
	}

	.popup__calendar-tasks .task__grid {
		display: flex !important;
		flex-wrap: wrap;
	}

	.popup__calendar-tasks .task__grid .task__item {
		width: calc(90% / 3);
		flex: 1 1 auto;
		max-width: 100%;
	}
}

@media (max-width: 1200px) {
	.task__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.search__value,
	.page__title {
		max-width: 330px;
	}

	.form__search input {
		width: 220px;
	}

	.task__count-btn {
		font-size: 13px;
	}
}

@media (max-width: 960px) {
	.popup__calendar-tasks .task__grid .task__item {
		width: calc(90% / 2);
	}

	.popup__calendar-tasks .popup {
		min-width: auto;
	}
}

@media (max-width: 960px) {
	body {
		overflow-y: auto;
	}
	#app {
		display: block;
	}

	.sidebar {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		border-bottom: 1px solid #e8e8e8;
		border-right: 0;
		z-index: 2;
	}

	.logo {
		position: relative;
		justify-content: center;
		z-index: 5;
	}

	.mobile__menu-btn {
		display: grid;
		gap: 6px;
		position: absolute;
		top: 50%;
		left: 20px;
		transform: translateY(-50%);
		cursor: pointer;
	}

	.mobile__menu-btn span {
		display: block;
		width: 30px;
		height: 2px;
		border-radius: 2px;
		background-color: #636363;
		transition: all 0.3s ease;
	}

	.mobile__menu-btn.active span:nth-child(2) {
		opacity: 0;
	}

	.mobile__menu-btn.active span:nth-child(1) {
		transform: translateY(8px) rotate(45deg);
	}

	.mobile__menu-btn.active span:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}

	.main__menu {
		position: absolute;
		width: 290px;
		top: 64px;
		left: -100%;
		border-right: 1px solid #e8e8e8;
		opacity: 0;
		transition:
			left 0.3s ease,
			opacity 0.3s ease;
	}

	.main__menu.active {
		left: 0;
		opacity: 1;
		box-shadow: 0 0 20px rgb(0 0 0 / 20%);
		z-index: 4;
	}

	.form__search input {
		pointer-events: none;
		width: 0;
		opacity: 0;
		overflow: hidden;
		transition: all 0.3s ease;
	}

	.form__search.active input {
		pointer-events: all;
		width: 100%;
		opacity: 1;
		overflow: auto;
	}

	.form__search button {
		top: 8px;
		right: 3px;
		width: 28px;
		height: 28px;
		background: 0;
		padding-top: 0;
	}

	.form__search button svg {
		pointer-events: none;
		width: 28px;
		height: 28px;
		stroke: #636363;
		transition: all 0.3s ease;
	}

	.form__search.active button {
		width: 33px;
		height: 33px;
		top: 6px;
		right: 6px;
		background: #b8babe;
		border: 0;
		padding-top: 2px;
	}

	.form__search.active button svg {
		width: 18px;
		height: 18px;
		stroke: #fff;
	}

	#content {
		padding-top: 64px;
	}

	.content__header {
		background-color: transparent;
	}

	.content__header--right {
		position: fixed;
		top: 10px;
		right: 20px;
		width: calc(100% - 90px);
		text-align: right;
		z-index: 6;
	}

	.content__render {
		overflow: hidden;
		height: 100%;
		border-top: 0;
		padding-top: 0;
		padding-bottom: 80px;
	}

	.pagination {
		margin: 30px 0 0;
	}

	.task__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.content__add-btn {
		position: fixed;
		right: 17px;
		bottom: 17px;
		z-index: 5;
	}

	.content__add-btn svg {
		width: 45px;
		height: 45px;
		fill: #fff;
	}

	.content__header--left:after {
		display: none;
	}

	.content__header {
		display: block;
		height: auto;
		padding: 18px 20px;
	}

	.search__value,
	.page__title {
		max-width: 100%;
		overflow: initial;
		white-space: normal;
		line-height: 1.4;
	}
}

@media (max-width: 875px) {
	.task__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.task__count-btn span {
		display: none;
	}

	.task__single-title {
		font-size: 23px;
	}

	.task__single-top-date,
	.task__single-top {
		gap: 10px;
	}
}

@media (max-width: 600px) {
	.task__grid {
		grid-template-columns: repeat(1, 1fr);
	}

	.task__grid .task__item .task__more,
	.task__grid .task__item:hover .task__more {
		transform: scale(1.2) translateX(0);
		opacity: 0.75;
	}

	.pagination ul {
		gap: 7px;
	}

	.pagination ul li a {
		width: 35px;
		height: 35px;
		border-radius: 6px;
	}

	.content__render .calendar {
		width: calc(100% + 38px);
		margin-left: -19px;
	}

	.calendar__day {
		padding: 14px 0 0;
		min-height: 77px;
	}

	.task__count-btn {
		padding: 6px 0;
		border-radius: 0;
	}

	.task__single-top {
		flex-direction: column;
	}

	.task__single,
	.task__single-edit {
		background-color: transparent;
		border: 0;
		padding: 5px 0 0;
		border-radius: 0;
	}

	.task__single-data p {
		background-color: #fff;
		grid-template-columns: 1fr;
		gap: 3px;
	}

	.task__single-data p text {
		padding-bottom: 0;
	}

	.task__single-data p span {
		padding-top: 0;
		border-left: 0;
	}

	.content__header--left {
		text-align: center;
		justify-content: center;
	}

	.task__single-edit-data {
		width: 100%;
	}

	.form__cell input,
	.edit__select select {
		background: #fff;
	}

	.print__btn {
		display: none;
	}

	.task__single-edit .task__single-controls > div {
		width: 100%;
		justify-content: space-between;
	}
}

@media (max-width: 475px) {
	.logo svg {
		width: 210px;
	}

	.popup__title {
		font-size: 20px;
		padding-top: 3px;
	}

	.cp_calc__results {
		grid-template-columns: 1fr 1fr;
	}

	.cp_calc__result--wrap:last-child {
		grid-column: 1/3;
	}

	.cp_popup__title {
		font-size: 22px;
		margin-top: -4px;
	}

	.cp_result__label span {
		display: block;
	}

	.popup__calendar-tasks .task__grid .task__item {
		min-width: 100%;
	}

	.popup {
		border-radius: 15px;
	}
}
