body {
  background-color: #0d1117;
  color: #c9d1d9;
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
}

header {
  background-color: #161b22;
  padding: 20px;
  text-align: center;
  font-size: 26px;
  font-weight: 600;
  border-bottom: 2px solid #21262d;
  color: #58a6ff;
}

.container {
  padding: 20px;
  max-width: 1100px;
  margin: auto;
}

.layout-wrapper {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
  align-items: start;
}
.main-content {
  flex: 1;
}
.totals-box {
  background-color: #161b22;
  border-radius: 10px;
  padding: 20px;
  position: sticky;
  top: 20px;
  border: 1px solid #30363d;
}
.totals-box h3 {
  margin: 0 0 15px 0;
  color: #58a6ff;
  font-size: 1.2em;
}
.total-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #30363d;
}
.total-item:last-child {
  border-bottom: none;
}
.total-item span:last-child {
  font-weight: 600;
  color: #58a6ff;
}

.filter-bar {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.filter-bar label {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.filter-bar input[type="checkbox"] {
  cursor: pointer;
}
.filter-bar select {
  padding: 8px 12px;
  background-color: #21262d;
  color: #c9d1d9;
  border: 1px solid #30363d;
  border-radius: 6px;
  font-size: 14px;
}

table {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
  background-color: #161b22;
  border-radius: 10px;
  overflow: hidden;
}

th, td {
  padding: 12px;
  border-bottom: 1px solid #30363d;
  text-align: center;
}

th {
  background-color: #21262d;
  font-weight: 600;
  color: #58a6ff;
}

input[type="number"] {
  width: 60px;
  padding: 8px;
  border: 1px solid #30363d;
  border-radius: 6px;
  background-color: #21262d;
  color: #c9d1d9;
  text-align: center;
}
.fish-image {
  width: 32px;
  height: 32px;
  vertical-align: middle;
  margin-right: 10px;
}
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(145deg, #58a6ff, #3178c6);
  border: none;
  color: white;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 15px rgba(88, 166, 255, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
}
#back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(88, 166, 255, 0.4);
  background: linear-gradient(145deg, #6ab0ff, #4282d0);
}
#back-to-top.visible {
  display: flex;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

tfoot td {
  font-size: 18px;
  font-weight: bold;
  background-color: #21262d;
  text-align: right;
  padding-right: 20px;
}

.fish-image {
  height: 28px;
  vertical-align: middle;
  margin-right: 8px;
  border-radius: 4px;
  object-fit: contain;
  background-color: transparent;
}
td:first-child {
  text-align: left;
}

