@charset "UTF-8";
/*------------------------>>> Oswald (Variable) <*/
@font-face {
  font-family: "Devtrix-Heading";
  src: url("../assets/fonts/Oswald-Variable.woff2") format("woff2-variations");
  font-weight: 200 700; /* Supports weights from 200 to 700 */
  font-display: optional;
}
/*------------------------>>> Poppins (Variable) <*/
@font-face {
  font-family: "Devtrix-Text";
  src: url("../assets/fonts/Poppins-Variable.woff2") format("woff2-variations");
  font-weight: 100 900; /* Supports all weights */
  font-stretch: 75% 125%;
  font-display: optional;
}
/* Document
 * ========================================================================== */
*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  background-repeat: no-repeat; /* 2 */
}

::before,
::after {
  text-decoration: inherit; /* 1 */
  vertical-align: inherit; /* 2 */
}

:where(:root) {
  cursor: default; /* 1 */
  line-height: 1.5; /* 2 */
  overflow-wrap: break-word; /* 3 */
  -moz-tab-size: 4; /* 4 */
  -o-tab-size: 4;
     tab-size: 4; /* 4 */
  -webkit-tap-highlight-color: transparent; /* 5 */
  -webkit-text-size-adjust: 100%; /* 6 */
  -moz-text-size-adjust: 100%;
       text-size-adjust: 100%; /* 6 */
}

/* Sections
   * ========================================================================== */
:where(body) {
  margin: 0;
}

