* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: #f5f5f5;
  color: #333;
}

h1 {
  color: #007bff;
  margin-bottom: 20px;
}

h2 {
  color: #555;
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 18px;
}

p {
  margin-bottom: 10px;
  line-height: 1.6;
}

ul {
  list-style-type: none;
  padding-left: 0;
}

li {
  padding: 10px;
  background-color: white;
  margin-bottom: 5px;
  border-left: 4px solid #007bff;
}

form {
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

input {
  font-size: 14px;
}

button {
  font-size: 14px;
  transition: background-color 0.3s ease;
}

button:hover {
  opacity: 0.9;
}

button {
  padding: 8px 16px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:disabled {
  background-color: #aaa;
  cursor: not-allowed;
  opacity: 0.7;
}

input,
select {
  padding: 6px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Login screen */
.login-box {
  max-width: 360px;
  margin: 100px auto;
  padding: 24px;
  background-color: white;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.login-box .field {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.login-box button {
  width: 100%;
}

/* App shell */
#app-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  background-color: white;
  border-bottom: 1px solid #ddd;
}

#app-header h1 {
  font-size: 18px;
  margin: 0;
  flex-shrink: 0;
}

#user-info {
  flex: 1;
  color: #555;
}

#app-nav {
  display: flex;
  gap: 8px;
  padding: 10px 20px;
  background-color: #eee;
  flex-wrap: wrap;
}

#app-nav button {
  background-color: #fff;
  color: #333;
  border: 1px solid #ccc;
}

#app-nav button.active {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}

#app-content {
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
}

/* Shared view styles */
.message {
  margin: 10px 0;
  color: #555;
}

.message.error {
  color: #c0392b;
}

.field {
  margin-bottom: 14px;
}

.filters {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.filters label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  background-color: white;
}

.results-table th,
.results-table td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.results-table th {
  background-color: #f0f0f0;
}

.clock-display {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 10px;
}

.status-indicator {
  margin-bottom: 20px;
  font-size: 15px;
  color: #333;
}

.actions {
  display: flex;
  gap: 10px;
}
