/* === Layout Panels === */
#main-container {
  display: flex;
  height: 90vh;
  overflow: hidden;
}

#left-panel, #center-panel, #right-panel {
  padding: 20px;
  overflow-y: auto;
}

#left-panel {
  width: 50%;
  min-width: 200px;
  border-right: 1px solid #ccc;
  background-color: #f9f9f9;
}

#center-panel {
  width: 50%;
  min-width: 300px;
}

#right-panel {
  width: 25%;
  min-width: 250px;
  background-color: #fff;
  display: none;
}

/* Show right panel when enabled via block */
.show-right #right-panel {
  display: block;
}

/* === List Styling === */
.list-container {
  font-size: 13px;
}

.list-item {
  display: flex;
  padding: 4px 6px;
  text-decoration: none;
  color: inherit;
}

.list-item:hover {
  background-color: #e6f0ff;
}

.list-item.active {
  background-color: #d0e6ff;
  font-weight: bold;
}

.alternating-rows:nth-child(even) {
  background-color: #f0f0f0;
}

.alternating-rows:nth-child(odd) {
  background-color: #ffffff;
}

/* === Buttons and Inputs === */
.button {
  display: inline-block;
  padding: 6px 12px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 13px;
}

.button:hover {
  background-color: #0056b3;
}

input[type="text"],
select,
textarea {
  font-size: 13px;
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

input[type="date"].narrow-date {
  width: 80px !important;
  min-width: 80px !important;
  max-width: 80px !important;
  font-size: 13px;
  padding: 4px;
}

.timelog-form-row {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: flex-start;
  flex-wrap: nowrap;
  margin-bottom: 10px;
}

/* Layout container */
.flex-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 1rem;
}
timelog-field {
  display: flex;
  flex-direction: column;
  font-size: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
}


.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 500;
  margin-bottom: 4px;
  font-size: 13px;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-size: 13px;
  padding: 4px 6px;
  width: 100%;
  box-sizing: border-box;
  border-radius: 4px;
  border: 1px solid #ccc;
}

/* Width presets */
.box-10  { width: 10px; }
.box-20  { width: 20px; }
.box-40  { width: 40px; }
.box-60  { width: 60px; }
.box-80  { width: 80px; }
.box-100 { width: 100px; }
.box-150 { width: 150px; }
.box-200 { width: 200px; }
.box-300 { width: 300px; }

.duration-bar {
  margin-top: 6px;
  font-size: 13px;
}

.save-button {
  margin-top: 10px;
  padding: 6px 12px;
  font-size: 13px;
}
