/* atkinson-hyperlegible-regular - latin */
@font-face {
  font-display: swap;
  font-family: "Atkinson Hyperlegible";
  font-style: normal;
  font-weight: 400;
  src: url("/static/fonts/atkinson-hyperlegible-v11-latin-regular.woff2") format("woff2");
}

/* atkinson-hyperlegible-italic - latin */
@font-face {
  font-display: swap;
  font-family: "Atkinson Hyperlegible";
  font-style: italic;
  font-weight: 400;
  src: url("/static/fonts/atkinson-hyperlegible-v11-latin-italic.woff2") format("woff2");
}

/* atkinson-hyperlegible-700 - latin */
@font-face {
  font-display: swap;
  font-family: "Atkinson Hyperlegible";
  font-style: normal;
  font-weight: 700;
  src: url("/static/fonts/atkinson-hyperlegible-v11-latin-700.woff2") format("woff2");
}

/* atkinson-hyperlegible-700italic - latin */
@font-face {
  font-display: swap;
  font-family: "Atkinson Hyperlegible";
  font-style: italic;
  font-weight: 700;
  src: url("/static/fonts/atkinson-hyperlegible-v11-latin-700italic.woff2") format("woff2");
}

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

html {
  font-size: 16px;
}

body {
  background-color: #28293f;
  color: white;
  font-family: "Atkinson Hyperlegible", sans-serif;
  max-width: 960px;
  margin: 1rem auto;
  padding: 0 1rem;
}

header {
  border-left: 2px solid white;
  padding: 0.25rem 1rem;
  margin-bottom: 2rem;
}

header h1 {
  margin: 0 0 0.25rem 0;
}

header p {
  margin: 0;
}

.reservation-options-help {
  opacity: 0.8;
  margin-bottom: 2rem;
}

.reservation-option {
  border-left: 2px solid rgba(255, 255, 255, 0.5);
  padding: 0.25rem 1rem;
  margin-bottom: 2rem;
}

.reservation-option h2 {
  margin: 0 0 0.25rem 0;
}

.reservation-option h3 {
  margin: 0 0 0.25rem 0;
}

.reservation-option h3 {
  font-weight: normal;
  padding-left: 1rem;
}

.machines {
  display: flex;
  gap: 0.5rem;
}

.machine {
  width: 128px;
  height: 64px;
  display: flex;
  cursor: pointer;
  justify-content: flex-start;
  gap: 0.5rem;
  align-items: center;
  border: 1px solid #595b79;
  background: linear-gradient(0deg, rgba(2, 0, 36, 1) 0%, rgba(23, 24, 36, 0.3) 100%);
  border-radius: 4px;
  padding: 8px;
  font-size: 0.8rem;
  color: white;
  text-decoration: none;
}

.machine:hover {
  background: linear-gradient(0deg, rgba(109, 106, 153, 0.3) 0%, rgba(112, 116, 156, 1) 100%);
}

.machine img {
  width: 32px;
}

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

.person-wrapper {
  display: flex;
}

.person {
  width: 192px;
  height: 64px;
  display: flex;
  cursor: pointer;
  justify-content: flex-start;
  gap: 0.5rem;
  align-items: center;
  border: 1px solid #595b79;
  background: linear-gradient(0deg, rgba(2, 0, 36, 1) 0%, rgba(23, 24, 36, 0.3) 100%);
  border-radius: 4px;
  padding: 8px;
  font-size: 0.8rem;
  color: white;
  text-decoration: none;
}

.skills {
  font-size: 0.75rem;
  opacity: 0.8;
  list-style-position: inside;
  list-style-type: square;
  margin: 0 0 0 0.5rem;
  padding: 0 0 0 0rem;
}

.person:hover {
  background: linear-gradient(0deg, rgba(109, 106, 153, 0.3) 0%, rgba(112, 116, 156, 1) 100%);
}

.available {
  opacity: 0.8;
  font-size: 0.75rem;
}

.reservation-type {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.reservation-task {
  opacity: 0.8;
}

#calendar {
  width: 400px;
  user-select: none;
  margin-bottom: 2rem;
}

#time-slots {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.time-slot {
  width: 96px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border: 1px solid #595b79;
  background: linear-gradient(0deg, rgba(2, 0, 36, 1) 0%, rgba(23, 24, 36, 0.3) 100%);
  border-radius: 4px;
  padding: 8px;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
}

.time-slot:hover,
.time-slot.selected {
  background: linear-gradient(0deg, rgba(109, 106, 153, 0.3) 0%, rgba(112, 116, 156, 1) 100%);
}

#time-slots-header {
  /* display: none; */
  margin-bottom: 1rem;
}

#time-slots {
  margin-bottom: 2rem;
}

[data-vc-theme="dark"] .vc-week__day[data-vc-week-day-off] {
  color: rgba(255, 255, 255, 0.2);
}

#next {
  display: none;
}

.primary {
  width: 96px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border: 1px solid #595b79;
  background: linear-gradient(0deg, rgba(100, 50, 150, 0.3) 0%, rgba(100, 50, 150, 1) 100%);
  border-radius: 4px;
  padding: 8px;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
}

#confirm.primary {
  width: 192px;
}

#reservation-summary {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 40ch;
}

label div {
  font-weight: bold;
}

label div.help {
  font-weight: normal;
  font-size: 0.75rem;
}

input[type="email"],
textarea {
  background-color: transparent;
  border-radius: 4px;
  margin: 0 0 1rem 0;
  padding: 0.25rem 0.5rem;
  border: 1px solid #595b79;
  color: white;
  font: inherit;
  font-size: 1rem;
  outline: none;
}

input[type="email"]:focus,
textarea:focus {
  border-color: #545ddf;
}
