* {
  font-family: Roboto, Arial, sans-serif;
  box-sizing: border-box;
}

.error,
.error2 {
  color: red;
}

.new {
	color: #FBBA00;
	font-weight: bold;
}

a,
a:hover {
  text-decoration: none;
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
  border: none;
}

button:not(:disabled),
[type="button"]:not(:disabled),
[type="reset"]:not(:disabled),
[type="submit"]:not(:disabled) {
  cursor: pointer;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  padding: 0;
  border-style: none;
}

input[type="radio"],
input[type="checkbox"] {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
}

input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"] {
  -webkit-appearance: listbox;
  appearance: listbox;
}

p {
  margin: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

input[type="file"] {
  display: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

input[type="checkbox"] {
  margin: 0;
}

#wrapper {
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  background: #F0F0F0;

}

.container {
  padding-bottom: 100px;
  display: flex;
  flex-direction: column;
}

/* СТРАНИЦА ВХОДА */
.login-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #f0f0f0;
  min-height: 100dvh;
  padding: 20px;
  padding-top: 48px;
}

.sidenav {
  margin: 0 auto;
  cursor:pointer;
}

.sidenav-visuals {
  display: none;
}

/*
.sidenav .logo {
  display: block;
  width: 146px;
  height: 55px;
  background-image: url('/images/svg/logo-black.svg');
  background-size: cover;
  background-repeat: no-repeat;
}
  */

.sidenav .logo img {
  display: block;
  width: 305px;
  height: 150px;
}



.login-main-text {
  text-align: center;
}

.main {
  margin: auto 0;
}

.login-form-title {
  color: #4f565a;
  text-align: center;
  font-size: 32px;
  font-style: normal;
  font-weight: 900;
  line-height: 101.688%;
  letter-spacing: 1.12px;
  margin-bottom: 29px;
}

.login-form-title.success {
  color: #4f565a;
  text-align: left;
  font-size: 20px;
}

.login-form.error-form {
  box-sizing: border-box;
  font-size: 20px;
  color: #4f565a;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.form {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-inputs {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 17px;
  margin: auto;
  margin-bottom: 18px;
  width: 100%;
  max-width: 452px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #383838;
  position: relative;
}

.form-group label {
  font-size: 12.743px;
  font-style: normal;
  line-height: 133.687%;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: Roboto, Arial, sans-serif;
  border-radius: 10.619px;
  background: #fff;
  padding: 16px;
  border: none;
  font-weight: 400;
}

.form-group textarea {
  height: 116px;
  resize: none;
}

.form-group select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
}

.recover-password {
  display: block;
  color: #383838;
  text-align: center;
  font-family: Roboto;
  font-size: 12.743px;
  font-style: normal;
  font-weight: 400;
  line-height: 133.687%;
  opacity: 50%;
  margin: auto;
  border-bottom: 1px solid rgba(56, 56, 56, 0.5);
  margin-bottom: 20px;
}

.recover-password:hover {
  opacity: 100%;
  border-bottom: 1px solid #383838;
  text-decoration: none;
  color: #383838;
}

.login-buttons {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 178px;
  margin: auto;
}

.button-contained {
  border-radius: 11.224px;
  background: #fbba00;
  color: #fff;
  border: none;

  text-align: center;
  font-family: Roboto;
  font-size: 15.575px;
  font-style: normal;
  font-weight: 700;
  line-height: 133.687%;
  padding: 11px;
}

.button-contained:hover, .button-contained_small:hover {
  color: #fff;
}

.button-contained_small {
  border-radius: 11.224px;
  background: #fbba00;
  color: #fff;
  padding: 11px;
  min-width: 140px;
  text-align: center;
}

.button-inline {
  color: #fbba00;
  text-align: center;
  font-family: Roboto;
  font-size: 12.743px;
  font-style: normal;
  font-weight: 600;
  line-height: 133.687%;
}

.button-inline:hover {
  color: #fbba00;
}

