.button {
	font-family: inherit;
	font-weight: bold;
	font-size: 18px;
	color: inherit;
	width: 100%;
	max-width: 420px;
	height: 50px;
	border: 0;
	border-radius: 6px;
	background-color: #f4d477;
	text-align: left;
	padding: 10px;
	margin: 5px 0px;
	cursor: pointer;
	}
	
.button:hover {
	text-decoration: none;
	}

.input-large,
.input-medium,
.input-textbox {
	width: 100%;
	padding: 10px;
	margin: 5px 0;
	border: 1px solid #DDD;
}

.input-medium {
	max-width: 420px;
}

.input-textbox {
	height: 150px;
	vertical-align: top;
}
	
.input-large:focus,
.input-medium:focus,
.input-textbox:focus {
	outline: 0;
	border-color: #f6d670;
	}
	
input#kenteken {
  pointer-events: none;
  opacity: 0.5; }
	
.module-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.module-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 180px;
  height: 180px;
  padding: 10px;
  border: 3px solid #6c7e8f;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  box-sizing: border-box;
  text-align: center;
  transition: border-color 0.3s;
}

.module-icons {
  position: absolute;
  top: 5px;
  right: 5px;
  display: flex;
  gap: 5px;
}

.module-icons img {
  width: 25px;
  height: 25px;
}

.image-wrapper {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-wrapper img {
  max-height: 70px;
  max-width: 90%;
  object-fit: contain;
}

.module-name {
  margin-top: auto;
  font-weight: bold;
  min-height: 1.2em;
}

.module-price {
  font-size: 1.2em;
  margin-top: 4px;
  font-weight: bold;
}

.module-subtext {
  font-size: 0.75em;
}

.module-card input[type="checkbox"] {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
}

.module-card:has(input[type="checkbox"]:checked),
.module-card.active {
  background-color: #f6d670;
  border-color: #e6b800;
}

.tooltip-container {
  position: relative;
  display: inline-block;
}

.tooltip-text {
  visibility: hidden;
  opacity: 0;
  background-color: #f6d670;
  color: #445a72;
  text-align: center;
  padding: 6px 10px;
  border-radius: 4px;
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.3s;
  white-space: nowrap;
  z-index: 1000;
}

.tooltip-container:hover .tooltip-text,
.tooltip-container.show-tooltip .tooltip-text {
  visibility: visible;
  opacity: 1;
}

@media (max-width: 409px) {
  .module-card {
    width: 162px;
    height: 162px;
    padding: 9px;
  }
  
  .module-icons {
    top: 2px;
    right: 2px;
    gap: 2px;
  }

  .module-icons img {
    width: 23px;
    height: 23px;
  }

  .image-wrapper {
    height: 72px;
  }

  .image-wrapper img {
    max-height: 63px;
  }

  .module-name {
    font-size: 0.9em;
    min-height: 1.08em;
  }

  .module-price {
    font-size: 1.08em;
  }

  .module-subtext {
    font-size: 0.675em;
  }
}

@media (max-width: 369px) {
  .module-card {
    width: 144px;
    height: 144px;
    padding: 8px;
  }
  
  .module-icons img {
    width: 20px;
    height: 20px;
  }

  .image-wrapper {
    height: 64px;
  }

  .image-wrapper img {
    max-height: 56px;
  }

  .module-name {
    font-size: 0.79em;
    min-height: 0.96em;
  }

  .module-price {
    font-size: 0.96em;
  }

  .module-subtext {
    font-size: 0.6em;
  }
}

.totaalbalk {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #f6d670;
  padding: 15px 0px;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
  z-index: 1000;
}

.totaalbedragen {
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  text-align: left;
}

.totaalbedragen .jaarlijks {
  font-size: 1.5em;
  font-weight: bold;
}

.totaalbedragen .eenmalig {
  font-size: 1em;
  font-weight: bolder; 
}


@media (min-width: 768px) {
  .totaalbedragen {
      width: 750px;
  }
}

@media (min-width: 992px) {
  .totaalbedragen {
      width: 970px;
  }
}

@media (min-width: 1200px) {
  .totaalbedragen {
      width: 1170px;
  }
}

.banner {
    background-color: #f6d670;
    font-weight: bold;
    border-radius: 8px;
    padding: 0.25em 0.5em;
    margin: 0;
	display: inline-block;
}