nav {
  position: sticky;
  top: 0;
  z-index: 999;
}

svg, path {
  fill: none !important;
}

/* Rounded sliders */
.switch {
  position: relative;
  display: inline-block;
  width: 54px;
  height: 23px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
}
.slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 7px;
  bottom: 5px;
  background-color: white;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #606ec6;
}
input:checked + .slider:before {
  transform: translateX(26px);
}
input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

.slider.round {
  border-radius: 34px;
}
.slider.round:before {
  border-radius: 50%;
}

.skeleton *:empty {
  background: #f6f7f8;
  background-position: -500px 0;
  animation: skeletonShine 1s linear 0s infinite normal forwards;
  background-image: linear-gradient(135deg, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
  background-repeat: no-repeat;
  background-size: 1000px 100%;
}
.skeleton__section + .skeleton__section {
  margin-top: 16px;
}
.skeleton__section--actions {
  display: flex;
  flex-direction: row;
  gap: 8px;
  margin-bottom: 16px;
}
.skeleton__section--card {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-bottom: 24px;
}
.skeleton__section--calendar {
  display: flex;
  flex-direction: row;
  gap: 8px;
  margin-bottom: 16px;
}
.skeleton__header {
  margin-bottom: 6px;
  height: 32px;
  width: 200px;
  max-width: 35%;
}
.skeleton__header--long {
  width: 300px;
  max-width: 85%;
}
.skeleton__hr {
  height: 2px;
  width: 100%;
  margin-bottom: 16px;
}
.skeleton__p {
  height: 16px;
  width: 100%;
  margin-bottom: 8px;
}
.skeleton__p:last-child {
  width: 45%;
}
.skeleton__p--short {
  max-width: 120px;
}
.skeleton__button {
  height: 24px;
  width: 56px;
  margin-bottom: 8px;
}
.skeleton__button:nth-child(2n) {
  width: 72px;
}
.skeleton__button:nth-child(3n+1) {
  width: 48px;
}
.skeleton__input {
  height: 32px;
  width: 100%;
  margin-bottom: 8px;
}
.skeleton__input--half {
  width: 50%;
}
.skeleton__tr {
  display: flex;
  gap: 12px;
}
.skeleton__tr:first-child .skeleton__td {
  height: 24px;
  margin-bottom: 12px;
}
.skeleton__td {
  flex: 1 1 100%;
  height: 16px;
  margin: 4px 0;
}
.skeleton__td:nth-child(2) {
  flex-basis: 500%;
}
.skeleton__td:nth-child(3) {
  flex-basis: 300%;
}
.skeleton__td:nth-child(4) {
  flex-basis: 900%;
}
.skeleton__td:nth-child(5) {
  flex-basis: 700%;
}
.skeleton__img {
  height: 64px;
  width: 64px;
  border-radius: 8px;
}
.skeleton__icon {
  height: 24px;
  width: 24px;
  border-radius: 4px;
}
.skeleton__block {
  height: 56px;
  width: 100%;
  margin-bottom: 12px;
}
.skeleton__block--empty {
  background: none !important;
}
.skeleton__block--xs {
  height: 12px;
}
.skeleton__block--s {
  height: 24px;
}
.skeleton__block--l {
  height: 92px;
}
.skeleton__block--xl {
  height: 128px;
}
.skeleton__group {
  height: 24px;
  width: 200px;
  max-width: 35%;
  margin-top: 16px;
  margin-bottom: 12px;
}
.skeleton__tree {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
}
.skeleton__tree * {
  margin: 0;
}
.skeleton__tree .skeleton__p {
  width: 100%;
  max-width: none;
}
.skeleton__tree--0 {
  padding-left: 0;
}
.skeleton__tree--1 {
  padding-left: 16px;
}
.skeleton__tree--2 {
  padding-left: 24px;
}

@keyframes skeletonShine {
  to {
    background-position: 500px 0;
  }
}