@media screen and (min-width: 768px) {
  .login-page {
    padding-top: 73px;
  }

  .sidenav .logo img {
    position: relative;
    width: 226px;
    height: 85.213px;

  }

  .login-form-title {
    color: #4F565A;

    text-align: center;
    font-family: Roboto;
    font-size: 48px;
    font-style: normal;
    font-weight: 900;
    line-height: 101.688%;
    letter-spacing: 1.68px;
    margin-bottom: 39px;
  }

  .form-inputs {
    margin-bottom: 26px;
  }

  .form-group {
    gap: 10px;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
  }

  .form-group label {
    font-size: 18px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 133.687%;
    padding: 23px;
  }

  .form-group textarea {
    height: 144px;
  }

  .recover-password {
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 133.687%;
    margin-bottom: 30px;
  }

  .login-buttons {
    gap: 25px;
    width: 251px;
  }

  .button-inline {
    font-size: 18px;
  }

  .button-contained {
    border-radius: 15.854px;
    font-size: 22px;
    padding: 15px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1120px;
    margin: auto;
  }

  .container:has(.users) {
    max-width: 1500px;
  }

	.container:has(.sell-shares) {
		max-width: 1600px;
	}

  .login-page {
    padding: 0;
    flex-direction: row;
  }

  .sidenav {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: #4F565A;
    /*overflow: hidden;*/
  }

  .sidenav::after {
    content: "";
    background-image: url('/images/background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top left;
   /* mix-blend-mode: luminosity;*/
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .sidenav::after {
    content: "";
    background-color: lightgray;
    opacity: 0.3;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*mix-blend-mode: luminosity;*/
  }

  .sidenav-visuals::before {
    content: "";
    position: absolute;
    width: 1173.451px;
    height: 638px;
    transform: rotate(61.221deg);
    border-radius: 1173.451px;
    background: rgba(251, 186, 0, 0.20);
    filter: blur(200px);
    top: -500px;
    left: -700px;

  }

  .sidenav-visuals::after {
    content: "";
    position: absolute;
    width: 615px;
    height: 594px;
    transform: rotate(90deg);
    border-radius: 615px;
    background: rgba(251, 186, 0, 0.30);
    filter: blur(200px);
    bottom: -300px;
    right: -440px;
  }

  .sidenav .logo {
    position: absolute;
    width: 305px;
    height: 150px;
    background-image: url('/images/logo-white.png');
  }

  .main {
    z-index: 1;
    width: 50%;
    width: calc(50% + 30px);
    margin-left: -30px;
    border-radius: 23px;
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
  }

  .login-form {
    width: 100%;
  }
}

/* СТРАНИЦА РЕГИСТРАЦИИ */

.reg-title {
  margin-top: 49px;
}

.registration .form-inputs {
  gap: 20px;
}

.registration .login-buttons {
  width: 230px;
}

.registration .form-block {
  display: flex;
  flex-direction: column;
  gap: 29px;
}

.login-buttons .info {
  text-align: center;
  font-size: 12.677px;
}

.login-buttons .info span {
  margin-right: 5px;
}

.checkboxes {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkbox input[type=checkbox] {
  display: none;
}

.checkbox label {
  font-size: 11.269px;
  font-style: normal;
  font-weight: 400;
  line-height: 133.687%;

  display: flex;
  align-items: center;
}

.checkbox label a {
  text-decoration-line: underline;
}

.checkbox-icon {
  display: inline-block;
  min-width: 21.129px;
  min-height: 21.129px;
  border-radius: 3.521px;
  border: 1.409px solid rgba(56, 56, 56, 0.50);
  background-size: 100% 100%;
  cursor: pointer;
  position: relative;
  margin-right: 9px;
  background: #FFF;
}

.checkbox input:checked+label .checkbox-icon::after {
  background-image: url('/images/svg/check-icon.svg');
  background-size: contain;
  background-repeat: no-repeat;
  width: 12.677px;
  height: 12.677px;
  position: absolute;
  content: "";
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.radio input[type=radio] {
  display: none;
}

.radio-icon {
  min-width: 22px;
  height: 22px;
  border-radius: 100px;
  border: 2px solid rgba(56, 56, 56, 0.50);
  background: #FFF;
  margin-right: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.radio input:checked+label .radio-icon::after {
  display: block;
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 100px;
  background: #FBBA00;
}

@media screen and (min-width: 768px) {
  .reg-title {
    margin-top: 80px;
  }

  .registration .form-inputs {
    max-width: 616px;
    gap: 25px;
  }

  .registration .form-block {
    flex-direction: row;
    gap: 25px;
  }

  .registration .form-group {
    width: 100%;
  }

  .registration .checkboxes {
    margin-top: 10px;
  }

  .checkboxes {
    gap: 17px;
  }

  .checkbox label {
    font-size: 16px;
  }

  .checkbox-icon {
    min-width: 30px;
    min-height: 30px;
    border-radius: 5px;
    border: 2px solid rgba(56, 56, 56, 0.50);
    margin-right: 19px;
  }

  .checkbox input:checked+label .checkbox-icon::after {
    width: 18px;
    height: 18px;
  }

  .registration .login-buttons {
    margin-top: 12px;
    width: 326px;
  }

  .registration .info {
    font-size: 18px;
  }
}

@media (min-width: 1200px) {
  .login-form {
    padding-left: 50px;
    padding-right: 50px;
  }

  .registration .reg-title {
    margin-top: 100px;
  }

  .registration .form-inputs {
    margin-bottom: 100px;
  }
  
  .container:has(.investments) {
	max-width: 1750px;
  }
}

/* HEADER */
.header-box {
  background: #4F565A;
  height: 76px;
  color: #F0F0F0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  position: relative;
}

.logo {
  width: 104px;
  height: 39px;
  background-image: url('/images/logo-white.png');
  background-size: cover;
  background-repeat: no-repeat;
}

.nav-box-mobile {
  display: none;
  position: absolute;
  z-index: 1;
  top: 100%;
  right: 0;
  background: #F0F0F0;
  width: 100%;
  height: calc(100vh - 76px);
  color: #4F565A;
  font-size: 24px;
  font-weight: 600;

  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.nav-box-mobile.shown {
  display: flex;
}

.nav-menu {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
}

.nav-link.is_active, .nav-link:hover  {
  color: #FBBA00;
}

.nav-box-mobile .user-email {
  justify-self: end;
  display: block;
  color: #4F565A;
  font-size: 18px;
  font-weight: 500;
  padding-bottom: 40px;
}

.nav-box-mobile .divider {
  display: none;
}

.nav-box {
  display: none;
}


.header-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-button {
  width: 43px;
  height: 43px;
  border-radius: 10px;
  background: #F0F0F0;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  display: grid;
  place-content: center;
}

.header-button:hover {
  background-color: #F0F0F0;
}

.header-button.menu {
  background-image: url('/images/svg/menu.svg');
}

.header-button.menu.active {
  background-image: url('/images/svg/cross.svg');
}

.header-button.exit {
  background-image: url('/images/svg/exit-small.svg');
}

.user-email {
  display: none;
}

@media screen and (min-width: 768px) {
  .nav-box {
    display: flex;
  }

  .header-box {
    height: 113px;
    padding-left: 50px;
    padding-right: 50px;
  }

  .header-buttons {
    gap: 31px;
  }

  .header-button.menu {
    display: none;
  }

  .header-button:hover {
    background-color: #FBBA00;
  }

  .nav-box-mobile {
    display: none;
    position: static;
    background: transparent;
    width: auto;
    height: auto;
    font-size: 20px;
    font-weight: 500;
    flex-direction: row;
  }

  .nav-menu {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: start;
    color: #FFF;
    gap: 15px;
  }

  .nav-box-mobile .divider {
    display: inline;
  }

  .nav-box-mobile .user-email {
    display: none;
  }

  .user-email {
    display: inline;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
  }

  .logo {
    position: absolute;
    width: 200px;
    height: 100px;
    left: 50%;
    transform: translateX(-50%);
  }

  .header-button {
    width: 63px;
    height: 63px;
    border-radius: 15px;
  }

  .header-button.exit {
    background-image: url('/images/svg/exit-big.svg');
  }
}

@media screen and (min-width: 1200px) {
  header {
    background: #4F565A;
  }

  .header-box {
    max-width: 1120px;
    margin: 0 auto;
  }

  .nav-menu {
    max-width: 640px;
  }
}

/* ИНВЕСТОР - ПРОФИЛЬ */

main {
  background: #F0F0F0;
  padding-left: 20px;
  padding-right: 20px;
}

.investor-profile {
  min-height: 100vh;
  padding-bottom: 50px;
}

.page-title {
  padding-top: 63px;
  color: #4F565A;
  font-family: Roboto;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 101.688%;
  letter-spacing: 1.12px;
  margin-bottom: 44px;
  word-break: break-word;
}

.profile-blocks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, minmax(100px, auto));
  gap: 10px;
}

.profile-block {
  border-radius: 8.673px;
  background: #FFF;
  padding: 11px;
  position: relative;
  box-shadow: 0 0 3px #4f565a17, 0 0 5px #4F565A1a;
  transition: all .2s ease-in-out;
}

.profile-block:hover {
  box-shadow: 0 0 20px #4f565a44, 0 0 20px #4f565a52;
  transform: translateY(-5px);
}

.profile-block p {
  color: #4F565A;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 133.687%;
}

.profile-block-img {
  --container-width: 25vw;
  width: var(--container-width);
  height: var(--container-width);
  padding: 5px;
  border-radius: 8.673px;
  background: #4F565A;
  margin-bottom: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-block-img img, .profile-block-img svg {
  width: 100%;
  height: 100%;
}

.profile-block .notifications {
  position: absolute;
  top: clamp(10px, 3vw, 24px);
  right: clamp(10px, 3vw, 24px);;
  border: 3px solid #FBBA00;
  border-radius: 50%;
  color: #FBBA00;
  background-color: white;
  padding: 5px;
  min-width: 35px;
  text-align: center;
  font-weight: 600;
}

.lpi .profile-block:last-child, .investor-profile .profile-block:last-child, .admin .profile-block:last-child  {
  grid-column: span 2;
}

@media screen and (min-width: 450px) {
  .profile-blocks {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, minmax(100px, auto));
    column-gap: 20px;
    row-gap: 25px;
  }

  .lpi .profile-blocks {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, minmax(100px, auto));
  }

  .profile-block-img {
    --container-width: 17vw;
  }

  .admin .profile-block:last-child {
    grid-column: span 1;
  }

  .investor-profile .profile-block:last-child  {
    grid-column: span 3;
  }
}

@media screen and (min-width: 768px) {
  main {
    padding-left: 50px;
    padding-right: 50px;
  }

  .page-title {
    padding-top: 80px;
    font-size: 48px;
    margin-bottom: 57px;
  }

  .profile-block {
    padding: 24px 21px;
  }

  .profile-block p {
    font-size: 19.413px;
    margin-bottom: auto;
  }

  .profile-block-img {
    aspect-ratio: 1/1;
    border-radius: 16.177px;
    margin-bottom: 15px;
    padding: 15px;
  }
}

@media screen and (min-width: 1200px) {
  main {
    background-color: #F0F0F0;
  }

  .profile-blocks {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, minmax(100px, auto));
    column-gap: 20px;
    row-gap: 25px;
    position: relative;
  }

  .admin .profile-blocks {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, minmax(100px, auto));
  }

  .profile-block {
    padding: 22px 19px;
    border-radius: 15px;
    aspect-ratio: 1/1;
  }

  .lpi .profile-blocks {
    grid-template-columns: repeat(3, 1fr);
  }

  .lpi .profile-block, .admin .profile-block {
    aspect-ratio: unset;
    height: 100%;
  }

  .profile-block p {
    font-size: 18px;
  }

  .profile-block-img {
    --container-width: 15vw;
    max-width: 180px;
    max-height: 180px;
    border-radius: 15px;
    margin-bottom: 14px;
  }

  .profile-block.data {
    grid-row: 2/ 3;
  }

  .investor-profile .profile-block:last-child  {
    grid-column: span 2;
    aspect-ratio: unset;
  }
}

/* ИСТОРИЯ ОПЕРАЦИЙ */

.account-history .page-title {
  width: 260px;
}

.full-title {
  display: none;
}

.balance {
  color: #4F565A;
  border-radius: 9.483px;
  background: #FFF;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}

.balance-img {
  width: 63.222px;
  height: 63.222px;
  border-radius: 9.483px;
  background: #4F565A;
  display: flex;
  justify-content: center;
  align-items: center;
}

.balance-info {
  font-size: 15px;
  font-weight: 600;
}

.balance-gray {
  color: #777e81;
}

.balance-numbers {
  font-size: 15.173px;
  font-weight: 500;
}

.table-box {
  width: 100%;
  overflow: hidden;
  border-radius: 9px 9px 0 0;
}

table {
  font-size: 14px;
  font-weight: 400;
  display: grid;
  width: 100%;
  overflow-x: auto;
}


table::-webkit-scrollbar {
  height: 7px;
}

table::-webkit-scrollbar-button {
  display: none;
}

table::-webkit-scrollbar-track {
  border-radius: 100px;
  background: rgba(89, 96, 100, 0.30);
}

table::-webkit-scrollbar-thumb {
  border-radius: 100px;
  background: #596064;
}

tr {
  display: grid;
  grid-template-columns: 250px minmax(430px, auto) 200px 250px;
}

th {
  color: #383838;
  background-color: #fff;
  font-size: 18px;
  font-weight: 500;
  text-align: start;
  padding-top: 15px;
  padding-bottom: 15px;
  margin: auto 0;
}

.head {
  background-color: #fff;
}

.head th {
  padding-top: 17px;
  padding-bottom: 21px;
}

td {
  padding-top: 17px;
  padding-bottom: 21px;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  display: flex;
  align-items: center;
}

tr:nth-child(odd) {
  background-color: #ffffff80
}

tr:first-child {
  background-color: #fff;
}

th:first-child,
td:first-child {
  padding-left: 29px;
}

@media screen and (min-width: 768px) {
  .account-history .page-title {
    width: auto;
  }

  .full-title {
    display: inline;
  }

  .balance {
    border-radius: 15px;
    padding: 19px 22px;
    gap: 19px;
    margin-bottom: 36px;
  }

  .balance-img {
    width: 100px;
    height: 100px;
    border-radius: 15px;
  }

  .balance-img img {
    width: 81px;
    height: 81px;
  }

  .balance-info {
    font-size: 32px;
  }

  .balance-numbers {
    font-size: 24px;
  }
}

/* ПОПОЛНЕНИЕ БАЛАНСА */
.refill-balance .form-inputs {
  gap: 25px;
  margin-bottom: 66px;
  max-width: none;
}

.refill-balance .button-contained {
  height: 57px;
  font-size: 17.52px;
  border-radius: 16.425px;
}

.table-title {
  font-size: 24px;
  font-weight: 500;
  line-height: 101.688%;
  letter-spacing: 0.84px;
  color: #4F565A;
  width: 262px;
  margin-bottom: 25px;
}

@media screen and (min-width: 768px) {
  .refill-balance .form-inputs {
    gap: 30px;
    margin-bottom: 92px;
  }

  .refill-balance .button-contained {
    max-width: 320px;
  }

  .table-title {
    width: auto;
    font-size: 38px;
    letter-spacing: 1.33px;
    margin-bottom: 35px;
  }

  .refill-balance tr {
    grid-template-columns: 250px minmax(300px, auto) minmax(300px, auto) 150px;
  }

  .sell-shares tr {
    grid-template-columns: 250px 250px minmax(300px, auto) 250px minmax(300px, auto) 150px;
  }
}

/* ПРОФИЛЬ */
.profile .form-inputs {
  min-width: 100%;
}

.profile .form-block {
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.id-required {
  font-size: 16px;
  font-weight: 500;
  line-height: 133.687%;
}

.files-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 42px;
}

.files-wrapper .info {
  font-size: 10.69px;
  font-weight: 500;
  line-height: 133.687%;
  opacity: 0.5;
  width: 242.06px;
}

.files-wrapper .info.inner {
  display: none;
}

.file {
  display: flex;
  gap: 5px;
}

.button {
  box-sizing: border-box;
  padding: 12px 25px;
  max-height: 42.761px;
  max-width: 320px;
  border-radius: 12.542px;
  color: #fff;
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.button:hover {
  color: #fff;
}

.button.object {
  background: #4F565A;
}

.delete {
  width: 42.761px;
  height: 42.761px;
  border-radius: 12.542px;
  background: #FB1E00;
  display: flex;
  justify-content: center;
  align-items: center;
}

.delete img {
  width: 19.853px;
  height: 19.853px;
}

.add-file {
  display: flex;
  gap: 12.5px;
  align-items: center;
  flex-wrap: wrap;
}

.add-file {
  position: relative;
}

.add-file input[type="file"] {
  display: block;
  position: absolute;
  opacity: 0;
  width: 50px;
  left: 50px;
}

.info-box {
  width: fit-content;
}

.add-file p {
  font-size: 14px;
  font-weight: 500;
  line-height: 123.687%;
  width: 106px;
  word-wrap: break-word;
}

.button.upload {
  background: rgba(79, 86, 90, 0.50)
}

@media screen and (min-width: 768px) {

  .profile .form-block,
  .profile .form-inputs {
    gap: 34px;
  }

  .files-wrapper {
    gap: 34px;
    margin-bottom: 24px;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .id-required {
    font-size: 20px;
    width: 100%;
  }

  .files-wrapper .info.outer {
    display: none;
  }

  .files-wrapper .info.inner {
    display: block;
    font-size: 14px;
    width: 317px;
  }

  .file {
    gap: 7px;
  }

  .button {
    padding-left: 32px;
    padding-right: 32px;
    min-height: 56px;
    border-radius: 16.425px;
    font-size: 18px;
  }

  .button.object {
    background: #4F565A;
  }

  .delete {
    width: 56px;
    height: 56px;
    border-radius: 16.425px;
  }

  .delete img {
    width: 26px;
    height: 26px;
  }

  .add-file {
    gap: 22px;
  }

  .add-file p:not(.info) {
    font-size: 20px;
    width: auto;
  }

  .button.upload {
    background: rgba(79, 86, 90, 0.50)
  }
}

@media screen and (min-width: 1200px) {
  .profile .form-group {
    width: 100%;
  }

  .profile .form-block {
    flex-direction: row;
  }
}

/* МОИ ИНВЕСТИЦИИ */

.investments tr {
  display: grid;
  grid-template-columns: 170px minmax(320px, auto) 220px 220px 220px 190px 190px 190px;
}

.icons {
  display: flex;
  gap: 14px;
}

.icon {
  width: 73px;
  height: 29px;
}

.icon.link {
  background-image: url('/images/svg/link.svg');
}

.icon.person {
  border-radius: 5px;
  background-color: #FBBA00;
  background-image: url('/images/svg/person.svg');
  background-position: center;
  background-repeat: no-repeat;

}

.icon.doc {
  background-image: url('/images/svg/doc.svg');
}

/* СДЕЛАТЬ ИНВЕСТИЦИЮ */
.make-an-investment .balance {
  margin-bottom: 18px;
}

.make-an-investment .form-inputs {
  max-width: 100%;
}

.max-sum-box {
  color: #4F565A;
  border-radius: 7.75px;
  background: #FFF;
  font-size: 14px;
  padding: 14px;
  font-size: 16.469px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 46px;
}

@media screen and (min-width: 768px) {

  .make-an-investment .balance,
  .max-sum-box {
    margin-bottom: 40px;
  }

  .max-sum-box {
    padding: 26px 31px;
    flex-direction: row;
    gap: 16px;
  }

  .make-an-investment .form-inputs {
    gap: 30px;
  }
}

@media screen and (min-width: 768px) {
  .make-an-investment .balance {
    margin-bottom: 20px;
  }
}

/* ПРОЕКТ ИНВЕСТИЦИИ */
.project-main-block {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-bottom: 30px;
}

.project-img {
  width: 100%;
  object-fit: cover;
}

.project-img img {
  border-radius: 5.475px;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.project-goals-box {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.project-goals {
  border-radius: 15px;
  background: #FFF;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.project-goal {
  color: #383838;
  display: flex;
  justify-content: space-between;
  line-height: 133.687%;
}

.project-goal span {
  opacity: 0.5;
}

.project-page .accordion {
  margin-top: 11px;
}

.accordion {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.accordion-item {
  border-radius: 15px;
  background: #F0F0F0;
  padding: 15px;
}

.accordion-header {
  background-color: #f0f0f0;
  cursor: pointer;
  color: #4F565A;
  font-size: 16px;
  font-weight: 500;
  line-height: 133.687%;
  position: relative;
}

.accordion-header::after {
  position: absolute;
  content: "";
  width: 12px;
  height: 12px;
  background-image: url('/images/svg/arrow-dark.svg');
  background-repeat: no-repeat;
  background-position: center center;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);

}

.accordion-content {
  display: none;
  color: #383838;

  font-size: 14px;
  font-weight: 400;
  line-height: 133.687%;
  opacity: 0.5;
  margin-top: 5px;
}

.accordion-item.active .accordion-content {
  display: block;
}

.accordion-item.active .accordion-header::after {
  transform: rotate(180deg) translateY(50%);
}

.project-page .button-contained {
  max-width: 100%;
  max-height: 57px;
  height: 57px;
  padding: 17px;
}

.project-description p {
  color: #383838;
  font-size: 14px;
  line-height: 133.687%;
  opacity: 0.5;
}

.project-description {
  margin-bottom: 30px;
}

.project-links,
.project-links-couple {
  display: flex;
  gap: 9px;
}

.project-links {
  flex-wrap: wrap;
  margin-bottom: 26px;
}


.button.project {
  min-width: 87.154px;
  padding: 14px 18px;
  background: #4F565A;
  border-radius: 13.014px;
}

@media screen and (min-width: 768px) {
  .project-main-block {
    gap: 25px;
    margin-bottom: 37px;
  }

  .project-img {
    height: 190px;
  }

  .project-goals-box {
    gap: 23px;
    border-radius: 15px;
    background: #FFF;
    padding: 27px;
  }

  .project-page .accordion {
    margin-top: 29px;
  }

  .project-goals {
    padding: 0;
    gap: 13px;
  }

  .project-goal {
    font-size: 20px;
  }

  .accordion {
    gap: 14px;
  }

  .accordion-item {
    padding: 22px;
  }

  .accordion-header {
    font-size: 20px;
  }

  .accordion-header::after {
    width: 15px;
    height: 15px;
    background-size: contain;
    right: 14px;

  }

  .accordion-content {
    font-size: 20px;
    margin-top: 18px;
  }

  .project-description p {
    font-size: 17.52px;
  }

  .project-description {
    margin-bottom: 48px;
  }

  .project-links,
  .project-links-couple {
    gap: 19px;
  }

  .project-links {
    flex-wrap: wrap;
    margin-bottom: 43px;
  }


  .button.project {
    min-width: 110px;
    padding: 14px 22px;
    background: #4F565A;
    border-radius: 13.014px;
  }
}

@media screen and (min-width: 1200px) {
  .project-main-block {
    flex-direction: row;
    gap: 35px;
    justify-content: space-between
  }

  .project-img,
  .project-goals-box {
    width: 50%;
    height: auto;
  }

  .project-img img {
    height: auto;
    object-fit: contain;
    /* background-color: #fff; */
    /* height: auto;
    width: 50%;
    object-fit: contain;
    object-position: top; */
  }
}

/* ВИТРИНЫ */
.cards-list {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

.card {
  display: flex;
  flex-direction: column;
  border-radius: 15px;
  background: #FFF;
  padding: 15px;
  width: 320px;
}

.card-img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  object-position: center;
  border-radius: 5px;
  margin-bottom: 20px;
}

.card-title {
  color: #383838;
  font-size: 17.778px;
  font-weight: 600;
  line-height: 133.687%;
  margin-bottom: 9px;
}

.card-text-container {
  margin-bottom: auto;
}

.card-text,
.card-text p,
.card-text h1 {
  font-size: 16px;
  font-weight: 400;

}

.card-text {
  margin-bottom: 9px;
}

.button-inline.more {
  width: fit-content;
  font-size: 16px;
  position: relative;
}

.button-inline.more::after {
  position: absolute;
  content: "";
  width: 11px;
  height: 11px;
  background-image: url('/images/svg/arrow-yellow.svg');
  background-repeat: no-repeat;
  background-position: center center;
  right: -17px;
  top: 50%;
  transform: translateY(-50%);
}

.card-goals {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 25px;
}

.progress-box {
  margin-bottom: 14px;
}

.progress-bar {
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background: rgba(80, 87, 91, 0.30);
  margin-bottom: 6px;
}

.progress {
  height: 100%;
  border-radius: 5px;
  background: #FBBA00;
}

.procent {
  color: #FBBA00;
  font-size: 17.52px;
  font-weight: 900;
}

.card .button-contained {
  max-width: 100%;
  min-height: 46.42px;
  padding: 14px 25px;
}

@media screen and (min-width: 768px) {
  .cards-list {
    gap: 30px;
    justify-content: start;
  }

  .card {
    border-radius: 17px;
    padding: 18px;
    width: 355px;
    color: #383838;
  }

  .card-img {
    height: 145px;
    margin-bottom: 22px;
  }

  .card-title {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .card-text {
    font-size: 18px;
    margin-bottom: 18px;
  }

  .button-inline.more {
    font-size: 18px;
  }

  .button-inline.more::after {
    width: 12px;
    height: 12px;
  }

  .card-goals {
    margin-top: 28px;
    margin-bottom: 29px;
  }

  .progress-bar {
    height: 11px;
  }

  .card .button-contained {
    min-height: 52px;
  }
}

@media screen and (min-width: 1200px) {
  .cards-list {
    gap: 27px;
  }

  .card {
    box-sizing: border-box;
    max-width: 354px;
  }
}

/* ЛПИ */

.header-box .logo {
  display: block;
}

@media screen and (min-width: 768px) {
  .header-box .logo  {
    display: none;
  }

  .lpi .nav-menu {
    flex-wrap: wrap;
    justify-content: start;
  }

  .large .header-box {
    max-width: 100%;
  }
}

@media screen and (min-width: 1320px) {
  .large .header-box {
    padding-left: 100px;
    padding-right: 100px;
  }
}

@media screen and (min-width: 1700px) {
  .header-box .logo  {
    display: block;
  }
}

/* ЛПИ ВИТРИНА */

.project-buttons .button {
  max-height: 100%;
  max-width: 100%;
}

.project-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 29px;
}

.lpi-projects tr {
  grid-template-columns: 60px minmax(210px, auto) 120px 130px 120px 150px 200px 150px 150px 180px 260px 150px;
}

.lpi .container:has(.lpi-projects) {
  max-width: 1850px;
}

.textaria-box {
  border-radius: 15px;
  overflow: hidden;
}

.textaria-box .cke_chrome {
  border: none;
}

.add-project .files-wrapper {
  margin-bottom: 0;
}

.add-project .action-buttons {
  margin-top: 21px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.add-project .form-inputs {
  max-width: 100%;
}

.form-block {
  display: flex;
  flex-direction: column;
}

.add-project .form-block {
  gap: 17px;
}

.underline {
	font-weight: bold;
	text-decoration: underline;
}

@media screen and (min-width: 768px) {
  .add-project .files-wrapper {
    margin-bottom: 13px;
  }

  .add-project .form-inputs,
  .add-project .form-block {
    gap: 30px;
  }

  .add-project .action-buttons {
    flex-direction: row;
    gap: 23px;
  }

  .add-project .action-buttons .button {
    min-width: 320px;
  }
}

@media screen and (min-width: 1200px) {
  .add-project .form-group {
    width: 100%;
  }

  .add-project .form-inputs,
  .add-project .form-block {
    gap: 35px;
  }

  .add-project .form-block {
    flex-direction: row;
  }
}

/* MODAL DELETE */
.modal-wrapper {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(79, 86, 90, 0.50);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal {
  border-radius: 10.783px;
  background: #FFF;
  width: 100%;
  max-width: 584px;
  padding: 35px 40px;
}

.modal-title {
  color: #4F565A;
  text-align: center;
  font-size: 23.003px;
  font-weight: 600;
  line-height: 133.687%;
  margin-bottom: 19px;
}

.modal-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.button.warning {
  background: #FB1E00;
}

.button.cancel {
  background: rgba(79, 86, 90, 0.50);
}

@media screen and (min-width: 768px) {
  .modal {
    padding: 70px;
  }

  .modal-title {
    font-size: 32px;
    margin-bottom: 31px;
  }
}

/* ИНВЕСТИЦИИ В ПРОЕКТ */
.investment-goals-box {
  border-radius: 9.873px;
  background: #FFF;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 20px;
  margin-bottom: 34px;
}

.investment-title {
  color: #4F565A;
  font-size: 16px;
  font-weight: 700;
  line-height: 133.687%;
}

.investment-goals {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: #383838;
}

.investment-goals span {
  opacity: 0.5;
}

.investment tr {
  grid-template-columns: 350px 150px 150px 200px;
}

@media screen and (min-width: 768px) {
  .investment-goals-box {
    border-radius: 15px;
    gap: 33px;
    padding: 30px;
    margin-bottom: 48px;
  }

  .investment-title {
    font-size: 24px;
  }

  .investment-goals {
    gap: 13px;
    font-size: 20px;
  }
}

/* ADD MONEY */
.add-money .action-buttons {
  display: flex;
  gap: 14px;
  margin-bottom: 36px;
  align-items: end;

}

.add-money .accept-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 152px;
}

.add-money .button.object {
  width: 152px;
}

.add-money tr {
  grid-template-columns: 60px 200px 200px 230px 250px 200px 200px;
}

/* SMS SIGNATURE */
.sms_signature tr {
  grid-template-columns: 150px 200px 200px 400px;
}

@media screen and (min-width: 768px) {
  .add-money .action-buttons {
    gap: 17px;
    margin-bottom: 44px;

  }

  .add-money .accept-buttons {
    flex-direction: row;
    gap: 17px;
    width: auto;
  }

  .add-money .button.object {
    width: auto;
  }
}

/* ALL PROJECTS */
.admin .container:has(.add-money),
.admin .container:has(.all-projects),
.admin .container:has(.all-news),
.admin .container:has(.archive) {
  max-width: 1900px;
}

.all-projects .button {
  margin-bottom: 47px;
}

.all-projects tr {
  grid-template-columns: 60px minmax(210px, auto) 150px 150px 150px 150px 220px 180px 180px 180px 180px;
}

.all-questions tr {
  grid-template-columns: 60px minmax(210px, auto) 150px 350px 150px 150px;
}

.all-news tr {
  grid-template-columns: 250px 250px 250px 250px 250px;
}

/* CHANGE PASSWORD & ADD MONEY CHANGE SUM*/
.form-inputs.big-size {
  max-width: 100%;
  gap: 25px;
}

.form-inputs.big-size .form-group {
  gap: 9px;
}

.form-inputs.big-size .form-group label {
  font-size: 16px;
}

.form-inputs.big-size .form-group input,
.form-inputs.big-size .form-group custom-select {
  font-size: 16px;
  height: 55px;
}

.form-inputs.big-size .action-buttons {
  display: flex;
  flex-direction: column;
  margin-top: 7px;
  max-width: 100%;
  gap: 18px;
}

.form-inputs.big-size .button {
  max-width: 100%;
}

@media screen and (min-width: 768px) {
  .form-inputs.big-size .form-inputs {
    max-width: 100%;
    gap: 28px;
  }

  .form-inputs.big-size .form-group {
    gap: 11px;
  }

  .form-inputs.big-size .form-group label {
    font-size: 20px;
  }

  .form-inputs.big-size .form-group input, .form-inputs.big-size .form-group custom-select {
    color: #4F565A;
    font-size: 20px;
    height: 72px;
  }

  .form-inputs.big-size .action-buttons {
    flex-direction: row;
    justify-content: start;
    margin-top: 17px;
    gap: 20px;
  }

  .form-inputs.big-size .button {
    width: 320px;
  }
}

/* ADD MONEY ARCHIVE */
.archive tr {
  grid-template-columns: 250px 250px 230px minmax(250px, auto) 200px;
}

/* SELECT */
.custom-select {
  position: relative;
  width: 100%;
  border-radius: 12.133px;
  background: #FFF;
  cursor: pointer;
  color: #383838;
  font-size: 16px;
}

.selected-option {
  padding: 18px;
}

.options-list {
  display: none;
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom-left-radius: 12.133px;
  border-bottom-right-radius: 12.133px;
  background-color: #fff;
}

.custom-select.open {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.custom-select.open .options-list {
  display: block;
}

.custom-select::after {
  position: absolute;
  content: "";
  width: 17px;
  height: 17px;
  background-image: url('/images/svg/arrow.svg');
  background-repeat: no-repeat;
  background-position: center center;
  right: 18.5px;
  top: 50%;
  transform: translateY(-50%);
}

.custom-select.open::after {
  transform: rotate(180deg) translateY(50%);
}

.option {
  padding: 18px;
  cursor: pointer;
}

.option:hover {
  color: #000;
}

@media screen and (min-width: 768px) {
  .selected-option, .option {
    padding: 22px;
    font-size: 20px;
  }
}

.alert-success {
  font-size: 18px;
  padding-top: 20px;
}
.alert-danger {
  background-color: crimson;
  color: white;
  padding: 10px;
  border-radius: 5px;
  margin-top: 10px;
}

.invalid-feedback {
  display: none;
  width: 100%;
  font-size: 14px;
  color: #e74a3b;
}

.lpi-projects .invalid-feedback {
  margin-bottom: 25px;
}

/* ADMIN - USERS  */
.users tr {
  grid-template-columns: 60px 250px 230px 180px 120px 150px 180px 150px 150px;
}

.transactions tr {
  grid-template-columns:  250px 100px 350px 350px 250px 250px 250px;
}

.balances tr {
  grid-template-columns:  250px 250px 250px 250px 250px 250px 250px 250px 250px 250px;
}

.users .action-buttons {
  width: auto;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.users .action-buttons .button {
  min-width: 320px;
}

.users .custom-select, .users .option {
  height: 48px;
}

.users .options-list {
  z-index: 1;
  background-color: #fff;
}

@media screen and (min-width: 768px) {
  .users .custom-select, .users .option {
    height: 70px;
  }
}

.confirm_phone_number {
	margin: 50px;
}

.button-inline {
	display: inline;
}


.logo1 {
  display:block;
}
.logo2 {
  display:none;
}

@media screen and (max-width: 768px) {
  .logo1 {
    display:none;
  }
  .logo2 {
    display:block;
  }
}