.form-input__input-date{
  background-color: $input_background;
  width: 100%;
  height: 100%;
  border: none;
  display: flex;
  align-items: center;
  &:active, &:focus{
    outline: none;
  }
  &-light{
    color: $input_color-light
  }
  &-dark{
    color: $input_color-dark
  }
  &-lg{
    padding: $input_padding-lg;
    font-size: $input_font-size-lg;
  }
  &-md{
    padding: $input_padding-md;
    font-size: $input_font-size-md;
  }
  &-sm{
    padding: $input_padding-sm;
    font-size: $input_font-size-sm;
  }
}

.form-input__input-date-picker-wrap{
  overflow: hidden;
  position: absolute;
  top: 100%;
  left: calc(50% - 150px);
  min-width: 300px;
  max-width: 300px;
  z-index: 20;
  background-color: $dropdown_bg-color-light;
  border-radius: 3px;
  box-shadow: 0 0 3px #2b2b2b;
  &-dark{
    background-color: $dropdown_bg-color-dark;
    box-shadow: 0 0 3px #000;
  }
}

.form-input-date-picker, .form-input-date-picker__table{
  width: 100%;
  height: 100%;
}
.form-input-date-picker__thead{
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.form-input-date-picker__td, .form-input-date-picker__th{
  padding: 5px;
  text-align: center;
  &-dark{
    color: #eee;
  }
}

.form-input-date-picker{
  padding: 5px;
}

.form-input-date-picker__button-day{
  cursor: pointer;
  display: block;
  color: #000;
  padding: 4px;
  background-color: rgba(0, 0, 0, 0.03);
  border-radius: 3px;
  border: none;
  transition: all 0.2s ease-in-out;
  &:active, &:focus{
    outline: none;
  }
  &:hover{
    color: #000;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.1);
  }
  &-dark{
    color: #f1f1f1;
    background-color: rgba(255, 255, 255, 0.06);
    &:hover{
      color: #fff;
      text-decoration: none;
      background-color: rgba(255, 255, 255, 0.12);
    }
  }
  &:active{
    transform: scale(0.96);
  }
  &_select{
    background-color: #ff9a12;
    color: #fff;
    transform: scale(1.04);
    &:active{
      transform: unset;
    }
    &:hover{
      background-color: #ff9a12;
      color: #fff;
    }
  }
  &_not-this-month{
    background-color: transparent;
    color: #ccc;
    &:active{
      transform: unset;
    }
    &:hover{
      background-color: transparent;
    }
  }
}

.form-input-date-picker__header-bar{
  display: flex;
  flex-direction: column;
}

.form-input-date-picker__header-bar-row{
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 3px 0;
  &_time{
    justify-content: space-around;
  }
}

.form-input-date-picker__button{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  width: 28px;
  border: none;
  background-color: transparent;
  border-radius: 3px;
  transition: all 0.2s ease-in-out;
  &:hover{
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.05);
  }
  &:active, &:focus{
    outline: none;
  }
  &-dark{
    &:hover{
      background-color: rgba(255, 255, 255, 0.1);
    }
  }
}

.form-input-date-picker__button-icon{
  svg{
    height: 14px;
    fill: #000;
  }
  &-dark{
    svg{
      fill: #fff;
    }
  }
}

.form-input-date-picker__header-title{
  &-dark{
    color: #f1f1f1
  }
}

.form-input-date-picker__header-select{
  width: unset;
  text-align-last: center;
  text-align: center;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 3px 5px;
  margin: 0 3px;
  border: none;
  border-radius: 3px;
  color: #000;
  background-color: rgba(147, 147, 147, 0.2);
  cursor: pointer;
  font-size: 14px;
  &-dark{
    color: #fff;
    background-color: rgba(0, 0, 0, 0.3);
    &:hover{
      background-color: rgba(0, 0, 0, 0.2);
    }
  }
  &:focus, &:active{
    outline: none;
  }
}