/* import style from guests pages */
@import "style.css";

/* Header with aside*/
/* header for log-in users */
.wrapper_aside {
	display: flex;
	justify-content: center;
	width: 100%;
	height: auto;
}
.header_container.aside {
	height: 75px;
	max-width: calc(100% - 30px);
	margin-right: 0;
	padding: 0;
	justify-content: space-between;
	background: transparent;
}

.header_nav.aside {
	background: var(--bg-color);
	border-radius: var(--border-radius);
	height: 75px;
	width: 70%;
	display: flex;
	justify-content: space-around;
	align-items: center;
	padding: 0 15px;
	/* Змушує навігаційне меню займати весь доступний простір */
	flex-grow: 1;
}

.aside .header_nav_item {
	margin: auto 10px;
}

.aside .header_nav_item a {
	color: #838383;
}

.header_profile_wrapper {
	display: flex;
}

.header_profile_block {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin: 0 10px 0 40px;
}

.header_initials_block img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  border-radius: 20%;
}

.header_initials_block {
	height: 50px;
	min-width: 50px;
	font-size: 25px;
	font-weight: 700;
	color: white;
	background: var(--red-color);
	border-radius: 15px;
}

.header_initials_block span {
	margin: auto;
	line-height: 50px;
	text-align: center;
}

.header_name_block {
	width: 100%;
	height: auto;
	color: black;
	font-size: 18px;
	font-weight: 700;
	display: flex;
	flex-direction: column;
	align-items: start;
	border-radius: 5px;
}

.header_name_block span {
	width: auto;
}

.header_name_block span::first-letter {
	text-transform: uppercase;
}

.header_profile_wrapper a {
	padding: 0;
}

.edit_btn img {
	width: 100%;
	height: 25px;
	width: 25px;
	margin: auto 15px auto 8px;
	color: var(--grey-color);
}

.header_mobile_wrapper {
	display: none;
}
/* Header with aside end*/

/* Sidebar */
.sidebar {
	height: auto;
	width: 320px;
	flex-direction: column;
	justify-content: start;
	color: white;
	margin: 40px 0 25px 0;
	border-radius: var(--border-radius);
}

.mobile_profile_block {
	display: none;
}

.sidebar_logo {
	border-radius: 30px 30px 0 0;
	text-align: center;
	padding: 60px 25px 115px 25px;
	background-color: var(--main-blue-color);
	transition: all 0s ease;
}

.sidebar_logo.adjacent_previous {
	border-bottom-right-radius: 30px;
}

.close_mob_menu {
	display: none;
}

.sidebar_sticky_wrapper {
	position: sticky;
	top: 30px;
}

.sidebar_image {
	padding: 20px;
	text-align: center;
	margin-bottom: 50px;
	background-color: var(--main-blue-color);
	border-radius: 0 0 30px 30px;
	transition: all 0s ease;
}

.sidebar_image.adjacent_next {
	border-top-right-radius: 30px;
}

.sidebar_nav_item {
	font-size: 20px;
	font-weight: 500;
	text-align: left;
	background-color: var(--main-blue-color);
	white-space: nowrap;
	padding-left: 45px;
	transition: all 0s ease;
	margin: -1px 0;
}

.sidebar_nav_item a {
	display: flex;
	align-items: center;
	color: white;
	text-decoration: none;
	padding: 14px 16px 14px 24px;
	transition: all 0s ease;
}

.sidebar_nav_item a:before {
	content: "";
	margin-right: 10px;
	display: inline-block;
	background-size: 25px 25px;
	width: 25px;
	height: 25px;
}

.sidebar_nav_item.active a:before {
	filter: invert(41%) sepia(100%) saturate(3410%) hue-rotate(332deg)
		brightness(91%) contrast(86%);
}

.sidebar_nav_item:first-child a:before {
	background-image: url(../img/info_aside.svg);
}
.sidebar_nav_item:nth-child(2) a:before {
	background-image: url(../img/pay_aside.svg);
}
.sidebar_nav_item:nth-child(3) a:before {
	background-image: url(../img/docs_aside.svg);
}
.sidebar_nav_item:nth-child(4) a:before {
	background-image: url(../img/wallet_aside.svg);
}
.sidebar_nav_item:nth-child(5) a:before {
	background-image: url(../img/statments_aside.svg);
}
.sidebar_nav_item:nth-child(6) a:before {
	background-image: url(../img/user_aside.svg);
	filter: brightness(0) invert(1);
}
.sidebar_nav_item:nth-child(7) a:before {
	background-image: url(../img/faq_aside.svg);
}
.sidebar_nav_item.active:nth-child(6) a:before{
	filter:unset;
}
.sidebar_nav_item.adjacent_previous {
	border-radius: 0 0 30px 0;
}

.sidebar_nav_item.adjacent_next {
	border-radius: 0 30px 0 0;
}

.sidebar_nav_item.active a {
	background-color: #fff;
	color: var(--red-color);
	border-radius: 60px 0 0 60px;
}
/* Sidebar end*/

/* Main styles for modal window */
.modal {
	display: none;
	position: fixed;
	z-index: 10000;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	justify-content: center;
	align-items: center;
}

.modal_content {
	position: relative;
	background-color: white;
	margin: auto;
	padding: 45px;
	border-radius: var(--border-radius);
	max-width: 450px;
	width: 100%;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	/* якщо потрібно буде додати скрол */
	/* height: fit-content;
  max-height: 90vh;
  overflow: auto; */
}

.modal_content .close_btn {
	position: absolute;
	right: 30px;
	top: 15px;
	font-size: 65px;
	font-weight: 600;
	cursor: pointer;
}

.modal_content h1 {
	font-size: 35px;
	font-weight: 700;
	text-align: center;
	width: 85%;
	margin: 20px auto 23px auto;
}

.modal_content p {
	font-size: 20px;
	font-weight: 300;
	font-style: italic;
	text-align: center;
	margin-bottom: 30px;
}
/* Main styles for modal window end*/

/* Main General info */
.general_info {
	display: flex;
	flex-direction: column;
	width: 100%;
	margin-bottom: 25px;
}

.welcome_section {
	margin: 0 auto 20px 125px;
}

.main h2 {
	font-size: 33px;
	font-weight: 600;
	text-align: left;
	color: var(--grey-color);
	/* margin: 30px; */
}

.blocks_section {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 35px;
	justify-content: end;
	margin-bottom: 25px;
}

.block {
	border-radius: var(--border-radius);
	width: 100%;
	height: auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background-color: var(--bg-color);
}

.block_money_wrapper {
	grid-column: 2 span;
	display: flex;
	gap: 20px;
	flex-direction: row;
	width: 100%;
}

.block_money,
.block_month_paid {
	position: relative;
	height: 175px;
	align-items: start;
	font-size: 30px;
	font-weight: 500;
	color: #fff;
	padding: 0 35px;
	/* white-space: nowrap; */
	text-transform: lowercase;
}

.block .current_money {
	font-size: 55px;
	font-weight: 700;
	text-align: left;
}

.block .current_money::after {
	content: "₴";
}

.block_money {
	background: var(--red-color);
}

.block_month_paid {
	background: var(--blue-color);
}

.last_date_paid {
	position: absolute;
	right: 50px;
	top: 44px;
	font-size: 16px;
	font-weight: 300;
}

.block h3 {
	font-size: 25px;
	font-weight: 600;
	text-align: left;
	color: var(--grey-color);
	margin: 0 0 10px 20px;
}

.block_dynamic,
.block_history {
	height: 270px;
	align-items: start;
	justify-content: start;
	/* padding: 20px 15px 23px 36px; */
	padding: 20px 15px;
}

.dynamic_info,
.history_diagram {
	width: 100%;
}

.block_dynamic .row {
	display: flex;
	justify-content: space-between;
	margin-bottom: 3px;
}

.grid_item {
	padding: 5px 5px 5px 15px;
	flex: 1;
	text-align: left;
}

.block_dynamic .row {
	color: var(--blue-color);
	font-size: 18px;
	font-weight: 400;
	text-align: left;
}

.block_dynamic .row_title {
	background-color: #5ca1b7b2;
	border-radius: 13px;
	font-size: 22px;
	font-weight: 500;
	text-align: left;
	color: #fff;
	margin-bottom: 10px;
}

.row_title .grid_item:last-child {
	margin-right: 15px;
}

.grid_container {
	overflow: auto;
	width: 100%;
	max-height: 120px;
}

/* Стилізуємо весь скроллбар*/
.grid_container::-webkit-scrollbar {
	width: 7px;
	height: 60px;
}

/* Стилізуємо трек (фон скроллбару) */
.grid_container::-webkit-scrollbar-track {
	background-color: var(--bg-color);
}

/* Стилізуємо повзунок (власне скролл) */
.grid_container::-webkit-scrollbar-thumb {
	background-color: #d9d9d9;
	border-radius: var(--border-radius);
}

.grid_container::-webkit-scrollbar-thumb:hover {
	background-color: #555;
}

/* Стилі тільки для Firefox */
@-moz-document url-prefix() {
	.grid_container {
		/* Тонкий скроллбар */
		scrollbar-width: thin;
		/* Колір повзунка та треку */
		scrollbar-color: #d9d9d9 var(--bg-color);
	}
}

#amount::after {
	content: "₴";
	margin-left: 5px;
}

.block_info {
	height: 205px;
	width: 100%;
	grid-column: span 2;
	background-color: var(--bg-color);
	padding: 45px;
}

