/* Medregn padding og kant i elementernes størrelse */
.ncsc * {
  box-sizing: border-box;
}

/* Skjul elementer med hidden-attribut */
.ncsc [hidden] {
  display: none !important;
}

/* Formularens ydre afstande */
.ncsc .ncsc-form {
  margin: 0;
  padding: 0;
  border: 0;
}

/* Beholder til hvert inputfelt og dets label */
.ncsc .ncsc-field {
  min-width: 0;
  margin: 0;
  padding: 0;
}

/* Labels over inputfelterne */
.ncsc .ncsc-field > label {
  display: block;
  padding: 0;
  color: #777;
	font-size: 12px;
	margin: 0;
}

/* Referencepunkt for adresseforslagenes placering */
.ncsc .ncsc-address {
  position: relative;
}

/* Inputrækker: højde, indvendig afstand og understregning */
.ncsc .ncsc-search,
.ncsc .ncsc-value {
  width: 100%;
  height: 42px;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 2px solid #e2e2e2;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* Tekstfarve i adresse- og talfelter */
.ncsc .ncsc-search,
.ncsc .ncsc-value input {
  min-width: 0;
  color: #000;
  outline: none;
}

/* Placér tal og enhed ved siden af hinanden */
.ncsc .ncsc-value {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Selve talfelterne */
.ncsc .ncsc-value input {
  flex: 1;
  width: 0;
  height: 42px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* Enheder til højre: kWh/år, kWp, kWh og kW */
.ncsc .ncsc-value > span {
  flex: none;
  color: #a4a4a4;
  white-space: nowrap;
	font-size: 14px;
}

/* Blå understregning på det aktive inputfelt */
.ncsc .ncsc-search:focus,
.ncsc .ncsc-value:focus-within {
  border-bottom-color: #0059ff;
  outline: none;
}

/* Inputfelternes to kolonner og afstand mellem rækker */
.ncsc .ncsc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 28px;
  row-gap: 28px;
  margin-top: 28px;
}

/* Afstand over resultaterne og fælles resultatfarve */
.ncsc .ncsc-results {
  margin-top: 28px;
  color: #0059ff;
	font-size: 16px;
}

.ncsc .ncsc-income-line {
	font-size: 14px;

}

.ncsc .ncsc-income-line span {
	font-weight: 600;
}

/* Resultatrækker: tekst til venstre og pris til højre */
.ncsc .ncsc-income-line,
.ncsc .ncsc-income-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
			font-family: manrope;
	font-weight: 700;
}

/* Afstand mellem Solceller salg og Batteri salg */
.ncsc .ncsc-income-line + .ncsc-income-line {
  margin-top: 4px;
}

/* Alle resultatbeløb, inklusive I alt-prisen */
.ncsc output {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  white-space: nowrap;
}

/* I alt-rækken: skillelinje og afstand */
.ncsc .ncsc-income-total {
  margin-top: 12px;
  padding-top: 4px;
  border-top: 1px solid #cedcff;
	font-size: 32px;
}

.ncsc .ncsc-income-total span {
	font-size: 18px;
}

/* Skjul formularens tekniske adressefelter */
.ncsc input[type="hidden"] {
  display: none !important;
}

/* Skjul visuelt, men behold indhold til skærmlæsere */
.ncsc .ncsc-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Fejlbeskeder under beregneren */
.ncsc .ncsc-error {
  margin: 20px 0 0;
  color: #a52121;
}

/* Dropdown med adresseforslag */
.ncsc .ncsc-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  gap: 0;
  border: 1px solid #e2e2e2;
  background: #fff;
  box-shadow: 0 4px 10px #00000012;
}

/* Hvert enkelt adresseforslag */
.ncsc .ncsc-suggestions button {
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 12px;
  text-align: left;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #000;
  cursor: pointer;
}

/* Markeret adresseforslag og markering ved mus */
.ncsc .ncsc-suggestions button[aria-selected="true"],
.ncsc .ncsc-suggestions button:hover {
  background: #f3f6ff;
}

