*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --clr-primary: #ee6352;
  --clr-body: #333;
  --clr-bg: #ddd;
}

body {
  font-family: basic-sans, sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: start;
  justify-content: center;
  color: var(--clr-body);
  background: var(--clr-bg);
}

.content {
  background: lightblue;
  width: 70vw;
  max-width: 400px;
  padding: 10px;
  /*box-shadow: 0 0 3em rgba(0, 0, 0, 0.15);*/
  border-radius: 15px;
  position: relative;
}

.form-control {
  position: relative;
}

.form-control input {
  border: 2px solid lightgrey;
  border-radius: 10px;
  display: block;
  font-family: inherit;
  font-size: 14px;
  padding: 10px;
  width: 100%;
}
.form-control:focus-within input {
  outline: none;
  border: 2px solid #ee6352;
}

/*.form-control:focus-within ul, .show-results ul {*/
/*  display: block;*/
/*}*/

.form-control i {
  position: absolute;
  top: 12px;
  right: 10px;
}

.form-control ul {
  list-style-type: none;
  border-radius: 10px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  background-color: #f9f9f9;
  padding: 0;
  margin: 2px 0 0;
  overflow: hidden;
  /*display: none;*/
}

.decadesyears {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}
.decadesyears>li, .month>li, .days>li { text-align: center; }
.month {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}
.days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}
.non-selectable {
    cursor: default;
    pointer-events: none;
}

.form-control ul li {
  padding: 10px;
  /*border-bottom: 1px solid #eee;*/
  font-size: 14px;
  /*text-align: left;*/
  border: none;
  cursor: pointer;
}

/*.form-control ul li:last-child {*/
/*  border-bottom: none;*/
/*}*/

.form-control ul li:hover, .form-control ul li.selected {
  background: #ee6352;
  color: black;
}