.block_info .row {
	width: 100%;
	height: auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.item {
	padding: 8px 0;
	text-align: center;
	font-size: 22px;
	font-weight: 400;
	text-align: left;
	color: var(--grey-color);
}

.divider,
.divider_second {
	border: none;
	width: 100%;
	border-bottom: 2px solid #838383;
}

.divider_second {
	display: none;
}

.item_info {
	font-size: 25px;
	font-weight: 600;
	text-align: left;
}

.item_date {
	font-size: 16px;
	font-weight: 300;
	text-align: left;
	color: var(--red-color);
}

.item_asset {
	font-size: 26px;
	font-weight: 700;
	text-align: left;
}
.item_asset::after {
	content: "₴";
}

.item_income span:last-child {
	margin-left: 80px;
}

.item_income span:last-child::after {
	content: "%";
	margin-left: 3px;
}
/* Main General info end*/

/* User data page */
.personal_data_info,
.passport_data_info,
.security_data_info {
	background-color: var(--bg-color);
	border-radius: var(--border-radius);
}

.personal_data_block,
.passport_data_block {
	margin-bottom: 40px;
}

.personal_data_info {
	padding: 36px 25px;
}

.main h3 {
	font-size: 25px;
	font-weight: 600;
	color: var(--grey-color);
	margin-bottom: 25px;
}

/* main form styles */
.form input,
.form button,
.form select,
.button {
	display: block;
	width: 100%;
	background: #5ca1b7b2;
	color: #fff;
	padding: 5px 25px;
	margin-bottom: 19px;
	border-radius: 13px;
	font-size: 21px;
	font-weight: 700;
}

.button {
	cursor: pointer;
}

.form select {
	font-weight: normal;
}

.form button,
.button {
	background: var(--red-color);
	font-size: 24px;
	transition: transform 0.1s, box-shadow 0.1s;
	text-align: center;
	padding: 11px 7px;
}

.button:active,
.form button:active {
	transform: translateY(4px);
	box-shadow: 0px 0px 10px 0px rgba(65, 65, 65, 0.2);
}

.form input::placeholder,
.form input:focus,
.form select:focus,
.button:focus {
	color: #fff;
	font-size: 21px;
	font-weight: 500;
	/* text-align: left; */
}

/* Для Chrome, Safari, Edge (на базі Chromium) */
.form input:-webkit-autofill {
	background: #5ca1b7b2 !important;
	color: #fff !important;
	-webkit-text-fill-color: white !important;
	font-weight: 500 !important;
	box-shadow: 0 0 0 1000px #5ca1b7b2 inset !important;
	border: 1px solid #5ca1b7b2 !important;
}

/* Для Firefox */
.form input:-moz-autofill {
	background-color: #5ca1b7b2 !important;
	color: #fff !important;
	-moz-text-fill-color: white !important;
	font-weight: 500 !important;
	box-shadow: 0 0 0 1000px #5ca1b7b2 inset !important;
	border: 1px solid #5ca1b7b2 !important;
}

/* Для Edge (на базі Chromium) і Internet Explorer */
.form input:-ms-autofill {
	background-color: #5ca1b7b2 !important;
	color: #fff !important;
	font-weight: 500 !important;
	box-shadow: 0 0 0 1000px #5ca1b7b2 inset !important;
	border: 1px solid #5ca1b7b2 !important;
}

.form input::-moz-placeholder,
:-moz-placeholder {
	opacity: 1;
}

/* скидаємо жирний шрифт */
input:valid {
	font-weight: 600;
}

input:invalid {
	font-weight: 600;
}

.form label {
	margin-left: 25px;
	text-align: left;
}

/* White input */
input.input_white {
	color: var(--main-blue-color);
	background: #fff;
	box-shadow: 0px 4px 4px 0px #0000001a;
}

/* Для Chrome, Safari, Edge (на базі Chromium) */
input.input_white:-webkit-autofill {
	background: white !important;
	color: #69a7ba !important;
	-webkit-text-fill-color: var(--main-blue-color) !important;
	font-weight: 500 !important;
	box-shadow: 0 0 0 1000px white inset !important;
	border: 1px solid white !important;
}

/* Для Firefox */
input.input_white:-moz-autofill {
	background-color: white !important;
	color: #69a7ba !important;
	-webkit-text-fill-color: var(--main-blue-color) !important;
	font-weight: 500 !important;
	box-shadow: 0 0 0 1000px white inset !important;
	border: 1px solid white !important;
}

/* Для Edge (на базі Chromium) і Internet Explorer */
input.input_white:-ms-autofill {
	background-color: white !important;
	color: #69a7ba !important;
	-webkit-text-fill-color: var(--main-blue-color) !important;
	font-weight: 500 !important;
	box-shadow: 0 0 0 1000px white inset !important;
	border: 1px solid white !important;
}

input.input_white::placeholder {
	color: var(--main-blue-color);
}

input.input_white:focus {
	color: var(--main-blue-color);
	font-weight: 500;
}

/* Main form styles end*/

.user_data form {
	display: flex;
	justify-content: space-between;
}

.user_photo {
	max-width: 190px;
	height: 225px;
	overflow: hidden;
	margin-right: 30px;
	position: relative;
	display: inline-block;
}

.user_photo img {
	border-radius: var(--border-radius);
	width: 100%;
	height: 100%;
	object-fit: cover;
	cursor: pointer;
}

.user_photo_overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.3);
	border-radius: 30px;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #fff;
	font-size: 14px;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.3s ease;
}

#user_photo{
  display: none;
}

.form_section {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 7px;
}

.name_info {
	margin-right: 30px;
}

.contact_info {
	margin-left: 10px;
}

.user_data_form .save_btn {
	margin-top: 10px;
}

.passport_data_info,
.security_data_info {
	padding: 36px 50px;
}

.passport_data_form > div {
	width: 100%;
}

.passport_data_info input {
	width: 80%;
}

.passport_data {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-end;
}

.passport_data input,
.passport_data button {
	width: 100%;
}

.passport_data_btn {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	width: 100%;
}

.passport_data_btn button {
	width: 100%;
}

.passport_data_btn label {
	display: inline-flex;
	align-items: center;
	max-width: 295px;
	margin: auto 0 35px 0;
}

.passport_data_btn input {
	margin: auto 11px;
	width: auto;
}

.passport_data .upload_section {
	text-align: left;
	margin-top: 20px;
	max-width: 295px;
}

.passport_data .upload_text {
	color: var(--red-color);
	font-size: 16px;
	margin-bottom: 15px;
	font-style: italic;
	font-weight: 500;
}

.passport_data .upload_plus {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	background-color: white;
	cursor: pointer;
	transition: background-color 0.3s;
	box-shadow: 0px 4px 4px 0px #0000001a;
	margin-bottom: 15px;
}

.passport_data .fa-plus {
	font-size: 50px;
	color: var(--red-color);
}

.passport_data .upload_plus:hover {
	background-color: var(--red-color);
	color: #fff;
}

.passport_data .file_input {
	display: none;
}

.passport_data .fa-plus:hover {
	color: white;
}

.passport_data .file_list {
	display: flex;
	flex-wrap: wrap;
	padding: 0;
	margin: 10px 0;
	color: #555;
	max-width: 295px;
}

.passport_data .file_list li {
	margin: 5px;
	background-color: #f9f9f9;
	padding: 5px;
	border: 1px solid #ddd;
	border-radius: 7px;
	font-size: 20px;
}

.passport_data .file_list li:first-child {
	margin-left: 0;
}

.passport_data .file_list li:last-child {
	margin-right: 0;
}

.passport_data.file_list .fa-circle-xmark {
	font-size: 20px;
}

.passport_data .file_list .fa-circle-xmark:hover {
	color: var(--red-color);
}

.passport_data .file_preview {
	width: 50px;
	height: 50px;
	object-fit: cover;
	margin-right: 10px;
	border-radius: 5px;
}

.upload_section.disabled i,
.upload_section.disabled p{
  pointer-events: none;
	color: #959ea9;
}

.passport_data .save_btn[disabled]{
  background: #959ea9;
}

.upload_section.disabled .upload_plus:hover{
	background-color: white;
}

.passport_data .save_btn[disabled]:active {
	transform: unset;
}

#changed_fields {
	max-height: 400px;
	overflow-y: auto;
}

/* Стилізуємо сам скрол */
#changed_fields::-webkit-scrollbar {
	width: 8px; /* Ширина скролу */
}

/* Стилізуємо трек скролу */
#changed_fields::-webkit-scrollbar-track {
	background: #f1f1f1; /* Колір фону треку */
	border-radius: 10px; /* Закруглені кути */
}

/* Стилізуємо повзунок (scrollbar-thumb) */
#changed_fields::-webkit-scrollbar-thumb {
	background-color: #888; /* Колір повзунка */
	border-radius: 10px; /* Закруглені кути */
	border: 2px solid #f1f1f1; /* Обрамлення навколо повзунка */
}

/* Стилізуємо повзунок при hover */
#changed_fields::-webkit-scrollbar-thumb:hover {
	background-color: #555; /* Колір при наведенні */
}

/* Стилізація для Firefox */
#changed_fields {
	scrollbar-width: thin; /* Тонкий скрол */
	scrollbar-color: #888 #f1f1f1; /* Колір повзунка і треку */
}

.old_value {
	/* margin-bottom: 60px; */
	width: 80%;
	margin: auto;
}
.new_value {
	/* margin-bottom: 30px; */
	width: 80%;
	margin: auto;
}

.margin_top {
	margin-top: 7px;
}

#changed_fields {
	width: 80%;
	margin: auto;
}

#changed_fields span {
	display: block;
	font-size: 20px;
	font-weight: 500;
	text-align: center;
	margin: 35px auto 25px auto;
	color: var(--red-color);
}

#send_admin_modal {
	margin-top: 30px;
}

.security_data_form > div {
	width: 37%;
}

.security_data_info h3 {
	margin-left: 10px;
}

/* Chekbox styles */
#checkbox_label {
	display: inline-flex;
	align-items: center;
	margin: auto 0 45px 0;
}

.security_data_form input[type="checkbox"] {
	margin: auto 11px auto 0;
	/* width: auto; */
}

.privacy #checkbox_label {
	margin: 0;
}

.privacy #save_btn {
	margin-top: 60px;
}

