* {
  font-family: monospace;
}
:root {
  color-scheme: only light;
}
body {
  font-size: smaller;
}
main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 91.666667%;
  margin: auto;
}

.item {
  gap: 0.5rem;
}
.price {
  margin-left: auto;
}
.loc {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1rem;
}
.header {
  display: flex;
  width: 100%;
  justify-content: space-between;
  border-bottom: 1px dashed #ccc;
  padding-bottom: 0.5rem;
}
.item {
  cursor: pointer;
}
.items {
  gap: 0.5rem;
  margin: 0.5rem auto;
}
.item:hover:not(:has(input:disabled)) {
  background: #f5f5f5;
}

.item.paid {
  pointer-events: none;
  cursor: default;
}
.total {
  border-top: 1px dashed #ccc;
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;
}

.btn {
  padding: 1rem;
  font: inherit;
  background-color: white;
  color: black;
  border: 1px solid #000;
  text-align: center;
  text-decoration: none;
}
.btn:hover:not(:disabled) {
  background: black;
  color: white;
}

.receipt {
  width: 100%;
  display: flex;
  /*margin: auto;*/
  flex-direction: column;
  /*gap: 1rem;*/
}

small {
  color: #909090;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.paid {
  text-decoration: line-through;
  color: #888;
}

/* r.css */
.f {
  display: flex;
  gap: 1rem;
}

.fc {
  flex-direction: column;
}

.sb {
  justify-content: space-between;
}

.ac {
  align-items: center;
}

.c {
  text-align: center;
}

.w-100 {
  width: 100%;
}
.ma {
  margin: auto;
}
