:root {
  font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
  font-size: 32px;
  line-height: 24px;
  font-weight: 400;

  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #000;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

* {
  box-sizing: border-box;
}

a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}
a:hover {
  color: #535bf2;
}

body {
  margin: 0;
  display: flex;
  place-items: center;
  min-width: 320px;
  min-height: 100vh;
}

h1 {
  font-size: 2rem;
  line-height: 1.1;
  margin-top: 2rem;
  margin-bottom: 0rem;
  padding: 1rem;
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  color: rgba(255, 255, 255, 0.87);
  background-color: #092e9d;
  cursor: pointer;
  transition: border-color 0.25s;
}
button:hover {
  border-color: #646cff;
}
button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

table td {
  padding: 0.25rem;
  font-size: 0.75rem;
}

.total td {
  font-weight: 600;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 1rem;
}

.price {
  text-align: right;
}

#app {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem;
  padding-bottom: 6rem;
}

.log {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  margin: 0;
  font-size: 0.75rem;
  padding: 0.75rem 1.5rem;
  background-color: rgba(0, 0, 0, 0.5);
  max-height:10rem;
  overflow: auto;
  z-index: 200;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 100;
}

.modal {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  max-width: 900px;
  transform: translate(-50%, -50%);
  padding: 2rem;
  line-height: 1.5rem;
  background-color: #1a1a1a;
  border-radius: 8px;
  z-index: 101;
  text-align: center;
}

#items {
  display: flex;
  flex-direction: column;
}

.item, .item:hover {
  all: unset;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding: 1.5rem 1rem;
  flex: 1;
}

.item[data-selected="true"] {
  background-color: rgba(255, 255, 255, 0.1);
}

.item h3 {
  display: flex;
  justify-content: space-between;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.item p {
  line-height: 1.5;
  margin-top: 0;
  margin-bottom: 0;
}

#payment {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  background-color: #1a1a1a;
}