/* style.css */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-color: #f5f5f5;
}
header {
  background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
  color: white;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
header h1 {
  margin: 0;
  font-size: 2.5rem;
}
section {
  padding: 1rem;
}
#input-section {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.form-group {
  margin-bottom: 20px;
}
form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 15px;
}
form input, form select {
  width: 100%;
  padding: 12px;
  margin-top: 0.25rem;
  box-sizing: border-box;
  border: 2px solid #e0e0e0;
  border-radius: 5px;
  font-size: 14px;
  transition: border-color 0.3s;
}
form input:focus, form select:focus {
  outline: none;
  border-color: #4caf50;
}
form input::placeholder {
  color: #999;
  font-style: italic;
}
/* Range slider styling */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  background: linear-gradient(to right, #ffeb3b 0%, #ffc107 25%, #ff9800 50%, #66bb6a 75%, #4caf50 100%);
  border-radius: 5px;
  outline: none;
  padding: 0;
  border: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  background: white;
  border: 3px solid #4caf50;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}
input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}
input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: white;
  border: 3px solid #4caf50;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}
input[type="range"]::-moz-range-thumb:hover {
  transform: scale(1.2);
}
form button {
  margin-top: 1.5rem;
  padding: 14px 2rem;
  background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  border-radius: 5px;
  width: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}
form button:active {
  transform: translateY(0);
}
/* Tooltip styles */
.tooltip {
  cursor: help;
  display: inline-block;
  margin-left: 5px;
  font-size: 14px;
  color: #2196f3;
  background: #e3f2fd;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  text-align: center;
  line-height: 18px;
  font-weight: bold;
  transition: background-color 0.2s;
}
.tooltip:hover {
  background: #2196f3;
  color: white;
}
#plan-section {
  max-width: 1400px;
  margin: 20px auto;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
#plan-section h2 {
  color: #2e7d32;
  margin-top: 0;
  padding-bottom: 10px;
  border-bottom: 3px solid #4caf50;
}
#plan-details {
  margin-top: 1rem;
}
#plan-details h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #2e7d32;
  border-bottom: 2px solid #4caf50;
  padding-bottom: 0.5rem;
  font-size: 1.4rem;
}
#plan-details table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}
#plan-details th, #plan-details td {
  border: 1px solid #ddd;
  padding: 0.5rem;
  text-align: left;
}
#plan-details th {
  background: #f2f2f2;
  font-weight: bold;
}
#garden-plot {
  margin: 1rem 0;
}
#gantt-chart {
  margin: 1rem 0;
}
#gantt-chart table {
  border-collapse: collapse;
}
#gantt-chart th {
  background: #4caf50;
  color: white;
  padding: 8px;
  text-align: center;
}
#gantt-chart td {
  text-align: center;
  min-width: 40px;
}
#download-pdf {
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: #2196f3;
  color: white;
  border: none;
  cursor: pointer;
}
#download-pdf:hover {
  background: #1e88e5;
}
