.site-header {
  display: flex;
  align-items: center;
  padding: 1rem;
  background-color: #f0f0f0;
  border-bottom: 1px solid #ccc;
}

.site-logo {
  height: 40px;
  margin-right: 1rem;
}

.site-title {
  font-size: 1.5rem;
  margin: 0;
}

.content {
  padding: 2rem;
}
 .summary-container {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-top: 20px;
  }

  #summaryTable {
    width: 700px; /* Keep the original width */
  }

  #weeklyChart {
    flex: 1; /* Chart uses remaining space */
    max-width: 800px;
  }

  .site-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}

.logout-container {
  position: absolute;
  top: 10px;
  right: 20px;
}

.logout-container a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}
  table {
    border-collapse: collapse;
    width: 100%;
    max-width: 1000px;
    margin: auto;
  }
  th, td {
    border: 1px solid #ccc;
    padding: 4px;
    text-align: center;
  }
th.rotate {
  height: 120px;
  width: 40px;
  position: relative;
  vertical-align: bottom;
  padding: 0;
  text-align: left;
  white-space: nowrap;
  overflow: visible;
}

th.rotate > div {
  transform: rotate(-90deg);
  transform-origin: bottom center;
  position: absolute;
  bottom: 70px;
  left: 50%;
  width: 120px;
  margin-left: -50px; /* Half the width to center */
  white-space: normal;
  word-wrap: break-word;
  text-align: left;
  font-size: 0.9rem;
  line-height: 1.1;
}


  input[type="number"] {
    width: 40px;
    font-size: 0.75rem;
    text-align: right;
  }
  .day-label {
    font-weight: bold;
  }
 .day-block,
.day-block tr,
.day-block td {
  border: none;
}
.total-row td {
  border: none;
  text-align: right;
}

#saveMessage {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #4CAF50;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  z-index: 1000;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  font-size: 1.2rem;
  text-align: center;
}

.button-primary {
  background-color: #4CAF50; /* green */
  color: white;
  border: none;
  padding: 5px 8px;
  border-radius: 3px;
  cursor: pointer;
  font-weight: bold;
}

.button-secondary {
  background-color: #2196F3; /* blue */
  color: white;
  border: none;
  padding: 5px 8px;
  border-radius: 3px;
  cursor: pointer;
  font-weight: bold;
}

.button-primary:hover,
.button-secondary:hover {
  opacity: 0.9;
}

.button-tertiary {
  background: none;
  border: 1px solid #aaa;
  color: #666;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  cursor: pointer;
}

.button-tertiary:hover {
  background-color: #eee;
}


.header-row {
  background-color: #e0ecf8;
  font-weight: bold;
  text-align: left;
}

.day-header {
  background: #e0f7fa;
  font-weight: bold;
  text-align: left;
  padding: 0.5rem;
}

.save-message {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #4caf50;
  color: white;
  padding: 1rem 2rem;
  border-radius: 5px;
  z-index: 1000;
}


.entry-row td {
  width: 100%;
  max-width: 600px;      /* or whatever fits your layout */
  padding-right: 1rem;
}

.entry-cell {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.entry-cell select,
.entry-cell input[type="time"] {
  margin: 0;
}

#weekly-form .controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1rem;
}

#weekly-form .controls p {
  margin: 0.2rem 0;
  text-align: center;
}
