.v-reserva {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  background-color: rgba(black, 0.5);
  overflow-y: auto;
  &__content {
    margin-top: 5%;
    margin-bottom: 10%;
    background-color: white;
    border-radius: 4px;
    @include boxshadow-md(white);
    width: 90%;
  }
}

.v-reserva__title {
  position: relative;
  font-size: 1.5rem;
  padding-bottom: 1rem;
  color: $primary;
  font-weight: 400;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  border-bottom: 1px solid rgba($primary, 0.2);
}

.v-reserva__form {
  padding: 3rem 2rem;
  position: relative;
  form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    button {
      align-self: flex-end;
    }
  }
}

.v-reserva__close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2rem;
  border: 0;
  cursor: pointer;
  border-radius: 50%;
  color: #e84118;
  transition: all 0.3s ease;
  &:hover {
    box-shadow: 0 0 0 5px rgba(#e84118, 0.5);
  }
}

.v-reserva__form--curso {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 1rem;
  padding: 1rem 0;
}

.v-reserva__form--data {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 1rem;
  padding: 1rem 0;
}

.v-form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
  label {
    margin-bottom: 6px;
    font-size: 14px;
    font-family: $font-secondary;
    color: lighten(black, 30);
  }
  input,
  select {
    border: 1px solid lighten(black, 80);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    min-height: 40px;
    font-size: 1rem;
    transition: border 0.5s ease;
    color: $primary;
    width: 100%;
    &:focus {
      border: 1px solid lighten(black, 50);
    }
  }
}

.multiselect__tags {
  font-family: $font-secondary;
}

.multiselect__content-wrapper {
  font-family: $font-secondary;
}

.v-select {
  .multiselect {
    color: $first-color;
    &__tags {
      border: 1px solid lighten(black, 80);
      border-radius: 4px;
    }
  }
  .multiselect__option--highlight {
    background-color: $primary;
  }
  .multiselect__option--selected.multiselect__option--highlight {
    background-color: $primary;
  }
}

@media (max-width: 960px) {
  .v-reserva {
    &__content {
      width: 100%;
    }
  }
  .v-reserva__close {
    top: 1rem;
    right: 1rem;
  }
  .v-reserva__form--curso {
    grid-template-columns: repeat(2, 1fr);
  }

  .v-reserva__form--data {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .v-reserva__form--curso {
    grid-template-columns: 1fr;
  }

  .v-reserva__form--data {
    grid-template-columns: 1fr;
  }

  .v-reserva__form {
    form {
      button {
        width: 100%;
      }
    }
  }
}
