/* Existing styles ... */

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #eef2f7;
  margin: 0;
  padding: 20px;
 
}

.container {
  max-width: 1000px;
  margin: auto;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  

}

h2 {
  text-align: center;
  color: #333;
  margin-bottom: 20px;
}

form {
  display: grid;
  gap: 20px;
  margin-bottom: 30px;
}

fieldset {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 15px 20px;
  background: #fafafa;
}

fieldset legend {
  font-weight: bold;
  color: #444;
}

label, input, select {
  display: block;
  margin: 8px 0;
  width: 100%;
  max-width: 300px;
}

button {
  padding: 10px 20px;
  font-size: 1rem;
  background-color: #1976d2;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #1565c0;
}

.day {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 10px;
  background: #fff;
  width: 100%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  font-size: 0.85em;
  text-align: center;
  transition: transform 0.2s;
}

.day:hover {
  transform: scale(1.02);
}

.inject {
  background-color: yellow !important;
}

.nand {
  background-color: #90caf9 !important;
}

.both {
  background-color: #a5d6a7 !important;
}

em {
  font-style: italic;
  color: #555;
}

.print-btn {
  /* display: block;*/ 
  margin: 20px auto;
  padding: 10px 20px;
  font-size: 1rem;
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.print-btn:hover {
  background-color: #388e3c;
}

.calendar-grid {
  border-collapse: collapse;
  width: 100%;
  max-width: 1000px;
  table-layout: fixed;
  font-size: 0.9rem;
}

.calendar-grid th,
.calendar-grid td {
  border: 1px solid #ccc;
  padding: 8px;
  width: 14.28%;
  height: 100px;
  vertical-align: top;
  text-align: left;
}

.calendar-grid th {
  background-color: #f5f5f5;
  text-align: center;
}

@media print {
  body * {
    visibility: hidden;
  }
  .calendar, .calendar * {
    visibility: visible;
  }
  .calendar {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
  }
}



