.sss-maternity-calculator {
  max-width: 600px;
  margin: auto;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  font-family: 'Segoe UI', sans-serif;
  color: #333;
  position: relative;
}

.dark-mode {
  background: #1e1e1e !important;
  color: #eee !important;
}

h2 {
  text-align: center;
  color: #F43676;
}

.form-group {
  margin-bottom: 15px;
}

label {
  display: block;
  margin-bottom: 5px;
}

input[type="date"],
input[type="number"],
select {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-bottom: 10px;
}

button {
  background-color: #F43676;
  color: white;
  border: none;
  padding: 10px 20px;
  margin: 5px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background-color: #c22c5e;
}

.form-actions {
  text-align: center;
}

.results {
  margin-top: 20px;
  background: #f9f9f9;
  padding: 15px;
  border-radius: 10px;
}

.dark-mode .results {
  background: #2c2c2c;
}

input[type="number"] {
  margin-bottom: 5px;
}

.tooltip-icon {
  cursor: pointer;
  color: #F43676;
  font-weight: bold;
  margin-left: 5px;
}

.tooltip {
  display: none;
  position: fixed;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  color: #333;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  z-index: 1000;
  max-width: 80%;
}

.tooltip button {
  background: #F43676;
  margin-top: 10px;
}

.dark-mode .tooltip {
  background: #333;
  color: #fff;
}