body {
    font-family: sans-serif;
    background-color: #f5f5f5;
    color: #333;
    margin: 0;
    padding: 0;
  }
  
  /* Header and Nav both in green */
  header, nav {
    background: #014923;
    color: #fff;
  }
  
  /* Center the header text */
  header {
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  /* Nav container in green, centered content */
  #nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem;
  }
  
  /* Date/Time and Calendar in the nav, near center */
  #nav-datetime,
  #nav-calendar {
    text-align: center;
  }
  
  /* Bold, slightly larger date/time */
  #nav-datetime #current-datetime {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  
  /* Month title above the calendar */
  #nav-calendar #month {
    margin-bottom: 0.5rem;
    font-weight: bold;
  }
  
  /* Calendar layout */
  #calendar {
    display: inline-grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
  }
  
  /* Each day cell */
  #calendar div {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    color: #333;
    cursor: pointer;
    position: relative;
  }
  
  /* Marked days use a clean green check emoji */
  #calendar div.marked::after {
    content: "✅";
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 1rem;
  }
  
  /* Main content layout */
  main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 2rem;
    padding: 2rem;
  }
  
  section {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
  
  /* Weekly Planner */
  .days {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
  }
  
  .day {
    flex: 1;
    min-width: 100px;
    background: #eee;
    padding: 0.5rem;
    border-radius: 6px;
  }
  
  .day h3 {
    margin: 0;
  }
  
  /* Task Lists, Idea Lists, Log Lists */
  .task-list,
  #task-pool,
  #idea-list,
  #log-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
  }
  
  .task-list li,
  #task-pool li,
  #idea-list li,
  #log-list li {
    background: #ddd;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    border-radius: 4px;
    cursor: grab;
    position: relative;
    padding-right: 30px; /* room for close button */
  }
  
/* Close button: small, fixed size at far right, visible on hover only */
.task-list li button,
#task-pool li button,
#idea-list li button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 5px;
  width: 16px;
  height: 16px;
  line-height: 16px;
  text-align: center;
  background: transparent;
  border: none;
  font-size: 0.75rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 10;
}

.task-list li:hover button,
#task-pool li:hover button,
#idea-list li:hover button {
  opacity: 1;
}

  
  /* Inputs & Buttons */
  input,
  textarea,
  button {
    margin-top: 0.5rem;
    width: 100%;
    padding: 0.5rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  button {
    background-color: #009a49;
    color: white;
    cursor: pointer;
  }
  
  /* Focus Frame Timer */
  #timer {
    font-size: 2.5rem;
    margin: 1rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #009a49;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    background: #fff;
  }
  