input[type="date"] {
  max-width: 100%;
  width: 100%;
  min-width: 0;
}

input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  border-radius: 0.25rem;
  border: 1px solid #d1d5db;
  accent-color: #111827;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}

input[type="checkbox"]:hover {
  border-color: #9ca3af;
}

input[type="checkbox"]:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.2);
}

input[type="checkbox"].checkbox-saved {
  animation: checkbox-saved 2s ease-out;
}

@keyframes checkbox-saved {
  0% {
    box-shadow: 0 0 0 0 rgba(107, 114, 128, 0.9);
  }
  40% {
    box-shadow: 0 0 0 12px rgba(107, 114, 128, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(107, 114, 128, 0);
  }
}

.select-input {
  width: 100%;
  min-height: 44px;
  padding: 0.625rem 2.25rem 0.625rem 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background-color: #fff;
  color: #111827;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  appearance: none;
}

.select-input:focus {
  outline: none;
  border-color: #6b7280;
  box-shadow: 0 0 0 1px #6b7280;
}

.select-wrap {
  position: relative;
}

.select-chevron {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  height: 1rem;
  width: 1rem;
  color: #6b7280;
  pointer-events: none;
}

.tilit-logo {
  display: inline-block;
  transform-origin: center;
}

.tilit-logo:hover {
  animation: tilit-logo-wiggle 0.45s ease-in-out 1;
}

@keyframes tilit-logo-wiggle {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(6deg);
  }
  50% {
    transform: rotate(-4deg);
  }
  75% {
    transform: rotate(2deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