:where(h1) {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   * ========================================================================== */
:where(dl, ol, ul) :where(dl, ol, ul) {
  margin: 0;
}

:where(hr) {
  color: inherit; /* 1 */
  height: 0; /* 2 */
}

:where(nav) :where(ol, ul) {
  list-style-type: none;
  padding: 0;
}

:where(nav li)::before {
  content: "​";
  float: left;
}

:where(pre) {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
  overflow: auto; /* 3 */
}

/* Text-level semantics
   * ========================================================================== */
:where(abbr[title]) {
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

:where(b, strong) {
  font-weight: bolder;
}

:where(code, kbd, samp) {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

:where(small) {
  font-size: 80%;
}

/* Embedded content
   * ========================================================================== */
:where(audio, canvas, iframe, img, svg, video) {
  vertical-align: middle;
}

:where(iframe) {
  border-style: none;
}

:where(svg:not([fill])) {
  fill: currentColor;
}

/* Tabular data
   * ========================================================================== */
:where(table) {
  border-collapse: collapse; /* 1 */
  border-color: currentColor; /* 2 */
  text-indent: 0; /* 3 */
}

/* Forms
   * ========================================================================== */
:where(button, input, select) {
  margin: 0;
}

:where(button, [type=button i], [type=reset i], [type=submit i]) {
  -moz-appearance: button;
       appearance: button;
  -webkit-appearance: button;
}

:where(fieldset) {
  border: 1px solid #a0a0a0;
}

:where(progress) {
  vertical-align: baseline;
}

:where(textarea) {
  margin: 0; /* 1 */
  resize: vertical; /* 3 */
}

:where([type=search i]) {
  -moz-appearance: textfield;
       appearance: textfield;
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

::-webkit-input-placeholder {
  color: inherit;
  opacity: 0.54;
}

::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   * ========================================================================== */
:where(dialog) {
  background-color: white;
  border: solid;
  color: black;
  height: -moz-fit-content;
  height: fit-content;
  left: 0;
  margin: auto;
  padding: 1em;
  position: absolute;
  right: 0;
  width: -moz-fit-content;
  width: fit-content;
}

:where(dialog:not([open])) {
  display: none;
}

/*
   * Add the correct display in Safari.
   */
:where(details > summary:first-of-type) {
  display: list-item;
}

/* Accessibility
   * ========================================================================== */
:where([aria-busy=true i]) {
  cursor: progress;
}

:where([aria-disabled=true i], [disabled]) {
  cursor: not-allowed;
}

:where([aria-hidden=false i][hidden]) {
  display: initial;
}

:where([aria-hidden=false i][hidden]:not(:focus)) {
  clip: rect(0, 0, 0, 0);
  position: absolute;
}

:root {
  --primary-color: hsl(226, 78%, 68%);
  --secondary-color: hsl(118, 66%, 50%);
  --accent-color: hsl(0, 0%, 25%);
  --text-color: #333;
  --body-bg: hsl(214, 18%, 92%);
  --link-color: #333;
  --transition-1: 0.5s ease-in-out;
  --icon-boxshadow-color: hsl(48, 92%, 53%);
  --card-boxshadow-color: hsl(0, 0%, 85%);
  --border-top: hsl(0, 0%, 86%);
  --text-shadow: hsla(0, 0%, 100%, 0.52);
  --moon-before: linear-gradient(var(--rotate), hsl(226, 78%, 68%), hsl(225, 75%, 56%) 43%, hsl(265, 80%, 39%));
  --moon-after: linear-gradient(to top, hsl(48, 86%, 51%) 0%, hsla(48, 86%, 51%, 0.1) 25%, hsla(48, 86%, 51%, 0.1) 75%, hsl(48, 86%, 51%) 100%);
  --nav-background: hsla(0, 0%, 96%, 0.129);
  --sphere-bg: linear-gradient(to top, hsla(0, 0%, 100%, 0) 0%, hsla(0, 0%, 100%, 0.2) 25%, hsla(0, 0%, 100%, 0.2) 75%, hsla(0, 0%, 100%, 0) 100%);
}

.dark-mode {
  --primary-color: hsl(226, 78%, 68%);
  --secondary-color: hsl(86, 94%, 57%);
  --accent-color: hsl(0, 0%, 25%);
  --text-color: #eee;
  --body-bg: hsl(0, 0%, 6%);
  --link-color: #eee;
  --icon-boxshadow-color: #fff;
  --card-boxshadow-color: hsla(0, 0%, 100%, 0.149);
  --border-top: hsl(0, 0%, 15%);
  --text-shadow: hsla(0, 0%, 0%, 0.67);
  --moon-before: linear-gradient(var(--rotate), hsl(0, 0%, 0%), hsl(0, 0%, 0%) 43%, hsl(0, 0%, 0%));
  --moon-after: linear-gradient(to top, hsl(265, 80%, 39%) 0%, hsla(224, 43%, 45%, 0.35) 25%, hsla(225, 43%, 45%, 0.35) 75%, hsl(226, 78%, 68%) 100%);
  --nav-background: hsla(0, 0%, 0%, 0.129);
  --sphere-bg: hsl(0, 0%, 6%);
}

/* ------------------------------------------------------------------ */
/*  Wrapper                                                             */
/* ------------------------------------------------------------------ */
#booking-calendar {
  padding-top: 3rem;
}

.booking-section {
  padding: 4rem 0 6rem;
}

.booking-section__header {
  text-align: center;
  margin-bottom: 5rem;
}
.booking-section__header h2,
.booking-section__header span {
  text-transform: uppercase;
}
.booking-section__header h2 {
  font-size: clamp(1.4rem, 1.1vw + 1.3rem, 2.4rem);
}
.booking-section__header p {
  max-width: 45rem;
  margin: 0 auto;
}
.booking-section__header p a {
  color: hsl(226, 78%, 68%);
  font-weight: 500;
}
.booking-section__header span {
  letter-spacing: 2px;
}
.booking-section__header {
  margin-bottom: 3rem;
}

/* ------------------------------------------------------------------ */
/*  Card — Split Layout                                                 */
/* ------------------------------------------------------------------ */
.bk-card {
  display: flex;
  flex-direction: column;
  background: var(--body-bg);
  border: 1px solid var(--border-top);
  border-radius: 16px;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  min-height: 520px;
}
@media only screen and (min-width: 768px) {
  .bk-card {
    flex-direction: row;
  }
}

/* ------------------------------------------------------------------ */
/*  Divider                                                             */
/* ------------------------------------------------------------------ */
.bk-divider {
  width: 100%;
  height: 1px;
  background: var(--border-top);
  flex-shrink: 0;
}
@media only screen and (min-width: 768px) {
  .bk-divider {
    width: 1px;
    height: auto;
  }
}

/* ------------------------------------------------------------------ */
/*  Left Panel                                                          */
/* ------------------------------------------------------------------ */
.bk-left {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-shrink: 0;
}
@media only screen and (min-width: 768px) {
  .bk-left {
    width: 280px;
    padding: 2.5rem 2rem;
  }
}

.bk-left__avatar-wrap {
  margin-bottom: 0.5rem;
}

.bk-left__avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: top;
     object-position: top;
  border: 2px solid var(--border-top);
}

.bk-left__host {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-color);
  opacity: 0.6;
  font-weight: 500;
}

.bk-left__title {
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 400;
  color: var(--text-color);
  line-height: 1.3;
  margin-top: 0.25rem;
}

.bk-left__meta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.bk-left__meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-color);
  opacity: 0.7;
}

