body {
  font-family: Arial, sans-serif;
  background: #f4f6f8;
  margin: 0;
  padding: 20px;
}

.card {
  background: white;
  padding: 20px;
  max-width: 1500px;
  margin: auto;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.12);
}

h1 {
  margin-top: 0;
}

.top-bar {
  display: flex;
  gap: 20px;
  align-items: end;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

label {
  font-weight: bold;
  display: block;
  margin-bottom: 6px;
}

input,
select {
  padding: 6px;
  border: 1px solid #bbb;
  border-radius: 6px;
  font-size: 13px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 12px;
  table-layout: fixed;
}

th,
td {
  border: 1px solid #ddd;
  padding: 5px;
  text-align: center;
  vertical-align: top;
}

th {
  background: #1f4e79;
  color: white;
  font-size: 12px;
}

.project-col {
  width: 190px;
}

.remove-col {
  width: 60px;
}

.project-select {
  width: 175px;
}

.day-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 80px;
}

.entry-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.entry-row label {
  font-size: 11px;
  min-width: 22px;
  margin: 0;
  text-align: left;
}

.hours-input {
  width: 46px;
  padding: 4px;
  font-size: 12px;
}

.check-row {
  display: flex;
  justify-content: flex-start;
  font-size: 11px;
}

.check-row label {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 3px;
  font-weight: normal;
}

.totals {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.total-box {
  background: #eef3f8;
  padding: 12px;
  border-radius: 8px;
  min-width: 150px;
  font-weight: bold;
}

button {
  margin-top: 16px;
  padding: 10px 18px;
  background: #1f4e79;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
}

button:disabled {
  background: #999;
  cursor: not-allowed;
}

button.secondary {
  background: #555;
}

button.danger {
  background: #9b1c1c;
  padding: 6px 10px;
  margin-top: 0;
}

.message {
  margin-top: 20px;
  padding: 12px;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
  display: none;
}

.small-card {
  max-width: 620px;
  margin-top: 40px;
}
