body {
	font-family: 'Open Sans', arial, sans-serif;
	font-size: 16px;
	min-height: 97vh;
    display: flex;
    flex-direction: column;
    margin: 8px;
}

div {
    border-radius: 1px;
}

a {
    color: black;
    display: block;
    width: 100%;
    /*height: 100%;*/
    text-decoration: none;
}

ul{
    padding: 0;
    }

li{
    list-style: none;
}

main {
	flex-grow: 1;
}

input[type=checkbox] {
    width: 5%;
    scale: 1.2;
    accent-color: #9bbe3b;
}

/* Header */

header {
	background-color: #F6F2F2;
	padding: 0;
	max-width: 1249px;
	width: 100%;
    margin: 0 auto;
}

header div {
    display: flex;
    height: 80px;
    justify-content: space-between;
    align-items: center;
	margin: 10px 20px 10px 20px;
}

.header-center {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

/* Accounts list */
.user{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    cursor: pointer;
    margin: 0 10px;
}

.user-wrapper{
    margin: 0;
}

.user-text{
    margin: 0;
    font-weight: 700;
}

.user-text-sub{
    font-size: 12px;
    color: #787777;
    margin: 0;
}

.arrow {
    display: inline-block;
    transition: transform 0.5s ease;
}


.accounts-list {
    width: 250px;
    height: auto;
    max-height: 400px;
/*    overflow-y: auto;*/
    position: absolute;
    z-index: 1;
    display: block;
    top: 80px;
    left: auto;
    margin-left: -20px;
    border-top: 1px solid #eee;
    /*visibility: hidden;
    opacity: 0;*/
    cursor: pointer;
    -webkit-transition: opacity 0.2s ease-in-out;
    transition: opacity 0.2s ease-in-out;
}
.search-input{
    max-width: 243px;
    margin-left: -10px;
}


.account {
    width: 91%;
    height: 50px;
    margin: 0;
    padding-left: 20px;
    display: flex;
    background-color: #fff;
    -webkit-transition: 0.2s ease-in-out;
    transition: 0.2s ease-in-out;
    font-weight: 400;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}
.account:hover {
    background-color: #F6F2F2;
}

.accounts-list.hidden {
    visibility: hidden;
    opacity: 0;
}

#accounts-checkbox:checked~ .accounts-list {
    visibility: visible;
    opacity: 2;
    z-index: 10;
}

#accounts-checkbox:checked + label .arrow {
    transform: rotateX(180deg);
}

.search-results {
    margin-top: auto;
    width: 256px;
    height: auto;
    max-height: 400px;
    display: block;
    top: 80px;
    left: auto;
    margin-left: -10px;
    border-top: 1px solid #eee;
    cursor: pointer;
    -webkit-transition: 0.2s ease-in-out;
    transition: 0.2s ease-in-out;
    overflow-y: auto;
}

.align-right{
    align-self: end;
}

.align-center{
    align-self: center;
}

header img {
    height: 60px;
}

h3 {
    text-align: center;
}

hr {
    margin: 20px 0;
	padding: 0;
	height: 0;
	border: none;
	border-top: 2px dashed #ddd;
    width: 90%;
    align-self: center;
}

button .default {
    height: 40px;
    background-color: #F6F2F2;
    border: none;
    font-size: 14px;
	width: 100px;
    padding: 0;
    margin: 5px;
    font-size: 16px;
    &:hover{
	     background-color: #9bbe3b;
         cursor: pointer;
}
}

.button {
    max-width: 250px;
    height: 40px;
    padding: 0;
    margin: 5px;
    background-color: #FFFFFF;
    border: 1px solid #9bbe3b;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    &:hover{
	     background-color: #9bbe3b;
    }
}