.bk-left__meta-icon {
  font-size: 0.9rem;
  flex-shrink: 0;
}

.bk-left__date-summary {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-top);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bk-left__selected {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--primary-color);
  font-weight: 500;
}

.bk-left__selected-icon {
  font-size: 0.9rem;
}

/* ------------------------------------------------------------------ */
/*  Right Panel                                                         */
/* ------------------------------------------------------------------ */
.bk-right {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  min-height: 400px;
}
@media only screen and (min-width: 768px) {
  .bk-right {
    padding: 2.5rem 2rem 2.5rem 2.5rem;
  }
}

/* ------------------------------------------------------------------ */
/*  Step 1 — Calendar                                                   */
/* ------------------------------------------------------------------ */
.bk-cal {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.bk-cal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bk-cal__month {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
}

.bk-cal__nav {
  display: flex;
  gap: 0.25rem;
}

.bk-cal__nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-top);
  border-radius: 8px;
  background: transparent;
  color: var(--text-color);
  cursor: pointer;
  transition: background var(--transition-1), border-color var(--transition-1);
}
.bk-cal__nav-btn:hover:not(:disabled) {
  background: var(--border-top);
}
.bk-cal__nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.bk-cal__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.bk-cal__weekday {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-color);
  opacity: 0.4;
  padding: 0.25rem 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bk-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.bk-cal__cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background var(--transition-1), color var(--transition-1), transform 0.15s ease;
  position: relative;
}
.bk-cal__cell--empty {
  pointer-events: none;
}
.bk-cal__cell--past, .bk-cal__cell--unavail {
  color: var(--text-color);
  opacity: 0.25;
  cursor: not-allowed;
}
.bk-cal__cell--loading {
  opacity: 0.4;
  animation: bk-pulse 1.5s ease-in-out infinite;
}
.bk-cal__cell--available {
  color: var(--text-color);
  background: var(--border-top);
  cursor: pointer;
  font-weight: 600;
}
.bk-cal__cell--available:hover {
  background: var(--primary-color);
  color: #fff;
  transform: scale(1.05);
}
.bk-cal__cell--available:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}
.bk-cal__cell--selected {
  background: var(--text-color) !important;
  color: var(--body-bg) !important;
  transform: scale(1.05);
}
.bk-cal__cell--today:not(.bk-cal__cell--selected)::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary-color);
}

.bk-cal__loading {
  font-size: 0.8rem;
  color: var(--text-color);
  opacity: 0.5;
  text-align: center;
  margin-top: 0.5rem;
}

/* ------------------------------------------------------------------ */
/*  Step 2 — Time Slots                                                 */
/* ------------------------------------------------------------------ */
.bk-slots {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  height: 100%;
}

.bk-slots__header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bk-slots__date {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
}

.bk-slots__grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 0.25rem;
}
.bk-slots__grid::-webkit-scrollbar {
  width: 4px;
}
.bk-slots__grid::-webkit-scrollbar-track {
  background: transparent;
}
.bk-slots__grid::-webkit-scrollbar-thumb {
  background: var(--border-top);
  border-radius: 2px;
}

.bk-slot-btn {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-top);
  border-radius: 10px;
  background: transparent;
  color: var(--text-color);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background var(--transition-1), border-color var(--transition-1), color var(--transition-1), transform 0.15s ease;
}
.bk-slot-btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
  transform: translateY(-1px);
}
.bk-slot-btn:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}
@media only screen and (min-width: 768px) {
  .bk-slot-btn {
    max-width: 180px;
  }
}

.bk-slots__loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex: 1;
  color: var(--text-color);
  opacity: 0.6;
  font-size: 0.875rem;
}

.bk-slots__empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  color: var(--text-color);
  opacity: 0.7;
  font-size: 0.875rem;
}

/* ------------------------------------------------------------------ */
/*  Step 3 — Form                                                       */
/* ------------------------------------------------------------------ */
.bk-form-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  height: 100%;
}

.bk-form-wrap__header {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.bk-form-wrap__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
}

.bk-form-wrap__subtitle {
  font-size: 0.825rem;
  color: var(--text-color);
  opacity: 0.55;
}