.user_data input[type="checkbox"] {
	padding: 0;
	width: 23px;
	height: 23px;
	aspect-ratio: 1 / 1;
	/* Прибирає стандартний вигляд чекбокса у Webkit-браузерах */
	-webkit-appearance: none;
	/* Прибирає стандартний вигляд у інших браузерах */
	appearance: none;
	background-color: var(--bg-color);
	border: 1px solid black;
	border-radius: 0px;
	position: relative;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.user_data input[type="checkbox"]:checked {
	/* Колір фону при виборі */
	background-color: #5ca1b7;
	/* Колір рамки при виборі */
	border-color: #5ca1b7;
}

/* Створення галочки всередині чекбоксу */
.user_data input[type="checkbox"]:checked::before {
	content: "✔";
	color: #fff;
	font-size: 14px;
	position: absolute;
	top: 50%;
	left: 50%;
	/* Центруємо галочку */
	transform: translate(-50%, -50%);
	/* Забезпечуємо, щоб галочка не заважала клікам */
	pointer-events: none;
}

/* Зміна кольору при натисканні (hover) */
.user_data input[type="checkbox"]:hover {
	/* Колір при hover  */
	/* border-color: #3e8e41; */
}

.user_data input[type="checkbox"]:checked:hover {
	/*  М'якший колір при hover */
	/* background-color: #4c8c99;  */
}
/* Checkbox styles */

.passport_data .form_section {
	margin-top: 55px;
}
/* User data page end*/

/* Online pay page */
.payment_container {
	width: 100%;
	margin: 0 auto;
}

.blocks_wrapper {
	padding-left: 65px;
}

.payment_section,
.calculator_section {
	background-color: var(--bg-color);
	margin-bottom: 30px;
	border-radius: var(--border-radius);
	padding: 40px 46px;
	width: 100%;
}

.payment_form {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(2, 1fr);
	column-gap: 90px;
	margin-bottom: 15px;
}

.form_group {
	display: grid;
	grid-template-rows: repeat(2, auto);
	grid-template-columns: 1fr;
	gap: 10px;
}

.form_group label {
	font-size: 18px;
	font-weight: 700;
	color: var(--grey-color);
}

.form_group_btn {
	display: flex;
	justify-content: flex-end;
	align-items: flex-end;
}

.form_group_btn .save_btn {
	width: 80%;
}

.calculator_header {
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.calculator_header h3 {
	margin-bottom: 0;
}

.calculator_arrow {
	font-size: 24px;
	transition: transform 0.3s;
}

.calculator_arrow img {
	margin: auto;
	display: block;
}

.calculator_body {
	display: none;
	margin-top: 20px;
}

.calculator_form {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	column-gap: 80px;
}

.calculator_group label {
	display: block;
	margin-bottom: 10px;
	margin-left: 20px;
	font-size: 13px;
}

.calculator_select select {
	/* Прибираємо стандартну стрілку браузера */
	appearance: none;
	-webkit-appearance: none;
}

.calculator_select {
	width: 100%;
	position: relative;
}

.calculator_arrow_sel {
	position: absolute;
	top: 52%;
	right: 10px;
	transform: translateY(-50%);
	pointer-events: none;
}

.calculator_select select:focus {
	background: #5ca1b7b2;
	/* Відключаємо стандартний контур фокусу */
	outline: none;
	border-color: 2px solid var(--main-blue-color);
	box-shadow: 0 0 5px rgba(136, 136, 136, 0.5);
	border-radius: var(--border-radius);
}

.result_block_sum {
	font-size: 40px;
	font-weight: 600;
	color: #d5635f;
	display: flex;
	justify-content: end;
	gap: 5px;
}

.result_block label {
	text-align: right;
	font-size: 12px;
}

/* не видаляти */
/* .calculator_body.open .arrow {
  transform: rotate(180deg);
} */
/* не видаляти */

.close_pay_online_btn {
	position: absolute;
	font-size: 50px;
	font-weight: 600;
	position: absolute;
	top: 20px;
	right: 40px;
	color: white;
	cursor: pointer;
}
/* Online pay page end*/

/* Docx page */
.docx_without h1 {
	display: flex;
	justify-content: start;
	align-items: end;
	font-size: 32px;
	font-weight: 700;
	color: var(--blue-color);
}

.docx_without h1 img {
	margin-left: 10px;
}

.docx_without p {
	width: 90%;
	font-size: 28px;
	font-weight: 700;
	margin: 50px 0;
}

.docx_without .button {
	display: inline;
	padding: 10px 30px;
}

.docx_files {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.docx_item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: #f7f7f9;
	border-radius: var(--border-radius);
	padding: 15px 30px;
}

.docx_name {
	font-size: 27px;
	font-weight: 500;
	width: 50%;
	margin-left: 15px;
}

.docx_file {
	display: flex;
	flex-direction: column;
	align-items: end;
	gap: 24px;
}

.docx_file.without_pdf img {
	filter: grayscale(100%) contrast(100%) brightness(150%);
}

.docx_file button {
	padding: 11px 30px;
}

.docx_modal {
	padding: 120px 40px;
	flex-direction: column;
}

.docx_modal_content {
	position: relative;
	max-width: 500px;
	width: 100%;
	height: 600px;
	overflow: hidden;
	padding-right: 10%;
	padding-left: 10%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.docx_modal_content iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.docx_modal_buttons {
	display: flex;
	justify-content: space-between;
	margin-top: 30px;
	background-color: white;
	width: fit-content;
}

.docx_modal_buttons .btn {
	padding: 10px 20px;
	border: none;
	cursor: pointer;
	font-size: 20px;
}

.btn_turquoise {
	color: var(--main-blue-color);
}

.btn_grey {
	color: var(--grey-color);
}

.btn_close {
	color: var(--red-color);
}
/* Docx page end */

/* Payments page */
.payments_block h3 {
	margin-top: 15px;
}

.payments_block .row_title {
	background-color: transparent;
}

.payments_block .grid_item_title span {
	background-color: #5ca1b7;
	border-radius: 13px;
	padding: 6px 15px;
}

.payments_block .block_dynamic {
	height: 100%;
}

.payments_dynamic .grid_container {
	max-height: 200px;
	overflow-x: hidden;
	overflow-y: auto;
}

.payments_block .row {
	justify-content: left;
}

.payments_statements .grid_container {
	overflow-x: hidden;
	overflow-y: auto;
}

.payments_block .grid_container .grid_item:nth-child(2) {
	color: var(--grey-color);
}

.payments_block_first {
	display: grid;
	grid-template-columns: 66% 30%;
	column-gap: 30px;
	margin-bottom: 25px;
}

.payments_block .row {
	display: grid;
	grid-template-columns: 25% 40% 30%;
	column-gap: 8px;
	/* row-gap: 10px; */
}

.payments_block .grid_item_title {
	margin-bottom: 10px;
}

.payments_statements .grid_container {
	max-height: unset;
}

.payments_block .grid_item_title {
	padding-left: 0;
}

.payments_block .row_title .grid_item:last-child {
	margin-right: 0;
}

.payments_statements_btn {
	background: #ff9592;
	border-radius: 16px;
	color: white;
	margin: auto;
	height: 88%;
	width: 80%;
	max-height: 25px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.payments_statements .block_dynamic {
	position: relative;
}

.payments_statements .button {
	position: absolute;
	display: block;
	width: 30%;
	top: 30px;
	right: 40px;
}

/* Calendar Flatpickr */
.calendar_month_picker input {
	display: none;
}

.flatpickr-rContainer {
	width: 100%;
	padding: 0 15px 15px 15px;
}

.calendar_month_picker {
	display: inline-block;
	position: relative;
	width: 100%;
}

.flatpickr-calendar {
	width: 100%;
	max-width: 100%;
	font-size: 13px;
	background: #8dc4d4;
	border-radius: 21px;
	box-shadow: unset;
	color: white;
}

.flatpickr-calendar span,
.flatpickr-month {
	color: white;
}

.flatpickr-days {
	width: 100%;
}

.dayContainer {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 2px;
	width: 100%;
	min-width: 100%;
	max-width: 100%;
}

span.flatpickr-weekday {
	font-size: 12px;
	font-weight: 500;
	text-transform: lowercase;
}

.flatpickr-day {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 2px;
	border-radius: 50%;
	/* cursor: pointer; */
	transition: background-color 0.3s;
	margin: auto;
	font-weight: 700;
	border: none;
}

.payment_calendar .flatpickr-day {
	pointer-events: none;
	height: 45px;
	/* height: auto; */
}

.payment_calendar .flatpickr-day:hover,
.payment_calendar .flatpickr-day:focus,
.payment_calendar .flatpickr-day.selected,
.payment_calendar .flatpickr-day.selected:hover {
	background: unset;
	border-color: unset;
}

.flatpickr-day.flatpickr-disabled {
	color: white;
}

.flatpickr-day {
	background: white;
	border-radius: 7px;
	color: black;
	height: 80%;
	width: 90%;
}
.flatpickr-day[tabindex="-1"] {
	color: black;
}

.flatpickr-day[aria-current="date"] ~ .flatpickr-day {
	color: rgba(57, 57, 57, 0.3);
}

.flatpickr-next-month,
.flatpickr-prev-month {
	display: none;
}

.flatpickr-months {
	height: 100px;
	align-items: center;
	background: var(--red-color);
	border-radius: 15px;
}

.flatpickr-month {
	color: white !important;
	height: 100% !important;
}

.flatpickr-current-month {
	display: flex;
	flex-direction: column-reverse;
	justify-content: center;
	align-items: flex-end;
	font-size: 12px;
}

.flatpickr-monthDropdown-months {
	border-radius: 4px !important;
	top: 43px;
	right: -10%;
	background: linear-gradient(
			rgba(255, 255, 255, 0.3),
			rgba(255, 255, 255, 0.3)
		),
		var(--red-color) !important;
	font-size: 12px !important;
	padding: 5px 5px 5px 3px !important;
	/* Приховує стандартну стрілку в Safari і Chrome */
	/* -webkit-appearance: none!important;  */
	/* Приховує в Firefox */
	/* -moz-appearance: none!important;
    appearance: none!important; */
}

.flatpickr-current-month select {
	width: 100%;
	padding: 5px;
	min-width: 82px;
	/* pointer-events: all; */
}

.numInputWrapper {
	display: none !important;
}

.select_year {
	position: absolute;
	font-size: 12px;
	font-weight: 300;
	top: 22px;
	right: 5%;
	color: white;
	background: #fffefe4d;
	border-radius: 4px;
	padding: 5px 5px 5px 5px;
	min-width: 82px;
	background: linear-gradient(
			rgba(255, 255, 255, 0.3),
			rgba(255, 255, 255, 0.3)
		),
		var(--red-color);
	/* Приховує стандартну стрілку в Safari і Chrome */
	/* -webkit-appearance: none;  */
	/* Приховує в Firefox */
	/* -moz-appearance: none;
  appearance: none;       */
}

.select_year:focus {
	outline: none;
	border: none;
}

/* Це приховує дати без зміни їх поведінки */
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
	visibility: hidden;
	height: 0 !important;
}

.payment_calendar_title {
	position: absolute;
	color: white;
	top: 20px;
	left: 18px;
	width: 50%;
	font-size: 18px;
	font-weight: 600;
}

/* Modal calendar */
#payments_create_period {
	width: 75%;
	margin: 30px auto auto;
}

.calendar_modal_content input {
	line-height: 26px;
	width: 100%;
	pointer-events: none;
	margin: auto auto 10px 10%;
}

.calendar_modal_content .flatpickr-input::placeholder,
.calendar_modal_content input {
	color: var(--blue-color);
	font-size: 22px;
	font-weight: 700;
}

.calendar_modal_content .flatpickr-current-month {
	align-items: flex-start;
	height: 100%;
}

.calendar_modal_content .flatpickr-monthDropdown-months {
	font-size: 20px !important;
	font-weight: 600;
	background: var(--red-color) !important;
	top: 0;
	left: -10%;
	/* right: unset; */
}

.calendar_modal_month_picker {
	position: relative;
}

.modal_select_year {
	top: 21.5%;
	font-size: 14px;
}

.calendar_modal_month_picker .flatpickr-day {
	height: 100%;
	width: 100%;
}

.calendar_modal_content input:focus {
	outline: none !important;
}
/* Payments page end*/

/* Statements page */
.statements_block:last-of-type {
	margin-top: 65px;
}

.statements_block_info {
	font-size: 22px;
	width: 80%;
	margin: 0 0 40px 44px;
}

.statements_block_info h1 {
	font-weight: 700;
	margin-bottom: 30px;
}

.statements_block_info p {
	font-weight: 500;
}

.statements_block .block_dynamic {
	height: auto;
}

.statements_form {
	width: 100%;
	border-radius: 8px;
	background-color: #f9f9f9;
	display: flex;
	flex-direction: column;
}

.statements_form select {
	width: 100%;
	padding: 10px;
	margin-bottom: 35px;
	/* Приховує стандартну стрілку в Safari і Chrome */
	-webkit-appearance: none;
	/* Приховує в Firefox */
	-moz-appearance: none;
	appearance: none;
	position: relative;
	cursor: pointer;
	padding-right: 30px;
	background-image: url("../img/white-arrow.svg");
	background-repeat: no-repeat;
	background-position: right 30px center; /* Позиція стрілки */
	background-size: 12px;
}

.statements_form p {
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 15px;
}

.statements_form p span {
	font-weight: 600;
}

.statements_form .button {
	width: 30%;
	align-self: flex-end;
	margin-bottom: 0;
}

.statements_block .block h3 {
	margin-left: 0;
}

.statements_block .grid_container {
	max-height: 100%;
}

.statements_block .row {
	display: grid;
	grid-template-columns: repeat(5, 20%);
	overflow-x: hidden;
}

.statements_btn {
	margin: auto;
}

.payments_statements_icon {
	display: none;
}

#status_process {
	color: var(--red-color);
	white-space: nowrap;
}

.payments_statements_btn_pc .payments_statements_btn {
	padding: 3px 20px;
}

.statements_block:last-child .grid_container .grid_item {
	color: var(--grey-color);
}

.statements_date {
	color: var(--blue-color) !important;
	font-weight: 600;
}
/* Statements page end*/

/* FAQ question page */
.faq_block_wrapper .faq_item {
	border-radius: var(--border-radius);
	background-color: #f7f7f9;
}

.faq_block_wrapper .faq_item.active {
	background-color: var(--red-color);
}

.faq_block_wrapper .faq_item.active p,
.faq_block_wrapper .faq_item.active h3 {
	color: #ffff;
}

.faq_page_section {
	margin-bottom: 95px;
}

.faq_page_section:last-child {
	margin-bottom: 0;
}

.faq_block_wrapper h3 {
	margin-bottom: 0;
}
/* FAQ question page end*/

/* Extract page */
.extract.container {
	max-width: 1000px;
	padding: 20px;
	background-color: #fff;
	border: 1px solid #ddd;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.extract_header {
	align-self: end;
	width: 50%;
	margin-bottom: 20px;
}
.extract h2 {
	text-align: center;
	text-transform: uppercase;
	font-weight: 600;
	text-decoration: underline;
}
.extract_header h2,
.address {
	text-align: left;
	margin-bottom: 20px;
	text-decoration: underline;
}
.extract_title span {
	font-size: 10px;
	text-align: center;
	display: block;
	margin-bottom: 10px;
}

.extract_title h1 {
	font-size: 20px;
	text-transform: uppercase;
	font-weight: 600;
	text-align: center;
}
.extract h3,
.extract_title h4 {
	text-align: center;
	margin-bottom: 20px;
}
.extract h5 {
	font-weight: 600;
}
.extract_table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 20px;
	border: 1px solid #ccc;
}
.extract_table span {
	display: block;
	border-bottom: 1px solid #ccc;
	width: calc(100% + 10px);
	margin-left: -5px;
	padding: 5px 0 5px 5px;
}
.extract_table span:first-child {
	padding-top: 0;
}
.extract_table span:last-child {
	border-bottom: none;
	padding-bottom: 0;
}
.extract_table,
.extract_table th,
.extract_table td {
	border: 1px solid #ddd;
}
.extract_table td {
	padding: 5px;
	text-align: left;
}
.extract_table td {
	padding: 5px;
	text-align: left;
}
.extract_table th {
	padding: 5px;
	font-weight: 400;
	background-color: #f2f2f2;
	text-align: center;
}
.extract_table_first td:nth-child(3),
.extract_table_first td:nth-child(4),
.extract_table_sec td:nth-child(2),
.extract_table_sec td:nth-child(3) {
	font-weight: 600;
	text-align: center;
}
.signature {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	margin-bottom: 100px;
}
.signature_admin {
	text-align: center;
}
.signature_admin p {
	border-bottom: 1px solid black;
	width: 100%;
}
.signature_admin span {
	font-size: 10px;
}
.extract_notes hr {
	border-bottom: 1px solid black;
	max-width: 20%;
	margin-bottom: 8px;
}
.extract_notes p {
	font-size: 10px;
}
/* Extract page end */

