﻿.animated-checklist {
  background: var(--bs-white);
  width: 100%;
  box-shadow: 0 10px 30px rgba(65, 72, 86, 0.05);
  padding: 30px 45px;
}
.animated-checklist__item {
  display: grid;
  grid-template-columns: 30px auto;
  align-items: center;
  margin-bottom: 15px;
}
.animated-checklist__item:last-child {
  margin-bottom: 0;
}
.animated-checklist__item.is-checked .animated-checklist__label {
  color: var(--bs-black);
}
.animated-checklist__input {
  -webkit-appearance: none;
  -moz-appearance: none;
  height: 15px;
  width: 15px;
  margin: 0 15px 0 0;
  cursor: pointer;
  position: relative;
}
.animated-checklist__input::before,
.animated-checklist__input::after {
  content: "";
  position: absolute;
  height: 2px;
  background: var(--bs-gray-600);
  border-radius: 2px;
}
.animated-checklist__input:checked + .animated-checklist__label {
  animation: move 0.4s ease forwards;
}
.animated-checklist__label {
  color: var(--bs-gray-600);
  cursor: pointer;
  transition: color 0.4s ease;
  position: relative;
  display: grid;
  align-items: center;
  width: fit-content;
}
.animated-checklist__label::before,
.animated-checklist__label::after {
  content: "";
  position: absolute;
  left: -27px;
}