.wrapper {
    max-width: 1249px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* Sidebar */

.sidebar {
    width: 250px;
    background-color: #F6F2F2;
}

.logout-form {
    width: 100%;
    cursor: pointer;
}

.burger-checkbox, .burger {
    display: none;
}

.main-menu {
    padding: 0;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.main-menu li {
	list-style: none;
	font-size: 14px;
	text-transform: uppercase;
	display: flex;
	min-height: 40px;
	align-items: center;
}

.main-menu li:hover {
	background-color: #9bbe3b;
}

.main-menu a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    text-transform: uppercase;
    margin-left: 15px;
    text-transform: uppercase;
    margin-left: 15px;
}

/* Main */

.container {
    width: 78%;
    margin: 10px auto;
    overflow-y: auto;
    min-height: 50vh;
}

.tile {
    margin: 5px 5px;
    padding: 10px;
    min-width: 322px;
    width: 46%;
    height: 200px;
    background-color: #F6F2F2;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    }

.tile-wide {
        width: 95%;
        min-height: 140px;
        height: auto;
        /*max-height: 400px;*/
        /*overflow: auto;*/
        }

.tile-header-wrapper{
    display: flex;
    justify-content: space-between;
}

.tile-header{
    background: #9bbe3b;
    display: inline-block;
    padding: 0 31px;
    line-height: 31px;
    margin-left: -15px;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.tile-total{
    display: flex;
    font-weight: 400;
    font-size: 45px;
    justify-content: flex-end;
}

.tile-details-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
    border-radius: 4px;
    border: 1px solid #9bbe3b;
    padding: 9px 28px 9px 28px;
    height: 90px;
}

.no-background{
    background: unset;
    border: none;
}

.tile-details-wrapper-thin{
    display: flex;
    /*flex-direction: column;*/
    justify-content: center;
    align-items: center;
    background: #ffffff;
    border-radius: 4px;
    border: 1px solid #9bbe3b;
    padding: 9px 28px 9px 28px;
    margin: 5px;
    height: 32px;
        &:hover{
	     background-color: #9bbe3b;
         cursor: pointer;
         }
}

.tile-details-wrapper-max{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    border-radius: 4px;
    border: 1px solid #9bbe3b;
    padding: 9px 28px 9px 28px;
    margin: 5px auto;
    height: 147px;
}

.tile-details-table{
    /*margin-top: 20px;*/
    background: #ffffff;
    /*padding: 9px 28px 9px 28px;*/
    min-height: 50px;
    max-height: 350px;
    table-layout: auto;
    width: 100%;
    text-align: center;
    font-size: 15px;
}

.tile-details-table-wrapper{
    margin-top: 20px;
    overflow: auto;
    max-height: 400px;
    border-radius: 4px;
    border: 1px solid #9bbe3b;
    background: #ffffff;
}

.table-data {
    height: 30px;
}

.tile-detail{
    display: flex;
    justify-content: space-between;
    color: #787777;
}

.checkmark-circle {
  width: 20px;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #9bbe3b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkmark {
  width: 5px;
  height: 9px;
  border-bottom: 3px solid white;
  border-right: 3px solid white;
  transform: rotate(45deg);
}

.red {
    color: #cc0022;
}

.grey {
    color: #787777;
}

thead tr th {
  /*position: sticky;*/
  top: 0;
}

input {
    width: 98%;
    margin: 0 auto;
    border: none;
    border-color: #F6F2F2;
    border-radius: 0;
    font-family: inherit;
    font-size: inherit;
    &:focus {
    outline:none;
}
}

.container th {
    background-color: #F6F2F2;
}

.container tr:hover td {
  background: #c4db86;
}

footer {
    display: flex;
    justify-content: space-between;
	background-color: #F6F2F2;
	padding: 0;
	max-width: 1249px;
	width: 100%;
    margin: 0 auto;
    font-size: 13px;
}

footer div {
    display: flex;
    flex-wrap: wrap;
    height: 80px;
    justify-content: space-between;
    align-items: center;
	margin: 10px 20px 10px 20px;
}

.footer-span {
    width: 100%;
}

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

.form-control {
    width: 98%;
    padding: 5px;
    margin-right: 10px;
    &:focus {
    outline: none;
    border: 1px #9bbe3b solid;
}
}

.form-row{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 2px;
}

.form-table{
    display: table;
    justify-content: space-between;
    padding: 2px;
}

input.form-control, select.form-control {
    /*max-width: 70%;*/
    /*margin-right: 10px;*/
    &:disabled {
    background: #ffffff;
    }
}

textarea.form-control {
    border: 1px solid #9bbe3b;
    border-radius: 4px;
    min-height: 100px;
    font-family: inherit;
    font-size: 13px;
        &:disabled {
    background: #ffffff;
    }
}

input[type=submit], input[type=button] {
    max-width: 250px;
    height: 40px;
    padding: 0;
    margin: 5px;
    color: #000;
    background-color: #FFFFFF;
    border: 1px solid #9bbe3b;
    border-radius: 4px;
    &:hover{
	     background-color: #9bbe3b;
         cursor: pointer;
}
}

.form-buttons {
    display: flex;
    justify-content: space-around;
    margin: 10px 10px 10px 0;
}

label {
    display: flex;
    align-items: center;
    min-height: 35px;
}

input, select {
    box-sizing:content-box;
    width: 98%;
    padding: 5px;
    border: 1px solid #9bbe3b;
    border-radius: 4px;
    margin: 0 auto;
    font-family: inherit;
    font-size: inherit;
    &:focus {
    outline: none;
    border: 1px #9bbe3b solid;
}
}

.expired {
    color: #b0b0b0;
}

ul.inner-object {
    padding: 20px;
    margin: 0 auto;
    background-color: #FFFFFF;

}

li.inner-object {
    list-style: none;
	display: flex;
	align-items: start;
    justify-content: space-between;
	min-height: 50px;
	align-items: center;
    border: 1px solid #dbdbdb;
    margin: 8px;
    padding: 5px 20px;
    background-color: #FFFFFF;

	&:hover {
	    background-color: #ccffcc;
	}
}

.excel-button{
    background-color: #F6F2F2;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2px;
    &:hover{
        background-color: #9bbe3b;
    }
}

.button-block{
    display: flex;
    justify-content: end;
}

/* Login page */

.login-wrapper{
    display: flex;
    height: 80vh;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.login{
    max-width: 346px;
    max-height: 500px;
    background-color: #F6F2F2;
    padding: 20px;
    margin-top: 20px;
}

.login input[type=submit]{
    width: 98%;
    margin-top:15px;
    align-self: center;
    &:hover{
        background-color: #9bbe3b;
    }
}

.password-container {
    position: relative;
}

.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

#id_password {
    padding-right: 40px; /* Оставляем место для иконки */
    width: 100%;
}

.password-toggle {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #777; /* Цвет иконки */
}

.password-toggle svg {
    width: 20px;
    height: 20px;
}

.password-toggle:hover {
    color: #333; /* Цвет иконки при наведении */
}

.login-logo{
    width: 100%;
    max-width: 345px;
}

.error-text{
    font-size: 12px;
    color: red;
}

.errorlist{
    font-size: 12px;
    color: red;
}

.consent-text {
    font-size: 14px;
    display: inline;
}

.consent-wrapper {
    padding: 5px 2px;
}

.consent-wrapper {
    padding: 5px 2px;
}

.consent-a {
    font-size: 14px;
    display: inline;
    text-decoration: underline;
}


.appeal-notice {
    padding: 0 10px 0;
    color: #666;
    font-size: 0.9em;
    border-bottom: 1px solid #eee;
}

.appeal-notice a {
    color: #0066cc;
    display: inline;
    text-decoration: underline;
}

.appeal-thanks {
    font-style: italic;
    margin-top: 8px;
}

/* Media */

@media (max-width: 1170px) {
    .container {
    width: 98%;
    }

  .burger-checkbox {
  display: block;
  position: absolute;
  visibility: hidden;
  }

    .burger {
      cursor: pointer;
      display: block;
      position: absolute;
      top: 10px;
      left: 29px;
      border: none;
      background: transparent;
      width: 30px;
      height: 25px;
      margin: 35px auto;
      min-height: 0;
    }
    .burger::before,
    .burger::after {
      content: '';
      left: 0;
      position: absolute;
      display: block;
      width: 100%;
      height: 3px;
      border-radius: 10px;
      background: #000;
    }
    .burger::before {
      top: 0;
      box-shadow: 0 11px 0 #000;
      transition: box-shadow .3s .15s, top .3s .15s, transform .3s;
    }
    .burger::after {
      bottom: 0;
      transition: bottom .3s .15s, transform .3s;
    }
    .burger-checkbox:checked + .burger::before {
      top: 11px;
      transform: rotate(45deg);
      box-shadow: 0 6px 0 rgba(0,0,0,0);
      transition: box-shadow .15s, top .3s, transform .3s .15s;
    }
    .burger-checkbox:checked + .burger::after {
      bottom: 11px;
      transform: rotate(315deg);
      transition: bottom .3s, transform .3s .15s;
    }

    .main-menu {
  top: 100px;
  left: 0;
  width: 250px;
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateX(-150%);
  transition: .3s;
  background: #F6F2F2;
  opacity: 0.9;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}
.burger-checkbox:checked ~ .main-menu {
  transform: translateX(0);
}

@media (max-width: 850px) {
    .logo {
    display: none;
    }

    header div {
	margin: 10px;
	    & .logout{
        display: none;
    }
    }
}

@media (max-width: 410px) {
    body {
    font-size: 3.8vw;
    }
}
}