/* Basic styles for Slingbook Logs Viewer */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 20px;
  background: #f7f7f9;
  color: #333;
}

h1 {
  margin-bottom: 20px;
  color: #2c3e50;
}

nav {
  margin-bottom: 20px;
}

nav a {
  margin-right: 12px;
  color: #1976d2;
  text-decoration: none;
  font-weight: 500;
}

nav a:last-child {
  margin-right: 0;
}

nav a:hover {
  text-decoration: underline;
}

#controls {
  margin-bottom: 10px;
}

/* Control spacing */
#controls label,
#controls input,
#controls select,
#controls button {
  margin-right: 8px;
  vertical-align: middle;
}

button {
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  background-color: #1976d2;
  color: #fff;
  cursor: pointer;
}

button:hover {
  background-color: #115293;
}

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

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

th,
td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: left;
}

th {
  background-color: #eef1f7;
}

tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

#full {
  max-width: 100%;
  display: block;
  margin-bottom: 10px;
}

.thumbs img {
  width: 150px;
  margin-right: 8px;
  cursor: pointer;
  border: 1px solid #ccc;
}

/* Edit task form layout */
#editForm .form-row {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

#editForm label {
  width: 180px;
}

#editForm input,
#editForm textarea {
  flex: 1;
  padding: 4px;
}

#editForm textarea {
  resize: vertical;
}