@media screen and (max-width: 1280px) {
	.payments_block_first {
		gap: 25px;
	}
	.payment_calendar .flatpickr-day {
		height: calc(20px + (45 - 20) * ((100vw - 769px) / (1280 - 769)));
	}
	.payments_dynamic .grid_container {
		max-height: calc(85px + (200 - 85) * ((100vw - 769px) / (1280 - 769)));
	}
	.payment_calendar_title {
		left: calc(6px + (18 - 6) * ((100vw - 769px) / (1280 - 769)));
	}
	.flatpickr-months {
		height: calc(80px + (100 - 80) * ((100vw - 769px) / (1280 - 769)));
	}
	.flatpickr-current-month select,
	.select_year {
		min-width: calc(64px + (82 - 64) * ((100vw - 769px) / (1280 - 769)));
	}
	.calendar_modal_month_picker .modal_select_year {
		min-width: 82px;
	}
	.statements_block .row {
		grid-template-columns: 19% 19% 19% 19% 24%;
	}
}

@media screen and (max-width: 1199px) {
	.header_initials_block {
		font-size: 23px;
	}
	.header_profile_block {
		margin: 0 8px 0 20px;
	}
	.header_name_block {
		font-size: 16px;
	}
	.sidebar {
		width: 290px;
	}
	.sidebar_nav_item {
		font-size: 18px;
		padding-left: 32px;
	}
	.welcome_section {
		margin-left: 100px;
	}
	.block_money,
	.block_month_paid {
		font-size: 27px;
		padding: 0 28px;
	}
	.block .current_money {
		font-size: 53px;
	}
	.last_date_paid {
		right: 30px;
	}
	.blocks_section {
		gap: 25px;
	}
	.block_dynamic,
	.block_history {
		padding-left: 26px;
	}
	.grid_item {
		padding-left: 10px;
	}
	.grid_item_title {
		font-size: 20px;
	}
	.grid_container .row {
		font-size: 16px;
	}
	.item_income span:last-child {
		margin-left: 50px;
	}
	.item {
		font-size: 20px;
	}
	.item_info {
		font-size: 23px;
	}
	.item_date {
		font-size: 14px;
	}
	.item_asset {
		font-size: 24px;
	}
	.main h2 {
		font-size: 31px;
	}
	.main h3 {
		font-size: 23px;
	}
	.user_photo {
		max-width: 180px;
		height: 215px;
	}
	/* Main form styles */
	.form input::placeholder,
	.form input:focus,
	.form input,
	.form select,
	.form select:focus {
		font-size: 19px;
	}
	.form button,
	.button {
		font-size: 21px;
	}
	/* Main form styles end*/
	.passport_data_btn label,
	.passport_data .upload_section {
		max-width: 271px;
	}
	.security_data_form > div {
		width: 42%;
	}
	.blocks_wrapper {
		padding-left: calc(40px + (65 - 40) * ((100vw - 769px) / (1200 - 769)));
	}
	.form_group label {
		font-size: 16px;
	}
	.payment_form {
		column-gap: calc(20px + (90 - 20) * ((100vw - 769px) / (1200 - 769)));
	}
	.calculator_form {
		column-gap: calc(10px + (80 - 10) * ((100vw - 769px) / (1200 - 769)));
	}
	.calculator_group label {
		font-size: 11px;
		margin-left: 15px;
	}
	.payment_section,
	.calculator_section {
		padding: 40px 35px;
	}
	.result_block_sum {
		font-size: calc(25px + (40 - 25) * ((100vw - 769px) / (1200 - 769)));
	}
	.docx_name {
		font-size: calc(20px + (27 - 20) * ((100vw - 769px) / (1200 - 769)));
	}
	.docx_file button {
		padding: 11px 20px;
	}
	.passport_data .upload_text {
		font-size: calc(10px + (16 - 10) * ((100vw - 769px) / (1200 - 769)));
	}
	.passport_data .upload_plus {
		width: calc(30px + (60 - 30) * ((100vw - 769px) / (1200 - 769)));
		height: calc(30px + (60 - 30) * ((100vw - 769px) / (1200 - 769)));
	}
	.passport_data .fa-plus {
		font-size: calc(30px + (50 - 30) * ((100vw - 769px) / (1200 - 769)));
	}
	.payments_statements .button {
		right: calc(15px + (40 - 15) * ((100vw - 769px) / (1200 - 769)));
	}
	.flatpickr-rContainer {
		padding: 0 10px 10px 10px;
	}
	.select_year {
		font-size: 10px;
	}
	.flatpickr-monthDropdown-months {
		font-size: 10px !important;
	}
	.payment_calendar_title {
		font-size: 16px;
	}
	.modal_select_year {
		font-size: 14px;
		top: 20.5%;
	}
	.statements_block_info,
	.statements_form p {
		font-size: calc(18px + (22 - 18) * ((100vw - 769px) / (1200 - 769)));
	}
	.statements_block_info {
		margin-left: calc(0px + (44 - 0) * ((100vw - 769px) / (1200 - 769)));
	}
	.statements_block:last-of-type {
		margin-top: calc(35px + (65 - 35) * ((100vw - 769px) / (1200 - 769)));
	}
}

@media screen and (max-width: 1079px) {
	.header_container.aside {
		max-width: calc(100% - 22px);
	}
	.blocks_section {
		gap: 20px;
	}
	.block_money,
	.block_month_paid {
		font-size: 25px;
		padding: 0 23px;
	}
	.block .current_money {
		font-size: 51px;
	}
	.last_date_paid {
		right: 25px;
		top: 42px;
		font-size: 14px;
	}
	.block_dynamic,
	.block_history {
		padding-left: 18px;
	}
	.block h3 {
		margin-left: 10px;
	}
	.grid_item_title {
		font-size: 18px;
	}
	.grid_container .row {
		font-size: 14px;
	}
	.item_income span:last-child {
		margin-left: 30px;
	}
	.personal_data_block,
	.passport_data_block {
		margin-bottom: 30px;
	}
	.main h2 {
		font-size: 29px;
	}
	.main h3 {
		font-size: 21px;
	}
	.user_photo {
		max-width: 170px;
		height: 205px;
		margin-right: 20px;
	}
	/* Main form styles */
	.form input::placeholder,
	.form input:focus,
	.form select,
	.form select:focus {
		font-size: 17px;
	}
	.form input {
		font-size: 17px;
		padding: 5px 20px;
	}
	.form button,
	.button {
		font-size: 20px;
	}
	.form label {
		margin-left: 20px;
	}
	/* Main form styles end*/
	.name_info {
		margin-right: 10px;
	}
	.passport_data_btn label {
		max-width: 241px;
		margin-bottom: 35px;
	}
	.passport_data .upload_section {
		max-width: 241px;
	}
	.form .upload_section label {
		margin-left: 0;
	}
	.passport_data_btn button {
		font-size: 18px;
	}
	.change_password #checkbox_label {
		font-size: 12px;
	}
	.calculator_arrow_sel svg {
		height: 7px;
		width: 15px;
	}
	.docx_item {
		padding: 15px;
	}
	.docx_file button {
		padding: 11px 15px;
	}
	.flatpickr-rContainer {
		padding: 0 8px;
	}
	.payments_block_first {
		gap: 20px;
	}
	.flatpickr-calendar {
		font-size: 10px;
	}
	.payment_calendar_title {
		font-size: 15px;
	}
	.calendar_modal_month_picker .flatpickr-calendar {
		font-size: 13px;
	}
	.statements_block .block h3 {
		margin-left: 10px;
	}
}

