/* @import url('./jquery.ui.1.13.2.css'); */
@import url('./custom.jquery.ui.datepicker.css');

:root {
  --primary-color: #FF665E;
  --accent-color: #FFCCC4;
  --label-color: #757575;
  --input-color: #233239;
  --border-color: rgba(0, 0, 0, 0.10);
  --font: "Open Sans", serif;
  --font-calendar: "Inter", serif;
}

#amplify-sfw *,
#amplify-sfw,
#amplify-sfw ::before,
#amplify-sfw ::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

#amplify-sfw input:focus,
#amplify-sfw select:focus,
#amplify-sfw textarea:focus,
#amplify-sfw button:focus {
  outline: none;
}

#amplify-sfw {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background-color: #ffffff;
  width: 100%;
  padding: 24px;
  display: flex;
  width: 374px;
  margin: 0 auto;
  box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.10);
}

#amplify-sfw .amplify-box {
  display: flex;
  height: 80px;
  width: 100%;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  gap: 24px;
  border-bottom: 1px solid var(--border-color, rgba(0, 0, 0, 0.10));
  cursor: pointer;
  background-image: url('../icons/arrow.svg');
  background-repeat: no-repeat;
  background-position: center right 24px;
}

.amplify-icon {
  display: flex;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.amplify-label {
  align-self: stretch;
  color: var(--label-color, #757575);
  font-family: var(--font);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  cursor: pointer;
}

.amplify-input {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding-right: 24px;
}

#amplify-sfw-location,
#amplify-sfw-guests,
#amplify-sfw-arrival,
#amplify-sfw-departure,
.amplify-input input,
.amplify-input input::placeholder,
.amplify-input select {
  color: var(--input-color, #233239);
  font-family: var(--font);
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.54px;
}

.amplify-sfw-btn {
  background-color: var(--primary-color);
  display: flex;
  padding: 16px 24px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  align-self: stretch;
  border: none;
  box-shadow: none;
  margin-top: 16px;
}

.amplify-sfw-btn span {
  color: #ffffff;
  text-align: center;
  font-family: var(--font);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.54px;
}

.amplify-sfw-btn svg {
  display: none;
}

/* Location Dialog */
#amplify-sfw-location-dialog {
  position: fixed;
  inset: 0;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.10));
  box-shadow: 0px 10px 40px 0px var(--border-color, rgba(0, 0, 0, 0.10));
}

#amplify-sfw-location-dialog.show {
  display: flex;
}

#amplify-sfw-location-dialog-btn-close,
#amplify-sfw-dates-dialog-btn-close,
#amplify-sfw-guests-dialog-btn-close {
  position: absolute;
  top: 51px;
  right: 32px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: #ffffff;
  width: 24px;
  height: 24px;
  font-size: 16px;
  line-height: 24px;
  padding: 0;
}

#amplify-sfw-location-dialog #amplify-sfw-location-dialog-input {
  margin: 0;
  display: flex;
  padding: 44px 32px;
  flex-direction: column;
  border-bottom: 1px solid var(--border-color, rgba(0, 0, 0, 0.10));
  align-self: stretch;
  color: var(--input-color);
  font-family: var(--font);
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.amplify-sfw-location-dialog-options {
  overflow-y: auto;
  flex-grow: 1;
}

.amplify-sfw-location-dialog-options,
.amplify-sfw-guests-dialog-options {
  display: flex;
  flex-direction: column;
  padding: 32px 0;
  align-items: flex-start;
  align-self: stretch;
  margin: 0;
}

.amplify-location-option {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 8px 56px;
  height: 60px;
  flex-shrink: 0;
  gap: 16px;
  cursor: pointer;
  width: 100%;
}

.amplify-location-option:hover {
  background-color: rgba(0, 0, 0, 0.03);
}

.amplify-location-option .amplify-location-option-icon {
  display: flex;
  justify-content: center;
  height: 30px;
  width: 30px;
}

.amplify-location-option .amplify-location-option-text {
  display: flex;
  justify-content: center;
  color: var(--input-color);
  font-family: var(--font);
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.54px;
}

/* Dates Dialog */
#amplify-sfw-dates-dialog {
  position: fixed;
  inset: 0;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.10));
  box-shadow: 0px 10px 40px 0px var(--border-color, rgba(0, 0, 0, 0.10));
  max-width: 1071px;
}

#amplify-sfw-dates-dialog.show {
  display: flex;
}

#amplify-sfw-dates-dialog-btn-close {
  top: 48px;
  right: 16px;
}

#amplify-sfw-dates-dialog .amplify-sfw-dates-dialog-title {
  margin: 0;
  display: flex;
  padding: 44px 16px;
  border-bottom: 1px solid var(--border-color, rgba(0, 0, 0, 0.10));
  align-self: stretch;
  color: var(--input-color);
  font-family: var(--font);
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  gap: 8px;
}

