
.form__top-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.error input, .error select {
    background: var(--red);
    box-shadow: 0px 0px 19px red;
}

.form__top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  column-gap: 30px;
}
.form
{
margin-right: 500px;
}

.form, .form__body {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.form__body-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form__body-item-title {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px white solid;
}

.form__body-item-name {
  font-size: 20px;
}

.form__body-item-panel {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: hidden;
}

.form__body-item-panel > span {
  padding: 10px 20px;
  background-color: var(--dark-color);
  cursor: pointer;
}

.form__body-item-block {
  border: 2px white solid;
  padding: 10px 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  max-height: 300em;
}

.form__indexes {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
}

.form__index-block {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  justify-content: space-between;
  padding: 10px 20px;
  position: relative;
}

.form__body-item-block {
  border: 2px transparent solid;
  padding: 10px 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  background-color: var(--dark-color);
  border-radius: 0 0 15px 15px;
  transition: 0.8s ease;
  border-image: var(--empty-border);
  border-image: var(--empty-border2);
  border-image-slice: 1;
}

/* .form__index-block:hover {
  background-color: var(--dark-color2);
} */

.form__index-title {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  justify-content: flex-start;
}

.form__index-help {
  padding: 5px 10px;
  border: 1px white solid;
  cursor: pointer;
}

.form__index-help:hover {
  background-color: var(--accent-color);
}

.form__index-description {
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 100%;
  min-height: 2em;
  background-color: var(--dark-color2);
  padding: 10px 20px;
  max-height: 300px;
  overflow-y: auto;
  border-radius: 5px;
  z-index: -1;
  opacity: 0;
}

.form__index-name {
    cursor: pointer;
}

.form__index-description.active {
  z-index: 1;
  opacity: 1;
}

.form__save {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
}

.form__bottom {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__report-title {
  display: block;
  width: 100%;
  font-size: 20px;
  border-bottom: 1px white solid;
  padding-bottom: 5px;
}

.form__report {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: 0;
  overflow-y: hidden;
  transition: 0.8s ease;
}

.form__report.active{
    max-height: 100em;
}

.form__report-wrap {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form__report-personal .form__report-value {
  padding: 5px 10px;
  border: 1px white solid;
  display: flex;
  width: fit-content;
}

.form__report-line {
  display: flex;
  flex-direction: row;
  gap: 10px;
  width: 100%;
  align-items: center;
  justify-content: flex-start;
}

.daily-report {
  width: 400px;
  transition: 0.5s ease;
  min-width: 300px;
  position: fixed;
  right: 100px;
  top: 90px;
  z-index: 2;
}

.daily-report__wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  transition: 1s max-height ease;
  position: relative;
}

.daily-report__top {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.daily-report__button {
  max-width: 100%;
}

.daily-report__buttons {
  position: relative;
  overflow: hidden;
}

.daily-report__status {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: -1;
  transform: translatey(100%);
  transition: 0.5s transform ease;
}

.daily-report__item{
  transition: 1s transform ease;
  transform: translateX(0);
}

.daily-report__item.transformed{
  transform: translateX(100%);
}

.daily-report__visible {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background-color: var(--dark-color2);
  border-radius: 0 5px 5px 0;
  border-left: 2px white solid;
  gap: 10px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.daily-report__status-block {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: white;
    z-index: 99;
    transform: translateY(-100%);
    transition: 0.6s transform ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.daily-report__status-block.delete{
  transform: translateY(0);
  background: var(--accent-color11);
}

.daily-report__status-block.edit{
  transform: translateY(0);
  background: var(--accent-color2);
}

.daily-report__item-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.daily-report__hidden {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: var(--dark-color);
  border-radius: 0 0 5px 5px;
  max-height: 0;
  transition: 1s max-height ease;
  overflow: hidden;
}

.open .daily-report__hidden {
  max-height: 1900px;
}

.daily-report__item-identify {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.daily-report__hidden-title span {
  font-size: 12px;
  color: var(--opacity-color);
  padding-bottom: 3px;
  display: block;
  border-bottom: 1px white solid;
}

.daily-report__hidden-title {
  text-align: center;
  display: block;
  width: 100%;
  margin-top: 10px;
}

.daily-report__hidden-value {
  background-color: var(--dark-color2);
  border-radius: 5px;
  padding: 5px 10px;
  outline: none;
  border: none;
  width: 40px;
  box-sizing: border-box;
  color: white;
  text-align: center;
}

.daily-report__hidden-name {
  position: absolute;
  bottom: 0;
  right: 0;
  width: max-content;
  max-width: 250px;
  background-color: var(--accent-color);
  display: block;
  border-radius: 5px;
  padding: 5px 10px;
  z-index: -1;
  opacity: 0;
  transition: 0.3s opacity ease 0.1s;
  transform: translatey(110%);
}

.daily-report__hidden-item {
  width: fit-content;
}

.daily-report__hidden-item:hover .daily-report__hidden-name{
   z-index: 1;
   opacity: 1;
}

.daily-report__hidden-container {
  display: flex;
  flex-direction: row;
  gap: 5px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  padding: 5px 10px;
  position: relative;
}

.daily-report__title {
  font-size: 20px;
  text-align: right;
  border-bottom: 1px white solid;
  padding-bottom: 10px;
}

.daily-report__item-edit {
  cursor: pointer;
  padding: 10px;
  background: var(--green);
  background: var(--green2);
  border-radius: 5px;
}

.daily-report__item-delete{
  cursor: pointer;
  padding: 10px;
  background: var(--red);
  background: var(--red2);
  border-radius: 5px;
}

.daily-report__item-identify span {
  font-size: 12px;
}

.daily-report__container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
    transition: 0.5s ease;
}

.daily-report__container.daily-report__container--preclear {
    max-height: 0;
    overflow-y: hidden;
}

.daily-report__open {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  transform: translatex(-100%);
  background-color: var(--dark-color);
  padding: 10px;
  line-height: 1;
  border-radius: 5px 0 0 5px;
  cursor: pointer;
}

.daily-report__open:hover {
  background-color: var(--accent-color);
}

.comment-block .form__body-item-block {
  width: 100%;
  display: block;
  max-width: 100%;
  box-sizing: border-box;
}

.form__body-item.comment-block textarea {
  width: 100%;
  background-color: var(--dark-color);
  color: var(--text-color);
}

.form__body-item-panel > * {
    border-radius: 5px 5px 0 0;
}

.form__null:hover {
    background: var(--accent-color11);
}

.form__null.active {
  background: var(--accent-color11);
}

.form__report-wrap:last-of-type {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.button.button--report {
    max-width: 200px;
}

.button--sell
{
  border-radius: 5px;
}
.button--sell.active{
  background: var(--pink);
  background: var(--pink2);
}

.button--foul.active{
  background: var(--red);
  background: var(--red2);
}

.form__body-item-bottom {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 20px;
}


@media(max-width: 1600px)
{
.daily-report {width: 300px;}
.form {margin-right: 380px;}
}

@media(max-width: 1350px)
{
.daily-report {width: 400px;transform: translatex(493px);}
.daily-report.active {transform: translatex(0);}
.form {margin-right: 0;}
.daily-report__open{display:block;}
.daily-report__wrap {
  padding: 20px;
  box-sizing: border-box;
  background-color: var(--dark-color);
  border-radius: 0 5px 5px 5px;
}

}



