body {
  font-family: "Inter", system-ui, sans-serif;
  margin: 0;
  background: #f9fafc;
  color: #222;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 1rem;
}
.dark-mode {
  background-color: #111827;
  color: #f3f4f6;
}


.container {
  width: 100%;
  max-width: 700px;
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.container {
  width: 100%;
  max-width: 700px;
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 1.5rem auto;
  transition: background-color 0.3s, box-shadow 0.3s, color 0.3s;
}

/* 🌙 Dark mode version */
.dark-mode .container {
  background: #1f2937; /* deep neutral gray-blue */
  color: #f9fafb;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

h1 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

button {
  font-size: 1rem;
  padding: 10px 18px;
  margin: 0.4rem;
  border: none;
  border-radius: 8px;
  background-color: #2563eb;
  color: white;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

button:hover {
  background-color: #1e40af;
}

button:disabled {
  background-color: #9ca3af;
}

.month-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.month-btn {
  background-color: #64748b;
  font-size: 0.9rem;
}

.theme-btn {
  background-color: #2563eb;
  color: white;
  margin: 10px auto;
  display: block;
}

.theme-btn:hover {
  background-color: #1d4ed8;
}

.dark-mode .theme-btn {
  background-color: #374151;
  color: #f3f4f6;
}

.dark-mode .theme-btn:hover {
  background-color: #4b5563;
}

.date-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.date-controls input {
  font-size: 1rem;
  padding: 0.4rem;
  border-radius: 0.4rem;
  border: 1px solid #ccc;
}

/* Month buttons */
.month-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 12px 0;
}

.month-btn {
  background-color: #2563eb;
  color: white;
  font-weight: 600;
}

.month-btn:hover {
  background-color: #1d4ed8;
}

.dark-mode .month-btn {
  background-color: #4b5563;
}

.dark-mode .month-btn:hover {
  background-color: #6b7280;
}

.filter-section {
  margin: 1rem 0;
}

select {
  font-size: 1rem;
  padding: 0.4rem;
  border-radius: 0.4rem;
  border: 1px solid #ccc;
}

pre {
  background: #f3f4f6;
  padding: 1rem;
  border-radius: 0.6rem;
  overflow-x: auto;
  font-size: 0.9rem;
}

#output {
  background: #f9fafb;            /* light gray for readability */
  color: #111827;                 /* near-black text */
  padding: 1rem;
  border-radius: 0.5rem;
  font-family: monospace;
  font-size: 2rem;
  white-space: pre-wrap;
  margin-top: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

/* 🌙 Dark mode variant */
.dark-mode #output {
  background: #111827;            /* deep slate background */
  color: #e5e7eb;                 /* light gray text */
  border-color: rgba(255, 255, 255, 0.1);
}

/* Responsive: Larger UI on mobile */
@media (max-width: 786px) {
  body {
    padding: 0.5rem;
    font-size: 1.2rem;

  }
  .container {
    padding: 1rem;
  }
  h1 {
    font-size: 2.5rem;
  }
  button {
    font-size: 1.8rem;
    padding: 1.5rem;
    width: 100%;
    border-radius: 0.75rem;
  }
   
  select, 
  input[type="date"] {
    font-size: 2.5rem;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
  }
  pre {
    font-size: 1.5rem;
  }
  #controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  #controls label {
    display: block;
    margin-bottom: 0.3rem;
  }

  #controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  #monthControls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
  }

  #monthControls button {
    flex: 1;
    font-size: 1.4rem;
    padding: 1rem;
  }

  select#projectFilter {
    width: 100%;
  }
}

