.bks3d-wrapper {
  max-width: 960px;
  margin: 2rem auto;
  padding: 2rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fefefe;
  font-family: Arial, sans-serif;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.bks3d-wrapper h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #333;
}

#bks3d-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.bks3d-section {
  grid-column: 1 / -1;
  padding: 1rem;
  margin-top: 1.5rem;
  background-color: #f9f9f9;
  border-left: 4px solid #65B337;
  border-radius: 6px;
}

.bks3d-section h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: #65B337;
}

.bks3d-field {
  display: flex;
  flex-direction: column;
}

.bks3d-field label {
  display: flex;
  align-items: center;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #333;
}

.bks3d-field input {
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.bks3d-info {
  display: inline-block;
  margin-left: 0.5rem;
  font-size: 1rem;
  font-weight: bold;
  cursor: help;
  color: #65B337;
  border-bottom: 1px dotted #65B337;
  position: relative;
}

.bks3d-info::after {
  content: attr(data-title);
  position: absolute;
  bottom: 125%;
  left: 0;
  background: #333;
  color: #fff;
  padding: 0.5rem;
  border-radius: 4px;
  white-space: pre-line;
  width: max-content;
  max-width: 250px;
  font-size: 0.85rem;
  z-index: 10;
  display: none;
}

.bks3d-info:hover::after,
.bks3d-info:focus::after {
  display: block;
}

.bks3d-info::before {
  content: "?";
  display: inline-block;
  font-size: 0.85em;
  width: 1.2em;
  height: 1.2em;
  line-height: 1.2em;
  text-align: center;
  border-radius: 50%;
  background-color: #65B337;
  color: #fff;
  margin-right: 0.25em;
}

#bks3d-calculate,
#bks3d-download {
  grid-column: 1 / -1;
  display: block;
  width: 100%;
  padding: 0.75rem;
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: bold;
  color: white;
  background-color: #65B337;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
}

#bks3d-calculate:hover,
#bks3d-download:hover {
  background-color: #4b8c2a;
}

#bks3d-ergebnis {
  grid-column: 1 / -1;
  margin-top: 2rem;
  padding: 1rem;
  background-color: #f1f1f1;
  border-radius: 4px;
  font-size: 1rem;
  border-left: 4px solid #65B337;
}