.bk-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bk-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media only screen and (min-width: 600px) {
  .bk-form__row {
    grid-template-columns: 1fr 1fr;
  }
}

.bk-form__group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.bk-form__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-color);
  opacity: 0.75;
  letter-spacing: 0.2px;
}

.bk-form__optional {
  font-weight: 400;
  opacity: 0.5;
}

.bk-form__input {
  width: 100%;
  padding: 0.65rem 0.875rem;
  background: transparent;
  border: 1px solid var(--border-top);
  border-radius: 8px;
  color: var(--text-color);
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color var(--transition-1);
  outline: none;
}
.bk-form__input::-moz-placeholder {
  color: var(--text-color);
  opacity: 0.3;
}
.bk-form__input::placeholder {
  color: var(--text-color);
  opacity: 0.3;
}
.bk-form__input:focus {
  border-color: var(--primary-color);
}
.bk-form__input:invalid:not(:-moz-placeholder) {
  border-color: hsl(0, 70%, 60%);
}
.bk-form__input:invalid:not(:placeholder-shown) {
  border-color: hsl(0, 70%, 60%);
}

.bk-form__textarea {
  resize: vertical;
  min-height: 80px;
}

.bk-form__privacy {
  font-size: 0.775rem;
  color: var(--text-color);
  opacity: 0.45;
  line-height: 1.5;
}
.bk-form__privacy a {
  color: var(--primary-color);
  text-decoration: none;
}
.bk-form__privacy a:hover {
  text-decoration: underline;
}

.bk-form__error {
  padding: 0.75rem 1rem;
  background: hsla(0, 70%, 50%, 0.1);
  border: 1px solid hsla(0, 70%, 50%, 0.3);
  border-radius: 8px;
  font-size: 0.85rem;
  color: hsl(0, 70%, 60%);
  line-height: 1.4;
}

/* ------------------------------------------------------------------ */
/*  Submit Button                                                       */
/* ------------------------------------------------------------------ */
.bk-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.875rem 1.5rem;
  background: var(--text-color);
  color: var(--body-bg);
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity var(--transition-1), transform 0.15s ease;
  font-family: inherit;
}
.bk-submit-btn:hover:not(:disabled) {
  opacity: 0.85;
  transform: translateY(-1px);
}
.bk-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ------------------------------------------------------------------ */
/*  Back Button                                                         */
/* ------------------------------------------------------------------ */
.bk-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  color: var(--text-color);
  opacity: 0.5;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  transition: opacity var(--transition-1);
  margin-bottom: 0.25rem;
}
.bk-back-btn:hover {
  opacity: 1;
}

/* ------------------------------------------------------------------ */
/*  Generic Button                                                      */
/* ------------------------------------------------------------------ */
.bk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: background var(--transition-1), border-color var(--transition-1), opacity var(--transition-1);
}
.bk-btn--outline {
  background: transparent;
  border: 1px solid var(--border-top);
  color: var(--text-color);
}
.bk-btn--outline:hover {
  border-color: var(--text-color);
}

/* ------------------------------------------------------------------ */
/*  Step 4 — Confirmation                                               */
/* ------------------------------------------------------------------ */
.bk-confirm {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.75rem;
  height: 100%;
  padding: 1rem 0;
}

.bk-confirm__icon {
  font-size: 2.5rem;
  margin-bottom: 0.25rem;
}

.bk-confirm__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-color);
}

.bk-confirm__text {
  font-size: 0.875rem;
  color: var(--text-color);
  opacity: 0.65;
  line-height: 1.6;
  max-width: 380px;
}

.bk-confirm__details {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.5rem;
  padding: 1.25rem;
  background: var(--border-top);
  border-radius: 10px;
  width: 100%;
  max-width: 360px;
}

.bk-confirm__detail {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--text-color);
  font-weight: 500;
}

.bk-confirm__detail-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

/* ------------------------------------------------------------------ */
/*  Spinner                                                             */
/* ------------------------------------------------------------------ */
.bk-spinner {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 2px solid var(--border-top);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: bk-spin 0.7s linear infinite;
}
.bk-spinner--sm {
  width: 16px;
  height: 16px;
  border-width: 2px;
  border-color: rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
}

/* ------------------------------------------------------------------ */
/*  Animations                                                          */
/* ------------------------------------------------------------------ */
@keyframes bk-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes bk-pulse {
  0%, 100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.15;
  }
}/*# sourceMappingURL=booking-calendar.css.map */