@media screen and (max-width: 991px) {
	.header_container.aside {
		max-width: calc(100% - 20px);
	}

	.header_name_block {
		font-size: 14px;
	}
	.header_initials_block {
		font-size: 21px;
		height: 45px;
		max-width: 45px;
	}
	.header_initials_block span {
		line-height: 45px;
	}
	.header_profile_block {
		margin-left: 10px;
	}
	.sidebar {
		width: 250px;
	}
	.sidebar_nav_item {
		font-size: 16px;
		padding-left: 26px;
	}
	.sidebar_nav_item a {
		padding-left: 10px;
	}
	.welcome_section {
		margin-left: 80px;
	}
	.blocks_section {
		gap: 16px;
	}
	.block_money,
	.block_month_paid {
		height: 160px;
		font-size: 21px;
		padding: 0 20px;
	}
	.block .current_money {
		font-size: 49px;
	}
	.last_date_paid {
		right: 20px;
		top: 40px;
		font-size: 12px;
	}
	.block_dynamic,
	.block_history {
		height: auto;
	}
	.block h3 {
		font-size: 23px;
		margin-left: 10px;
	}
	.block_dynamic .row {
		margin-bottom: 0;
	}
	.block_dynamic .row_title {
		margin-bottom: 7px;
	}
	.row_title .grid_item:last-child {
		margin: 0;
	}
	.item {
		font-size: 18px;
	}
	.item_info {
		font-size: 21px;
	}
	.item_date {
		font-size: 12px;
	}
	.item_asset {
		font-size: 22px;
	}
	.main h2 {
		font-size: 27px;
		margin-bottom: 20px;
	}
	.main h3 {
		font-size: 19px;
	}
	.personal_data_info,
	.security_data_info {
		padding: 31px 20px;
	}
	.user_photo {
		max-width: 160px;
		height: 195px;
	}
	/* Main form styles */
	.form input::placeholder,
	.form input:focus,
	.form select,
	.form select:focus {
		font-size: 15px;
	}
	.form input {
		font-size: 15px;
		padding: 5px 20px;
	}
	.form button,
	.button {
		font-size: 18px;
	}
	.form label {
		margin-left: 15px;
	}
	/* Main form styles end*/
	.name_info {
		margin-right: 10px;
	}
	.passport_data_info {
		padding: 31px 40px;
	}
	.passport_data_btn label {
		max-width: 215px;
		font-size: 12px;
		margin-bottom: 30px;
	}
	.passport_data_btn button {
		font-size: 16px;
	}
	.passport_data .upload_section {
		max-width: 215px;
	}
	.change_password #checkbox_label {
		font-size: 10px;
	}
	.payment_section,
	.calculator_section {
		padding: 40px 30px;
	}
	.form_group label {
		font-size: 14px;
	}
	.docx_item {
		padding: 10px;
	}
	.payments_block .grid_item_title span {
		padding: 6px 7px;
	}
	.flatpickr-rContainer {
		padding: 0 5px;
	}
	.payments_block_first {
		gap: 15px;
	}
	.payment_calendar_title {
		font-size: 14px;
	}
	.payments_block_first {
		grid-template-columns: 60% 35%;
	}
	.modal_select_year {
		top: 19.5%;
	}
	.statements_block .row {
		grid-template-columns: 18% 18% 18% 18% 28%;
	}
}

@media screen and (max-width: 890px) {
	.header_container.aside {
		max-width: calc(100% - 10px);
	}
	.edit_btn img {
		margin-right: 8px;
	}
	.sidebar {
		width: 230px;
	}
	.sidebar_nav_item {
		padding-left: 18px;
	}
	.sidebar_nav_item a {
		padding-right: 10px;
	}
	.blocks_section {
		gap: 13px;
	}
	.block_money,
	.block_month_paid {
		font-size: 19px;
		padding: 0 18px;
	}
	.block .current_money {
		font-size: 47px;
	}
	.last_date_paid {
		right: 15px;
		top: 20px;
		font-size: 10px;
	}
	.block h3 {
		font-size: 20px;
		margin-left: 10px;
	}
	.block_dynamic,
	.block_history {
		padding-left: 16px;
	}
	.grid_item {
		padding-left: 8px;
	}
	.grid_item_title {
		font-size: 14px;
	}
	.grid_container .row {
		font-size: 12px;
	}
	.item {
		font-size: 16px;
	}
	.item_info {
		font-size: 19px;
	}
	.item_date {
		font-size: 10px;
	}
	.item_asset {
		font-size: 20px;
	}
	.item_income span:last-child {
		margin-left: 10px;
	}
	.personal_data_info,
	.security_data_info {
		padding: 20px;
	}
	.user_photo {
		max-width: 150px;
		height: 185px;
		margin-right: 10px;
	}
	/* Main form styles */
	.form input::placeholder,
	.form input:focus,
	.form select,
	.form select:focus {
		font-size: 13px;
	}
	.form input {
		font-size: 13px;
		padding: 5px 15px;
	}
	.form button,
	.button {
		font-size: 16px;
	}
	.form label {
		margin-left: 10px;
		font-size: 12px;
	}
	/* Main form styles */
	.passport_data_info {
		padding: 26px 30px;
	}
	.passport_data_btn label {
		max-width: 185px;
		font-size: 8px;
		margin-bottom: 25px;
	}
	.passport_data_btn button {
		font-size: 12px;
	}
	.passport_data .upload_section {
		max-width: 185px;
	}
	.main h3 {
		font-size: 19px;
	}
	.calculator_group label {
		font-size: 9px;
		margin-bottom: 5px;
	}
	.calculator_arrow_sel {
		top: 47%;
	}
	.calculator_arrow_sel svg {
		height: 5px;
		width: 13px;
	}
	.docx_file button {
		padding: 11px 10px;
	}
	.flatpickr-rContainer {
		padding: 0 3px 3px 5px;
	}
	.payment_calendar_title {
		font-size: 13px;
	}
	.payments_statements_btn_pc .payments_statements_btn {
		padding: 3px 15px;
	}
}