#amplify-sfw-dates-dialog .amplify-sfw-dates-dialog-calendar {
  flex-grow: 1;
  width: 100%;
  overflow: auto;
  padding: 16px 0;
}

#amplify-sfw-dates-dialog .amplify-sfw-dates-dialog-footer {
  border-top: 1px solid var(--border-color, rgba(0, 0, 0, 0.10));
  display: flex;
  padding: 24px 16px;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
}

#amplify-sfw-dates-dialog .amplify-sfw-dates-btn-clear {
  background-color: var(--primary-color);
  display: flex;
  padding: 16px 24px;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  text-align: center;
  font-family: var(--font);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.54px;
  cursor: pointer;
}

/* Guests Dialog */
#amplify-sfw-guests-dialog {
  position: fixed;
  inset: 0;
  /* right: 126px; */
  display: none;
  /* width: 224px; */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.10));
  box-shadow: 0px 10px 40px 0px var(--border-color, rgba(0, 0, 0, 0.10));
}

#amplify-sfw-guests-dialog.show {
  display: flex;
}

#amplify-sfw-guests-dialog .amplify-sfw-guests-dialog-title {
  margin: 0;
  display: flex;
  padding: 44px 32px;
  flex-direction: column;
  border-bottom: 1px solid var(--border-color, rgba(0, 0, 0, 0.10));
  align-self: stretch;
  color: var(--input-color);
  font-family: var(--font);
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.amplify-sfw-guests-dialog-options {
  overflow-y: auto;
}

.amplify-sfw-guests-dialog-options li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: var(--input-color);
  font-family: var(--font);
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.54px;
  height: 60px;
  padding: 8px 56px;
  cursor: pointer;
  width: 100%;
}

.amplify-sfw-guests-dialog-options li:hover {
  background-color: rgba(0, 0, 0, 0.03);
}

/* MD 48rem (768px) @media (width >= 48rem) { ... } */
/* LG 64rem (1024px) @media (width >= 64rem) { ... } */

@media only screen and (min-width: 1024px) {
  #amplify-sfw {
    position: relative;
    display: flex;
    flex-direction: row;
    padding: 24px 32px;
    justify-content: center;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: 1347px;
  }

  #amplify-sfw .amplify-box {
    border-bottom: none;
    border-left: 1px solid rgba(0, 0, 0, 0.10);
    padding-left: 24px;
    /* padding-right: 24px; */
    height: 72px;
  }

  #amplify-sfw .amplify-box:first-child {
    border-left: none;
    padding-left: 0;
  }

  #amplify-sfw-arrival-box,
  #amplify-sfw-departure-box {
    max-width: 285px;
  }

  #amplify-sfw-guests-box {
    min-width: 224px;
    max-width: 224px;
  }

  .amplify-input input,
  .amplify-input select {
    width: 100%;
  }

  .amplify-sfw-btn {
    cursor: pointer;
    display: flex;
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    padding: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--primary-color);
    background: var(--primary-color);
    margin-top: 0;
  }

  .amplify-sfw-btn span {
    display: none;
  }

  .amplify-sfw-btn svg {
    display: block;
  }

  /* Location Dialog */
  #amplify-sfw-location-dialog {
    position: absolute;
    top: 0;
    left: 0;
    right: auto;
    bottom: auto;
    width: 500px;
  }

  #amplify-sfw-location-dialog-btn-close,
  #amplify-sfw-dates-dialog-btn-close,
  #amplify-sfw-guests-dialog-btn-close {
    display: none;
  }


  .amplify-sfw-location-dialog-options {
    max-height: 332px;
  }

  /* Dates Dialog */
  #amplify-sfw-dates-dialog {
    position: absolute;
    top: 0;
    right: 0;
    height: 692px;
  }

  #amplify-sfw-dates-dialog .amplify-sfw-dates-dialog-title {
    padding: 44px 32px;
    font-size: 28px;
    gap: 16px;
  }

  /* Guests Dialog */
  #amplify-sfw-guests-dialog {
    position: absolute;
    top: 0;
    right: 126px;
    left: auto;
    bottom: auto;
    width: 224px;
  }

  .amplify-sfw-guests-dialog-options {
    max-height: 324px;
  }
}

/* XL 80rem (1280px) @media (width >= 80rem) { ... } */
@media (width >=80rem) {
  #amplify-sfw-dates-dialog {
    height: auto;
    bottom: auto;
    left: auto;
    right: 126px;
  }
}

/* 2XL 	96rem (1536px) @media (width >= 96rem) { ... } */