body {
  font-family: sans-serif;
  margin: 2em;
  background-color: #f8f9fa;
  color: #333;
}

h1 {
  font-size: 1.5em;
  margin-bottom: 1em;
}

button {
  font-size: 1em;
  padding: 0.6em 1.2em;
  background: #4285f4;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background: #3367d6;
}

#status {
  margin-top: 1em;
}

table {
  margin-top: 1em;
  border-collapse: collapse;
  width: 100%;
  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  overflow: hidden;
}

th,
td {
  border: 1px solid #ddd;
  padding: 0.6em;
  text-align: left;
}

th {
  background-color: #f1f3f4;
}

img {
  max-width: 100px;
  max-height: 100px;
  border-radius: 4px;
}

.hidden {
  display: none;
}

td.checkin-cell {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 102.5px;
}

td.checkin-cell input[type="checkbox"] {
  width: 40px;
  height: 40px;
  cursor: pointer;
}

#search-box {
  width: 100%;
  max-width: 400px;
  padding: 0.6em 1em;
  margin-bottom: 1em;
  font-size: 1em;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  transition: border-color 0.2s, box-shadow 0.2s;
}

#search-box:focus {
  border-color: #4285f4;
  box-shadow: 0 0 4px rgba(66, 133, 244, 0.5);
  outline: none;
}

label[for="search-box"] {
  display: block;
  margin-bottom: 0.4em;
  font-weight: bold;
  font-size: 1em;
  color: #333;
}

input.new-name {
  line-height: 35px;
  font-size: 16px;
  padding: 4px 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.undo-button {
  cursor: pointer;
  color: red;
  font-weight: bold;
  margin-left: 8px;
  user-select: none;
  transition: color 0.2s;
}

.undo-button:hover {
  color: darkred;
}
