/* Reset simple */
* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 0; padding: 20px;
  background: #f9f9f9;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.username-container {
  margin-bottom: 20px;
  text-align: center;
}

#usernameInput {
  padding: 8px;
  font-size: 1rem;
  width: 250px;
  margin-right: 8px;
}

button {
  cursor: pointer;
  background-color: #4CAF50;
  border: none;
  padding: 8px 16px;
  color: white;
  font-size: 1rem;
  border-radius: 4px;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #45a049;
}

.user-display {
  margin-bottom: 20px;
  font-weight: bold;
}

section {
  background: white;
  padding: 15px;
  margin-bottom: 25px;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgb(0 0 0 / 0.1);
  width: 100%;
  max-width: 900px;
}

section h2 {
  margin-top: 0;
}

section input, section select {
  padding: 8px;
  margin-right: 10px;
  margin-bottom: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  min-width: 150px;
}

table {
  width: 100%;
  max-width: 900px;
  border-collapse: collapse;
  background: white;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgb(0 0 0 / 0.1);
}

th, td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: center;
  font-size: 0.95rem;
}

th {
  background-color: #f2f2f2;
}

span {
  user-select: none;
}

@media (max-width: 700px) {
  body {
    padding: 10px;
  }
  section, table {
    max-width: 100%;
  }
  section input, section select, button {
    width: 100%;
    margin: 5px 0;
  }
}

@media print {
  body * {
    visibility: hidden;
  }
  #app, #app * {
    visibility: visible;
  }
  #app {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
  }
}
