.partial-fraction-tool {
  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;
}

.dark-mode {
  background: #1e1e1e !important;
  color: #eee !important;
}

h2 {
  text-align: center;
  color: #F43676;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

input {
  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;
  padding: 10px;
  background-color: #f9f9f9;
  border-radius: 8px;
  min-height: 60px;
}

.tooltip-icon {
  color: #F43676;
  margin-left: 5px;
  cursor: pointer;
  font-size: 14px;
}

.tooltip-text {
  display: none;
  background-color: #f1f1f1;
  color: #333;
  padding: 10px;
  border-radius: 8px;
  margin-top: 5px;
  font-size: 14px;
}