@media screen and (max-width: 767px) {
	.blocks_wrapper {
		padding-left: 0;
	}
	.mobile_container {
		margin-top: 200px;
	}
	.wrapper_aside {
		display: block;
	}
	body.lock {
		overflow: hidden;
	}
	.container.mob_menu {
		margin: 0;
		padding: 0;
	}
	.sidebar {
		position: fixed;
		left: -200%;
	}
	.sidebar.mob_menu {
		width: 100%;
		height: 100vh;
		margin: 0;
		border-radius: 0;
		left: 0;
		z-index: 10000;
		overflow: auto;
	}
	.sidebar_logo {
		display: flex;
		justify-content: center;
		position: relative;
	}
	.close_mob_menu {
		display: block;
		position: absolute;
		left: 100px;
	}
	.sidebar_nav a:before {
		content: "";
		margin-right: 30px;
		display: inline-block;
		background-size: 50px 50px;
		width: 50px;
		height: 50px;
	}
	.sidebar_nav_item a {
		padding: 25px 16px 25px 124px;
	}
	.sidebar_image {
		display: none;
	}
	.mobile_profile_block {
		display: flex;
		flex-direction: column;
		background-color: var(--main-blue-color);
		padding: 0 0 50px 0;
		margin-top: -2px;
	}
	.mobile_profile_block div {
		display: flex;
		justify-content: center;
	}

	.mobile_avatar_block {
		margin-bottom: 26px;
	}
	.mobile_profile_block .header_avatar_img {
		height: 162px;
		width: 160px;
	}
	.edit_btn img {
		filter: brightness(0) invert(1);
		height: 34px;
		width: 34px;
	}
	.mobile_profile_icon {
		position: absolute;
		right: 60px;
	}
	.mobile_profile_icon .login_btn {
		background: var(--main-blue-color);
		padding: 5px 0;
	}
	.mobile_name_block {
		align-items: center;
		font-size: 40px;
		font-weight: 700;
		text-align: center;
		color: #fff;
		margin-bottom: 47px;
	}
	.header_avatar_img {
		height: 75px;
		width: 75px;
		overflow: hidden;
		border-radius: 10px;
		border: 1px solid white;
	}
	.header_avatar_img img {
		height: 100%;
		object-fit: cover;
	}
	.mobile_profile_line {
		margin: auto;
		width: 80%;
		border-bottom: 1px solid white;
	}
	.sidebar_nav_item {
		font-size: 37px;
		font-weight: 500;
	}
	.sidebar_nav_item {
		padding: 0 105px 0 0;
	}
	.sidebar_nav_item.active a {
		background-color: #fff;
		color: var(--red-color);
		border-radius: 0 60px 60px 0;
	}
	.sidebar_logo {
		border-radius: 0;
	}
	.sidebar_nav {
		padding-bottom: 100px;
		background-color: var(--main-blue-color);
	}
	/* mobile menu */

	.header.aside {
		margin-bottom: 110px;
	}
	.header_mobile_wrapper {
		width: 100%;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	.burger_menu {
		width: 40px;
		height: 60px;
		display: flex;
		justify-content: space-between;
		transform: rotate(90deg);
		cursor: pointer;
	}
	.burger_menu span {
		border: 5px solid var(--blue-color);
		border-radius: 10px;
	}
	.header_mobile_wrapper .logo {
		margin: 0 40px;
	}

	.header_nav.aside,
	.header_profile_wrapper {
		display: none;
	}

	.image_section {
		display: block;
	}
	.image_section img {
		width: 100%;
		aspect-ratio: 540/440;
		border-radius: var(--border-radius);
	}

	.welcome_section {
		margin: 100px auto 43px auto;
		white-space: nowrap;
	}
	.main h2 {
		font-size: 50px;
		font-weight: 700;
		text-align: center;
	}

	.blocks_section {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		align-items: center;
		padding: 0;
		gap: 45px;
	}
	.block_money_wrapper {
		flex-direction: column;
		gap: 0;
		border-radius: var(--border-radius);
		background-color: var(--red-color);
		padding: 70px 50px;
	}
	.block_money_wrapper .block {
		border-radius: 0;
		flex-direction: row-reverse;
		justify-content: space-between;
		align-items: center;
		height: auto;
		text-transform: none;
		/* white-space: pre-wrap; */
	}
	.blocks_section .current_money {
		font-size: 50px;
		font-weight: 700;
		margin-left: 80px;
	}
	.block_money,
	.block_month_paid {
		font-size: 35px;
		font-weight: 500;
		background-color: var(--red-color);
		padding: 0;
	}
	.block_money {
		margin-bottom: 60px;
	}
	.block_dynamic,
	.block_history {
		grid-column: span 1;
		padding: 40px;
	}
	.block h3 {
		font-size: 35px;
		font-weight: 600;
		margin-bottom: 25px;
	}
	.grid_item_title {
		font-size: 25px;
		font-weight: 500;
	}
	.grid_item {
		font-size: 23px;
		font-weight: 400;
		padding: 10px;
	}

	.divider,
	.divider_second {
		margin-top: 10px;
	}
	.block_dynamic,
	.block_history {
		font-size: 35px;
		font-weight: 500;
	}
	.grid_container {
		max-height: 200px;
	}
	.grid_item {
		padding-left: 15px;
	}
	.block_money {
		grid-column: span 2;
		font-weight: 700;
	}
	.last_date_paid {
		top: 100px;
		left: 0;
		font-size: 24px;
		font-weight: 300;
	}

	.block_info {
		height: auto;
		padding: 70px;
		margin-bottom: 20px;
	}
	.block_info .row {
		align-items: flex-end;
	}
	.block_info .row:first-child {
		flex-direction: column;
		align-items: start;
		margin-bottom: 35px;
	}
	.item {
		padding: 0;
	}
	.divider {
		margin-bottom: 70px;
	}
	.divider_second {
		display: block;
	}
	.item {
		font-size: 32px;
		font-weight: 400;
	}
	.item_info {
		font-size: 35px;
		font-weight: 600;
		margin-bottom: 24px;
	}
	.item_date {
		font-size: 25px;
		font-weight: 300;
	}
	.item_title_asset,
	.item_income_title {
		max-width: 237px;
	}
	.item_asset {
		font-size: 35px;
		font-weight: 700;
	}
	.item_income {
		display: flex;
		flex-direction: column;
		align-items: baseline;
	}
	.item_income span:last-child {
		font-weight: 700;
		margin-top: 10px;
	}

	.general_info {
		margin-bottom: 45px;
	}
	.user_data > div {
		margin: auto auto 85px auto;
	}
	.main h2 {
		text-align: left;
		font-size: 45px;
		font-weight: 600;
		margin-bottom: 30px;
	}
	.main h3 {
		font-size: 25px;
		font-weight: 600;
		margin: 0 0 40px 0;
	}
	.user_data form {
		flex-direction: column;
		align-items: center;
	}
	.user_photo {
		max-width: 173px;
		height: 203px;
		margin: 0 20px 10px 20px;
	}
	.personal_data_info {
		padding: 30px 55px;
	}
	.form_section {
		width: 100%;
		margin: auto 0;
		align-items: start;
	}

	.user_photo {
		max-width: 163px;
		height: 193px;
	}
	/* Main form style */
	.form label {
		font-size: 18px;
		font-weight: 500;
		margin-left: 30px;
	}
	.form input {
		font-size: 22px;
		padding: 5px 30px;
	}
	.form input::placeholder,
	.form select,
	.form select:focus {
		font-size: 22px;
	}
	.form button,
	.button {
		font-size: 25px;
	}
	/* Main form style end*/
	.user_data_form .save_btn {
		width: 70%;
		margin: 15px auto;
	}
	.passport_data_info input {
		width: 100%;
	}
	.passport_data_info,
	.security_data_info {
		padding: 53px 55px;
	}
	.passport_data_form .form_section {
		margin-bottom: 65px;
	}
	.passport_data_btn {
		align-items: start;
	}
	.passport_data label {
		max-width: 100%;
		width: 90%;
		margin: 10px 50px 70px 0;
		order: 2;
	}
	.passport_data .upload_section {
		max-width: 100%;
		margin: 0 0 85px 10px;
		order: 1;
	}
	#send_admin {
		order: 3;
	}
	.passport_data .upload_text {
		font-size: 20px;
	}
	.passport_data .upload_plus {
		width: 60px;
		height: 60px;
	}
	.passport_data .fa-plus {
		font-size: 50px;
	}
	/* Main form styles */
	.form input::placeholder,
	.form input:focus,
	.form select,
	.form select:focus {
		font-size: 22px;
	}
	/* Main form styles */
	.passport_data_btn button,
	.privacy button {
		align-self: flex-end;
		width: 90%;
	}
	.security_data_form > div {
		width: 100%;
	}
	.privacy #checkbox_label {
		margin-bottom: 30px;
		font-size: 20px;
	}
	.change_password #checkbox_label {
		font-size: 20px;
		margin-bottom: 80px;
	}
	.payment_container {
		padding-left: 0;
	}
	.payment_section {
		padding: 65px 50px 35px 50px;
	}

	.payment_section h3 {
		font-size: 45px;
		font-weight: 700;
	}
	.payment_form {
		grid-template-columns: 1fr;
		row-gap: 20px;
	}
	.form_group,
	.calculator_group {
		order: 1;
	}
	.form_group_btn {
		order: 4;
		justify-content: center;
		margin-top: 40px;
		align-items: center;
	}
	.form_group_btn .save_btn {
		width: 60%;
	}
	/* payment_amount */
	.form_group:nth-child(2) {
		order: 2;
	}
	/* contract_number */
	.form_group:nth-child(3) {
		order: 1;
	}
	.form_group label {
		font-size: 30px;
		font-weight: 700;
	}
	.calculator_form {
		grid-template-columns: 1fr;
		gap: 10px;
	}
	.calculator_header h3 {
		font-size: 35px;
		margin: 0 20px 0 0;
	}
	.calculator_arrow {
		align-self: flex-start;
		margin-top: 10px;
	}
	.calculator_section {
		padding: 55px 50px;
	}
	.calculator_group:nth-child(2) {
		order: 3;
	}
	.calculator_group:nth-child(3) {
		order: 5;
	}
	.calculator_group:nth-child(4) {
		order: 2;
	}
	.calculator_group:nth-child(5) {
		order: 4;
	}
	.calculator_group:nth-child(6) {
		order: 6;
	}
	.calculator_arrow_sel {
		top: 56%;
	}
	.calculator_arrow_sel svg {
		height: 12px;
		width: 23px;
	}
	.calculator_group label {
		font-size: 23px;
		font-weight: 400;
		margin-bottom: 10px;
	}
	.result_block_sum {
		font-size: 80px;
		text-align: left;
		margin-left: 30px;
	}
	.result_block label {
		font-size: 20px;
		text-align: left;
	}

	.docx_without h1 {
		font-size: 45px;
	}
	.docx_without h1 img {
		display: none;
	}
	.docx_item {
		flex-direction: column;
		align-items: flex-start;
		position: relative;
		padding: 45px 30px;
	}
	.docx_name {
		font-size: 35px;
		margin: 50px 0 80px 20px;
		width: 80%;
	}
	.docx_file img {
		position: absolute;
		top: 35px;
		right: 35px;
	}
	.docx_file button {
		padding: 15px 30px;
	}

	.payments_block_first {
		display: flex;
		flex-direction: column-reverse;
		gap: 40px;
		margin-bottom: 40px;
	}
	.payment_calendar_title {
		font-size: 25px;
		left: 50px;
	}
	.flatpickr-calendar {
		font-size: 18px;
		font-weight: 700;
	}
	.flatpickr-months {
		height: 100px;
	}
	.flatpickr-current-month .flatpickr-monthDropdown-months {
		font-size: 18px !important;
		font-weight: initial;
		padding: 3px !important;
		min-width: 123px;
	}
	.flatpickr-monthDropdown-months {
		top: 47px;
	}
	.select_year {
		top: 20px;
		min-width: 123px;
		font-size: 18px;
		padding: 3px;
	}
	.flatpickr-rContainer {
		padding: 15px 25px;
	}
	span.flatpickr-weekday {
		font-size: 16px;
	}
	.payment_calendar .dayContainer {
		gap: 0;
	}
	.payment_calendar .flatpickr-day {
		border-top: 1px solid white;
		border-left: 1px solid white;
		border-radius: unset;
		height: 100%;
		width: 100%;
		max-width: 100%;
	}
	/* first row of calendar */
	.payment_calendar .flatpickr-day:nth-child(-n + 7) {
		border-top: 0;
		border-left: 0;
		border-right: 1px solid white;
		margin-left: 1px;
	}
	/* last row of calendar */
	.payment_calendar .flatpickr-day:nth-last-child(-n + 14) {
		border-top: 0;
	}
	.payment_calendar .flatpickr-day:nth-last-child(-n + 14) {
		border-top: 0;
	}
	.payment_calendar
		.flatpickr-day:nth-last-child(n + 15):nth-last-child(-n + 21) {
		border-bottom: 1px solid white;
	}
	/* first column of calendar */
	.payment_calendar .flatpickr-day:nth-child(7n-6) {
		border-left: 0;
	}
	/* last column of calendar */
	.payment_calendar .flatpickr-day:nth-child(7n) {
		border-right: 0;
	}

	.payments_block h3 {
		font-size: 35px;
		margin-left: 15px;
	}
	.payments_statements .grid_container {
		margin-bottom: 40px;
	}
	.payments_statements .button {
		position: unset;
		width: 50%;
		align-self: end;
	}
	.payments_dynamic .grid_container {
		max-height: 200px;
	}
	.payments_dynamic .grid_container .grid_item:last-child,
	.payments_statements .grid_container .grid_item:first-child {
		font-weight: 600;
	}
	.payments_container .grid_container .grid_item:nth-child(2) {
		font-size: 18px;
	}
	.payments_statements_btn {
		font-size: 15px;
		padding: 3px 10px;
		width: auto;
		height: auto;
		margin-right: 4px;
	}
	.calendar_modal_content h1 {
		font-size: 45px;
	}
	.calendar_modal_content p {
		font-size: 24px;
	}
	.modal_select_year {
		top: 18.5%;
	}
	.modal_content .close_btn {
		top: 0;
	}
	.calendar_modal_content .flatpickr-input::placeholder,
	.calendar_modal_content input {
		font-size: 24px;
	}
	.calendar_modal_content
		.flatpickr-current-month
		.flatpickr-monthDropdown-months {
		font-size: 22px !important;
	}
	.payments_statements_icon {
		display: block;
	}
	.payments_statements_btn {
		display: none;
	}
	.statements_block_info {
		font-size: 40px;
		width: 100%;
		margin-left: auto;
	}
	.statements_block .block h3 {
		font-size: 35px;
	}
	.statements_form p {
		font-size: 28px;
	}
	.statements_form .button {
		width: 45%;
	}
	.statements_block .row {
		grid-template-columns: repeat(4, 22%) 12%;
	}
	.statements_block .grid_container .row {
		align-items: end;
		min-height: 50px;
	}
	.statements_block .grid_container .grid_item {
		font-size: 18px;
	}
	.statements_date {
		font-size: 23px;
		font-weight: 600;
	}
	.statements_btn {
		margin: unset;
	}
	.statements_block:last-of-type {
		margin-top: 35px;
	}
	.faq_page_section {
		margin-bottom: 85px;
	}
}

