:root {
  --main-blue: #283592;
  --main-white: white;
  --main-grey: rgb(243, 243, 243);
  --main-magenta: #e01b84;
  --main-greytext: rgb(102,102,102)
}

body {
  font-family: 'Roboto';
}

#othersInput {
    display: none;
}

table, td, th {
  padding: 10px;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

#table tr:nth-child(odd) {
  background-color: var(--main-white);
}

#table tr:nth-child(even) {
  background-color: var(--main-grey);
}

#table th {
  color: var(--main-blue);
}

#table td, th {
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
  color: var(--main-greytext);
}

.action-cell {
  white-space: nowrap;
}

.row-button {
  margin-right: 6px;
}

#clearButton {
  margin-left: 6px;
}

#finalAmount {
  text-align: right;
  color: var(--main-magenta);
}

#errorMessage {
  color: red;
}


#captureArea {
  display: inline-block;     /* shrink-wrap to content */
  padding: 10px;
  margin: 10px auto;
  background: var(--main-white);         /* optional: ensure clean background */
}

#captureArea h1 {
  margin-top: 0;
  color: var(--main-blue);
  font-weight: bold;
}

#tableArea {
  margin: 0;
  padding: 0;
}