/*!***********************************************************************************************************************************************!*\
  !*** css ./node_modules/.pnpm/css-loader@6.8.1_webpack@5.89.0_webpack-cli@5.1.4_/node_modules/css-loader/dist/cjs.js!./src/styles/global.css ***!
  \***********************************************************************************************************************************************/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  font-family: "Catamaran", sans-serif;
  font-size: 16px;
}

::-webkit-scrollbar {
  width: 0.3rem;
}

::-webkit-scrollbar-track {
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  background: #b8952e;
}

body {
  background-color: #19181b;
  color: #f5f4f5;
}

.container {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: calc(100vh - 1.5rem);
  grid-template-areas: "form schedule";

  padding: 0.75rem;
}

.logo {
  position: absolute;
  top: 0;
  left: 0;

  background-color: #2e2c30;
  padding: 0.75rem 1.25rem;
  border-bottom-right-radius: 0.75rem;

  height: 3.5rem;
  width: 8.7rem;
}

@media (max-width: 1100px) {
  :root {
    font-size: 14px;
  }

  .container {
    display: flex;
    flex-direction: column;
  }
}

/*!*********************************************************************************************************************************************!*\
  !*** css ./node_modules/.pnpm/css-loader@6.8.1_webpack@5.89.0_webpack-cli@5.1.4_/node_modules/css-loader/dist/cjs.js!./src/styles/form.css ***!
  \*********************************************************************************************************************************************/
.form {
  grid-area: form;
  max-width: 512px;

  background-color: #232225;
  border-radius: 0.75rem;

  padding: 5rem;
  padding-bottom: 1.5rem;

  display: flex;
  flex-direction: column;

  overflow-y: scroll;
}

.form > header {
  max-width: 21rem;
  margin-bottom: 1.5rem;
}

.form > header h1 {
  font-size: 1.5rem;
  font-weight: 700;
}

.form > header p {
  color: #98959d;
  font-size: 0.87rem;
}

.label {
  font-size: 1rem;
  color: #b2afb6;
  font-weight: 700;
}

.input {
  width: 100%;
  height: 3rem;

  border: 1px solid #3e3c41;
  padding: 0.87rem 0.75rem;
  border-radius: 0.5rem;

  display: flex;
  margin-bottom: 1.5rem;
}

.input i {
  margin-right: 0.5rem;
}

.input input {
  flex: 1;

  font-family: "Catamaran", sans-serif;

  font-size: 1rem;
  color: #b2afb6;
  background-color: transparent;

  outline: none;
  border: none;
}

.input:focus-within {
  border: 1.5px solid #b8952e;
}

.button {
  height: 3.5rem;
  border-radius: 0.5rem;
  border: none;
  font-size: 0.87rem;
  background-color: #b8952e;
  color: #050505;
  text-transform: uppercase;
  font-weight: 700;
  padding: 1rem 1.25rem;
  cursor: pointer;

  transition: background-color 0.3s;
}

.button:hover {
  background-color: #dbc170;
}

::-webkit-calendar-picker-indicator {
  cursor: pointer;
  background: url(assets/arrow-down.svg) no-repeat;
}

.hours {
  list-style: none;

  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;

  margin-bottom: 2rem;
}

.hour {
  width: 4.87rem;
  height: 2.5rem;

  border-radius: 0.5rem;

  font-size: 1rem;
  border: 1px solid #3e3c41;

  cursor: pointer;

  display: flex;
  justify-content: center;
  align-items: center;
}

.hour-period {
  width: 100%;
  color: #98959d;
  font-size: 0.87rem;

  margin-top: 0.75rem;
}

.hour-available {
  background-color: #2e2c30;
}

.hour-unavailable {
  opacity: 0.5;

  cursor: not-allowed;
}

.hour-selected {
  border: 1px solid #b8952e;
  color: #b8952e;
}

.hour:not(.hour-unavailable):hover {
  border: 1px solid #b8952e;
  color: #b8952e;
}

@media (max-width: 1100px) {
  .form {
    overflow-y: auto;
    max-width: 100%;
  }
}

/*!*************************************************************************************************************************************************!*\
  !*** css ./node_modules/.pnpm/css-loader@6.8.1_webpack@5.89.0_webpack-cli@5.1.4_/node_modules/css-loader/dist/cjs.js!./src/styles/schedule.css ***!
  \*************************************************************************************************************************************************/
.schedule {
  grid-area: schedule;
  padding: 5rem 7.75rem;
}

.schedule > header {
  margin-bottom: 2rem;
}

.schedule > header h1 {
  font-size: 1.5rem;
  font-weight: 700;
}

.schedule > header p {
  color: #98959d;
  font-size: 0.87rem;
}

.schedule-period {
  border: 1px solid #2e2c30;
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
}

.schedule-period header {
  width: 100%;
  display: flex;

  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: #2e2c30;

  padding: 0.75rem 1.25rem;
}

.schedule-period header img {
  width: 1.25rem;
  margin-right: 0.75rem;
}

.schedule-period header strong {
  flex: 1;
  color: #98959d;
  font-size: 0.87rem;
}

.schedule-period header span {
  font-size: 0.87rem;
  color: #98959d;
}

.schedule-period ul {
  list-style: none;
  padding: 1.25rem;
}

.schedule-period ul li {
  height: 2rem;
  color: #b2afb6;
  font-size: 1rem;

  display: flex;
  align-items: center;
}

.schedule-period ul li span {
  flex: 1;
}

.cancel-icon {
  cursor: pointer;
  transition: opacity 0.2s;
}

.schedule-period ul li img:hover {
  opacity: 0.7;
}

.schedule-period ul li strong {
  margin-right: 1.25rem;
}

@media (max-width: 1100px) {
  .schedule {
    grid-area: schedule;
    padding: 1.5rem;
  }

  .schedule > header {
    flex-direction: column;
  }
}