@media screen and (max-width: 689px) {
	.sidebar_nav_item {
		font-size: 33px;
		padding: 0 70px 0 0;
	}
	.sidebar_nav_item a {
		padding-left: 75px;
	}
	.sidebar_nav a:before {
		background-size: 40px 40px;
		height: 40px;
		width: 40px;
	}
	.item {
		font-size: 25px;
	}
	.item_info {
		font-size: 31px;
	}
	.item_date {
		font-size: 26px;
	}
	.block_info .row span {
		font-size: 29px;
	}
	.divider {
		margin-bottom: 40px;
	}
	.user_photo {
		max-width: 153px;
		height: 183px;
	}
	.passport_data_form .form_section {
		margin-bottom: calc(20px + (65 - 20) * ((100vw - 320px) / (690 - 320)));
	}
	.passport_data .upload_text,
	.modal_content p,
	#changed_fields span {
		font-size: calc(14px + (20 - 14) * ((100vw - 320px) / (690 - 320)));
	}
	.passport_data .upload_section {
		margin-bottom: calc(10px + (85 - 10) * ((100vw - 320px) / (690 - 320)));
	}
	.passport_data .upload_plus {
		width: calc(30px + (60 - 30) * ((100vw - 320px) / (690 - 320)));
		height: calc(30px + (60 - 30) * ((100vw - 320px) / (690 - 320)));
	}
	.passport_data .fa-plus {
		font-size: calc(30px + (50 - 30) * ((100vw - 320px) / (690 - 320)));
	}
	/* main form style */
	.form label {
		font-size: 16px;
	}
	.form input,
	.form input::placeholder,
	.form select,
	.form select:focus {
		font-size: 20px;
	}
	.form button,
	.button {
		font-size: 23px;
	}
	/* main form style */
	.privacy #checkbox_label,
	.change_password #checkbox_label {
		font-size: 16px;
	}
	.block_money_wrapper {
		padding: 55px 50px 100px 50px;
	}
	.blocks_section .current_money {
		margin-left: 42px;
	}
	.main .payment_section h3 {
		font-size: calc(30px + (45 - 30) * ((100vw - 320px) / (690 - 320)));
	}
	.form_group label {
		font-size: 26px;
	}
	.payment_form {
		row-gap: calc(0px + (20 - 0) * ((100vw - 320px) / (690 - 320)));
	}
	.form_group_btn {
		margin-top: calc(10px + (40 - 10) * ((100vw - 320px) / (690 - 320)));
	}
	.calculator_group label {
		font-size: 21px;
	}
	.result_block label {
		font-size: 18px;
	}
	.result_block_sum {
		font-size: calc(40px + (80 - 40) * ((100vw - 320px) / (690 - 320)));
	}
	.main .calculator_header h3,
	.docx_name,
	.modal_content h1,
	.payments_block h3,
	.statements_block .block h3 {
		font-size: calc(21px + (35 - 21) * ((100vw - 320px) / (690 - 320)));
	}
	.docx_without h1,
	.calendar_modal_content h1 {
		font-size: calc(30px + (45 - 30) * ((100vw - 320px) / (690 - 320)));
	}
	.docx_without p {
		font-size: calc(20px + (28 - 20) * ((100vw - 320px) / (690 - 320)));
		width: 100%;
	}
	.modal_content p,
	.payments_statements .grid_container {
		margin-bottom: calc(10px + (30 - 10) * ((100vw - 320px) / (690 - 320)));
	}
	.modal_content .close_btn {
		font-size: calc(45px + (65 - 14) * ((100vw - 320px) / (690 - 320)));
	}
	#changed_fields span {
		margin-bottom: calc(11px + (25 - 11) * ((100vw - 320px) / (690 - 320)));
		margin-top: calc(10px + (35 - 10) * ((100vw - 320px) / (690 - 320)));
	}
	#send_admin_modal {
		margin-top: calc(10px + (30 - 10) * ((100vw - 320px) / (690 - 320)));
	}
	.payment_calendar_title {
		left: calc(18px + (50 - 18) * ((100vw - 320px) / (690 - 320)));
		top: calc(13px + (20 - 13) * ((100vw - 320px) / (690 - 320)));
		font-size: 23px;
	}
	.payments_container .grid_container .grid_item:nth-child(2),
	.statements_block .grid_container .grid_item {
		font-size: calc(10px + (18 - 10) * ((100vw - 320px) / (690 - 320)));
	}
	.payments_container .grid_container .grid_item,
	.calendar_modal_content p,
	.calendar_modal_content .flatpickr-input::placeholder,
	.calendar_modal_content input {
		font-size: calc(13px + (23 - 13) * ((100vw - 320px) / (690 - 320)));
	}
	.payments_statements_btn {
		font-size: calc(10px + (15 - 10) * ((100vw - 320px) / (690 - 320)));
	}
	.calendar_modal_content input {
		margin-left: 0;
		text-align: center;
	}
	.calendar_modal_content
		.flatpickr-current-month
		.flatpickr-monthDropdown-months {
		font-size: calc(
			16px + (22 - 16) * ((100vw - 320px) / (690 - 320))
		) !important;
	}
	.statements_form p {
		font-size: calc(15px + (25 - 15) * ((100vw - 320px) / (690 - 320)));
	}
	.statements_block_info {
		font-size: calc(20px + (40 - 20) * ((100vw - 320px) / (690 - 320)));
	}
	.statements_form select {
		margin-bottom: calc(15px + (35 - 15) * ((100vw - 320px) / (690 - 320)));
	}
	.statements_block:last-child .grid_item_title,
	.statements_block .statements_date {
		font-size: calc(12px + (23 - 12) * ((100vw - 320px) / (690 - 320)));
	}
	.faq_page_section {
		margin-bottom: calc(35px + (85 - 35) * ((100vw - 320px) / (690 - 320)));
	}
	.faq_page .mobile_container {
		margin-top: calc(90px + (200 - 90) * ((100vw - 320px) / (690 - 320)));
	}
	.extract {
		font-size: calc(10px + (14 - 10) * ((100vw - 320px) / (689 - 320)));
	}
}

@media screen and (max-width: 576px) {
	.burger_menu {
		height: 50px;
	}
	.header_avatar_img {
		height: 70px;
		width: 70px;
	}
	.close_mob_menu {
		left: 50px;
	}
	.mobile_profile_block .header_avatar_img {
		height: 142px;
		width: 140px;
	}
	.mobile_profile_icon {
		right: 40px;
	}
	.sidebar_nav_item {
		font-size: 29px;
		padding-right: 40px;
	}
	.sidebar_nav a:before {
		background-size: 30px 30px;
		height: 30px;
		width: 30px;
		margin-right: 20px;
	}
	.mobile_name_block {
		font-size: 36px;
		margin-bottom: 35px;
	}
	.block_money_wrapper {
		padding: 35px 29px 70px 29px;
	}
	.block_money {
		margin-bottom: 55px;
	}
	.welcome_section {
		margin-top: 70px;
	}
	.main h2 {
		font-size: 35px;
	}
	.blocks_section .current_money {
		font-size: 43px;
		margin-left: 43px;
	}
	.block_money_wrapper .block {
		font-size: 27px;
	}
	.last_date_paid {
		font-size: 18px;
		top: 80px;
	}
	.block h3 {
		font-size: 30px;
	}
	.row_title .grid_item:last-child {
		margin-right: 12px;
	}
	.grid_container {
		max-height: 140px;
	}
	.grid_item {
		font-size: 20px;
		padding: 5px 5px 5px 15px;
	}
	.block_info {
		padding: 40px 35px;
		margin-bottom: 25px;
	}
	.item {
		font-size: 22px;
	}
	.item_info {
		font-size: 30px;
		margin-bottom: 10px;
	}
	.item_date {
		font-size: 24px;
	}
	.item_title_asset,
	.item_income_title {
		max-width: 160px;
	}
	.block_info .row span {
		font-size: 25px;
	}
	.divider {
		margin-bottom: 25px;
	}
	.block_info .row:first-child {
		margin-bottom: 25px;
	}
	.main h3 {
		font-size: 23px;
		margin-bottom: 30px;
	}
	.user_photo {
		max-width: 143px;
		height: 173px;
	}
	.personal_data_info {
		padding: 20px 45px;
	}
	.passport_data_info,
	.security_data_info {
		padding: 43px 45px;
	}
	.passport_data label {
		width: 100%;
	}
	/* main form style */
	.form label {
		font-size: 14px;
	}
	.form input,
	.form input::placeholder,
	.form select,
	.form select:focus {
		font-size: 18px;
	}
	.form button,
	.button {
		font-size: 21px;
	}
	/* main form style */
	.privacy #checkbox_label,
	.change_password #checkbox_label {
		font-size: 14px;
	}
	.passport_data_btn button {
		font-size: 19px;
	}
	.payment_section,
	.calculator_section {
		padding: 50px 40px 25px 40px;
	}
	.form_group label {
		font-size: 22px;
		margin-left: 20px;
	}

	.calculator_group label {
		font-size: 19px;
		margin-left: 20px;
	}
	.calculator_arrow_sel {
		top: 47%;
	}
	.calculator_arrow_sel svg {
		height: 8px;
		width: 19px;
	}
	.result_block label {
		font-size: 16px;
		margin-left: 20px;
	}
	.result_block_sum {
		margin-left: 20px;
	}
	.docx_item {
		padding: 30px 20px;
	}
	.docx_name {
		margin: 40px 0 60px 15px;
	}
	.select_year {
		font-size: 16px;
	}
	.flatpickr-current-month .flatpickr-monthDropdown-months {
		font-size: 16px !important;
	}
	.payments_container .grid_item_title {
		font-size: 16px;
	}
	.payments_statements_btn {
		padding: 3px 8px;
	}
	.statements_form .button {
		width: 60%;
	}
	.statements_form p {
		margin-bottom: 10px;
	}
	.statements_block .block_dynamic {
		padding: 30px;
	}
}

@media screen and (max-width: 479px) {
	.burger_menu {
		height: 40px;
		width: 35px;
	}
	.burger_menu span {
		border: 4px solid var(--main-blue-color);
	}
	.header_avatar_img {
		height: 60px;
		width: 60px;
	}
	.sidebar_logo {
		padding: 50px 100px;
	}
	.close_mob_menu {
		top: 60px;
		left: 30px;
		height: 30px;
	}
	.sidebar_nav_item a {
		padding: 20px 16px 20px 45px;
	}
	.mobile_profile_block .header_avatar_img {
		height: 132px;
		width: 130px;
	}
	.mobile_name_block {
		font-size: 32px;
		margin-bottom: 28px;
	}
	.mobile_profile_icon img {
		height: 24px;
		width: 24px;
	}
	.sidebar_nav_item {
		font-size: 24px;
	}
	.sidebar_nav a:before {
		margin-right: 20px;
		background-size: 25px 25px;
		height: 25px;
		width: 25px;
	}
	.mobile_container {
		margin-top: 150px;
	}
	.block_money_wrapper {
		padding: 25px 20px 50px 20px;
	}
	.block_money {
		margin-bottom: 40px;
	}
	.blocks_section .current_money {
		font-size: 34px;
		margin-left: 55px;
	}
	.block_money_wrapper .block {
		font-size: 23px;
	}
	.block_money_wrapper .block_month_paid {
		font-size: 20px;
	}
	.last_date_paid {
		font-size: 14px;
		top: 60px;
	}
	.block_info {
		padding: 30px;
		margin-bottom: 15px;
	}
	.block_dynamic,
	.block_history {
		padding: 15px;
	}
	.block h3 {
		font-size: 24px;
		margin-bottom: 20px;
	}
	.grid_container {
		max-height: 120px;
	}
	.grid_item {
		font-size: 20px;
		padding-left: 8px;
	}
	.grid_item_title {
		font-size: 22px;
		padding-left: 10px;
	}
	.divider,
	.divider_second {
		margin-top: 5px;
	}
	.item {
		font-size: 16px;
	}
	.block_info .row span {
		font-size: 21px;
	}
	.item_info {
		font-size: 25px;
	}
	.item_date {
		font-size: 20px;
	}
	.footer_link_mobile {
		margin-bottom: 30px;
	}
	.footer_link_mobile a {
		font-size: 24px;
	}
	.user_photo {
		max-width: 133px;
		height: 163px;
	}
	.user_data_form .save_btn {
		width: 100%;
	}
	.passport_data_info,
	.security_data_info {
		padding: 33px 35px;
	}
	/* main form style */
	.form label {
		font-size: 12px;
	}
	.form input,
	.form input::placeholder,
	.form select,
	.form select:focus {
		font-size: 16px;
		/* padding-bottom: 20px; */
	}
	.form button,
	.button {
		font-size: 19px;
	}
	/* main form style */
	.privacy #checkbox_label {
		font-size: 12px;
		margin-bottom: 20px;
	}
	.change_password #checkbox_label {
		font-size: 12px;
		margin-bottom: 50px;
	}
	.passport_data_btn button {
		width: 100%;
		font-size: 16px;
	}
	.passport_data label {
		margin-bottom: 50px;
	}
	.security_data_form {
		gap: 40px;
	}
	.payment_section,
	.calculator_section {
		padding: 40px 30px 15px 30px;
	}
	.form_group label {
		font-size: 20px;
		margin-left: 10px;
	}
	.calculator_group label {
		font-size: 17px;
	}
	.result_block label {
		font-size: 14px;
	}
	.modal_content {
		width: 80%;
		padding: 20px;
	}
	.payment_calendar_title {
		font-size: 21px;
	}
	.payments_statements .button {
		width: 60%;
	}
	.payments_statements_btn {
		padding: 3px 6px;
	}
	.modal_content h1 {
		margin-top: 40px;
	}
	.modal_content .close_btn {
		right: 20px;
	}
	.modal_select_year {
		top: 19.5%;
	}
	.calendar_modal_month_picker
		.flatpickr-current-month
		.flatpickr-monthDropdown-months {
		min-width: 105px;
	}
	.statements_block .block_dynamic {
		padding: 20px 15px;
	}
}

@media screen and (max-width: 374px) {
	.container {
		padding: 0 25px;
	}
	.header_container.aside {
		height: 50px;
	}
	.header_mobile_wrapper .logo {
		margin: 0 30px;
	}
	.burger_menu {
		height: 35px;
		width: 30px;
	}
	.burger_menu span {
		border: 3px solid var(--main-blue-color);
	}
	.header_avatar_img {
		height: 50px;
		width: 50px;
	}
	.close_mob_menu {
		left: 30px;
		height: 20px;
	}
	.mobile_name_block {
		font-size: 26px;
		margin-bottom: 20px;
	}
	.mobile_profile_icon {
		right: 15px;
	}
	.mobile_container {
		margin-top: 120px;
	}
	.sidebar_nav {
		padding-bottom: 70px;
	}
	.sidebar_nav_item {
		font-size: 21px;
	}
	.sidebar_nav_item a {
		padding: 15px 16px 15px 30px;
	}
	.sidebar_nav a:before {
		margin-right: 10px;
		background-size: 20px 20px;
		height: 20px;
		width: 20px;
	}
	.blocks_section .current_money {
		font-size: 31px;
		margin-left: 40px;
	}
	.block_money_wrapper .block {
		font-size: 17px;
	}
	.block_money {
		margin-bottom: 30px;
	}
	.block_money_wrapper .block_month_paid {
		font-size: 16px;
	}
	.block_money_wrapper {
		padding: 25px 15px 35px 15px;
	}
	.last_date_paid {
		font-size: 12px;
		top: 40px;
	}
	.block_history h3 {
		font-size: 21px;
		margin-left: 0;
	}
	.block_info {
		padding: 30px 20px;
		margin-bottom: 70px;
	}
	.grid_item {
		font-size: 16px;
		padding-left: 8px;
	}
	.grid_item_title {
		font-size: 18px;
		padding-left: 10px;
	}
	.item {
		font-size: 14px;
	}
	.item_info {
		font-size: 22px;
		margin-bottom: 5px;
	}
	.item_title_asset,
	.item_income_title {
		max-width: 100px;
	}
	.item_date {
		font-size: 16px;
	}
	.block_info .row span {
		font-size: 17px;
	}
	.block_info .row:first-child {
		margin-bottom: 15px;
	}
	.divider {
		margin-bottom: 15px;
	}
	.main h3 {
		font-size: 21px;
		margin-bottom: 20px;
	}
	.user_photo {
		max-width: 123px;
		height: 153px;
	}
	.personal_data_info {
		padding: 10px 35px;
	}
	.passport_data_info,
	.security_data_info {
		padding: 23px 25px;
	}
	.form_group label {
		font-size: 18px;
	}
	.calculator_group label {
		font-size: 15px;
		margin-left: 10px;
	}
	.result_block label {
		font-size: 12px;
		margin-left: 10px;
	}
	.result_block_sum {
		margin-left: 10px;
	}
	.docx_file button {
		padding: 15px 20px;
	}
	.payments_statements_btn {
		padding: 3px 4px;
	}
	.statements_block .block_dynamic {
		padding: 15px 10px;
	}
}

@media screen and (max-width: 320px) {
	.container {
		padding: 0 20px;
	}
	.sidebar_logo {
		padding: 30px 80px;
	}
	.close_mob_menu {
		top: 40px;
	}
	.sidebar_nav_item {
		font-size: 19px;
	}
	.sidebar_nav_item a {
		padding: 10px 16px 10px 30px;
	}
	.edit_btn img {
		margin-right: 5px;
	}
	.login_btn img {
		margin-left: 0;
	}
	.welcome_section {
		margin: 30px auto 15px auto;
	}
	.main h2 {
		font-size: 30px;
	}
	.user_photo {
		max-width: 113px;
		height: 143px;
	}
	.privacy #save_btn {
		width: 100%;
		margin-top: 40px;
	}
	.passport_data label {
		margin-bottom: 30px;
	}
	.calculator_arrow_sel > svg {
		height: 6px;
		width: 17px;
	}
}


/* =========================================================
   DIIA AUTH
   ========================================================= */

#diia-auth {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}


/*
 * Головна картка.
 * Важливо: padding робимо тут, щоб вміст не прилипав до країв.
 */

#diia-auth.diia_card {
    padding: 24px 26px;
}


/*
 * Сітка:
 *
 *   [ текст / кнопки ] [ QR ]
 *
 * Місце під QR існує одразу, тому картка не стрибає
 * після його генерації.
 */

.diia_card_inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    align-items: center;
    gap: 24px;

    width: 100%;
}


/* =========================================================
   LEFT SIDE
   ========================================================= */

.diia_card_info {
    min-width: 0;
}


/* Header */

#diia-auth .verify_card_header {
    display: flex;
    align-items: center;
    gap: 14px;

    margin: 0 0 18px;
}


#diia-auth .verify_card_logo {
    display: block;

    width: 44px;
    height: 44px;

    flex: 0 0 44px;
}


#diia-auth .verify_card_title {
    font-size: 30px;
    font-weight: 700;
    line-height: 1;

    color: #000;
}


/* Опис */

.diia_description {
    margin: 0;

    max-width: 100%;

    font-size: 13px;
    line-height: 1.4;

    color: #111;
}


/* =========================================================
   ACTIONS
   ========================================================= */

.diia_actions {
    display: flex;
    align-items: center;
    gap: 10px;

    flex-wrap: wrap;

    margin-top: 20px;
}


/*
 * Обидві кнопки мають однакову висоту.
 */

.diia_video_btn,
.diia_qr_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 40px;

    box-sizing: border-box;

    padding: 9px 16px;

    border-radius: 7px;

    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        opacity 0.2s ease,
        transform 0.1s ease;
}


/* Відео */

.diia_video_btn {
    gap: 7px;

    border: 1px solid #bfc3c7;

    background: #fff;
    color: #111;
}


.diia_video_btn svg {
    display: block;
    fill: currentColor;
}


.diia_video_btn:hover {
    background: #f3f3f3;
    border-color: #aaa;
}


/* QR button */

.diia_qr_btn {
    min-width: 160px;

    border: 1px solid #000;

    background: #000;
    color: #fff;
}


.diia_qr_btn:hover {
    opacity: 0.82;
}


.diia_qr_btn:active,
.diia_video_btn:active {
    transform: translateY(1px);
}


.diia_qr_btn:disabled {
    opacity: 0.45;
    cursor: default;
}


/* =========================================================
   STATUS
   ========================================================= */

.diia_status {
    margin: 13px 0 0 !important;

    font-size: 12px;
    line-height: 1.4;

    color: #5b5b5b;
}


.diia_open_link {
    display: inline-block;

    margin-top: 8px;

    color: #111;

    font-size: 12px;
    font-weight: 500;

    text-decoration: underline;
    text-underline-offset: 3px;
}


.diia_open_link:hover {
    text-decoration: none;
}


/* =========================================================
   QR COLUMN
   ========================================================= */

.diia_qr_column {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 180px;
    min-height: 180px;

    justify-self: end;
}


/*
 * Placeholder — займає те саме місце, що й QR.
 */

.diia_qr_placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 10px;

    width: 170px;
    height: 170px;

    box-sizing: border-box;

    padding: 15px;

    border: 1px dashed #d6d6d6;
    border-radius: 12px;

    background: #fff;

    color: #858585;

    font-size: 11px;
    line-height: 1.3;

    text-align: center;
}


.diia_qr_placeholder img {
    display: block;

    width: 40px;
    height: 40px;
}


/* Реальний QR */

#diia-qr {
    width: 170px;
    height: 170px;

    box-sizing: border-box;

    padding: 7px;

    border-radius: 10px;

    background: #fff;
}


#diia-qr svg {
    display: block;

    width: 100%;
    height: 100%;
}


/* =========================================================
   VIDEO MODAL
   ========================================================= */

.video_modal {
    position: fixed;
    inset: 0;

    z-index: 99999;

    display: none;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;

    padding: 30px;
}


.video_modal.is_open {
    display: flex;
}


.video_modal_backdrop {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.72);
}


.video_modal_dialog {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 960px;

    overflow: hidden;

    border-radius: 14px;

    background: #000;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.35);
}


.video_modal_content {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;
}


.video_modal_content iframe {
    position: absolute;
    inset: 0;

    display: block;

    width: 100%;
    height: 100%;
}


.video_modal_close {
    position: absolute;
    top: 12px;
    right: 12px;

    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.72);

    color: #fff;

    font-size: 29px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;
}


.video_modal_close:hover {
    background: #000;
}


body.video_modal_open {
    overflow: hidden;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .diia_card_inner {
        grid-template-columns: minmax(0, 1fr) 155px;
        gap: 18px;
    }


    .diia_qr_column {
        width: 155px;
        min-height: 155px;
    }


    .diia_qr_placeholder,
    #diia-qr {
        width: 150px;
        height: 150px;
    }


    .diia_qr_btn {
        min-width: 145px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    #diia-auth.diia_card {
        padding: 22px 20px;
    }


    .diia_card_inner {
        grid-template-columns: 1fr;

        gap: 22px;
    }


    .diia_qr_column {
        width: 100%;
        min-height: auto;

        justify-self: stretch;
    }


    .diia_qr_placeholder,
    #diia-qr {
        width: 190px;
        height: 190px;

        margin: 0 auto;
    }


    .diia_actions {
        flex-direction: column;
        align-items: stretch;
    }


    .diia_video_btn,
    .diia_qr_btn {
        width: 100%;
        min-width: 0;
    }


    #diia-auth .verify_card_title {
        font-size: 27px;
    }


    .video_modal {
        padding: 15px;
    }


    .video_modal_dialog {
        border-radius: 10px;
    }
}

/* =========================================================
   VIDEO MODAL
   ========================================================= */

.video_modal {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 30px;
}

.video_modal.is_open {
    display: flex;
}

.video_modal_backdrop {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.72);
}

.video_modal_dialog {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 1000px;

    background: #000;
    border-radius: 16px;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);

    overflow: hidden;
}

.video_modal_content {
    position: relative;

    width: 100%;
    aspect-ratio: 16 / 9;
}

.video_modal_content iframe {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    display: block;
}

.video_modal_close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;

    width: 42px;
    height: 42px;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.7);
    color: #fff;

    font-size: 32px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;
}

.video_modal_close:hover {
    background: #000;
}

body.video_modal_open {
    overflow: hidden;
}

@media (max-width: 600px) {

    .video_modal {
        padding: 15px;
    }

    .video_modal_dialog {
        border-radius: 10px;
    }

    .video_modal_close {
        top: 8px;
        right: 8px;

        width: 36px;
        height: 36px;

        font-size: 28px;
    }
}