.ArbeitstageRechnerBacklinkBox {
  max-width: 728px;
  margin: auto;
  display: flex;
  justify-content: end;
  align-items: end;
  margin-top: 60px;
  gap: 10px;
}

.ArbeitstageRechnerBacklinkBox
  .ArbeitstageRechnerTooltip
  .ArbeitstageRechnerTooltiptext {
  width: 300px;
  bottom: auto !important;
  top: 100%;
  left: -63px;
}

.ArbeitstageRechnerBacklinkBox .ArbeitstageRechnerTooltip {
  background-color: #fff;
  border-radius: 5px 5px 0 0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.5s ease-in-out;
  padding: 1px 3px;
  opacity: 0.7;
  display: flex;
}

.ArbeitstageRechnerBacklinkBox
  .ArbeitstageRechnerTooltip
  .ArbeitstageRechnerInfoIcone {
  display: flex;
  width: 17px;
}

.ArbeitstageRechnerBacklinkBox .ArbeitstageRechnerTooltip:hover {
  opacity: 1;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.ArbeitstageRechnerBacklink {
  display: flex;
  align-items: start;
  gap: 5px;
  background-color: #fff;
  border-radius: 5px 5px 0 0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.5s ease-in-out;
  padding: 3px;
  margin-right: 10px;
  color: #7f7f7f;
  font-size: 11px;
  line-height: 13px;
}

.ArbeitstageRechnerBacklink:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.ArbeitstageRechnerBacklink > img {
  width: 11px;
  opacity: 0.5;
  transition: all 0.2s;
}
.ArbeitstageRechnerBacklink:hover > img {
  opacity: 1;
}

.ArbeitstageRechnerContainer {
  max-width: 728px;
  margin: 0px auto 60px auto;
  padding: 0 20px 0 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.5s ease-in-out;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.ArbeitstageRechnerLeftPart {
  width: 100%;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
}

.ArbeitstageRechnerRightPart {
  width: 80%;
  max-width: 520px;
  height: 70px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-top: 540px;
  border-radius: 12px;
  padding: 0 20px 0 20px;
  position: absolute;
}

.ArbeitstageRechnerRightPart > h4 {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 275;
  font-size: 22px;
  color: rgba(255, 255, 255, 0.7);
  margin-left: 10%;
}

.ArbeitstageRechnerTitle {
  font-family: inherit;
  font-style: normal;
  font-weight: 500;
  font-size: 28px;
  line-height: 33px;
  color: #000000;
  margin-top: 20px;
  text-align: center;
}

.ArbeitstageRechnerFormRow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 21px;
  position: relative;
}

.ArbeitstageRechnerLabel {
  flex: 1;
  margin-right: 10px;
  font-family: inherit;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: rgba(0, 0, 0, 0.88);
  margin-bottom: 5px;
}

.ArbeitstageRechnerInput {
  flex: 1;
  padding: 5px 10px !important;
  color: #333 !important;
  cursor: pointer;
  box-sizing: border-box;
  padding: 0px 16px;
  gap: 4px;
  width: 300px;
  height: 32px;
  border: 1px solid #d9d9d9 !important;
  border-radius: 8px;
  font-family: inherit;
}

.ArbeitstageRechnerRightPart > div img {
  position: relative;
  left: -31px;
  top: 3px;
  width: 100px;
  height: 111px;
}

.ArbeitstageRechnerButton {
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
  font-family: inherit;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 21px;
  color: #ffffff;
  width: 300px;
  height: 32px;
  background: #170b61;
  border-radius: 8px;
  margin-left: auto;
  margin-right: 25px;
  display: block;
  margin-bottom: 53px;
}

.ArbeitstageRechnerButton:hover {
  background-color: #12094d;
}

#ArbeitstageRechnerResult {
  width: 77%;
  font-family: inherit;
  font-style: normal;
  font-weight: 600;
  margin-top: -45px;
  hyphens: auto;
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 28px;
  color: #ffffff;
  margin: auto;
  margin-right: 0;
  margin-left: 0;
}

.ArbeitstageRechnerRightPart > img {
  width: 100%;
  height: auto;
  margin-top: -138px;
}

.ArbeitstageRechnerWorkDaysPerWeek {
  display: flex;
  justify-content: space-between;
  width: 300px;
  flex-wrap: wrap;
}

.ArbeitstageRechnerWorkDaysPerWeek input[type="checkbox"] {
  display: none !important;
}
.ArbeitstageRechnerWorkDaysPerWeek label {
  width: 35px;
  height: 35px;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 0;
  margin-right: 0;
}
.ArbeitstageRechnerWorkDaysPerWeek input[type="checkbox"]:checked + label {
  background-color: #170b61;
  color: white;
  border-color: #170b61;
}

.ArbeitstageRechnerTooltip {
  position: relative;
  display: inline-block;
  margin-left: 5px;
}

.ArbeitstageRechnerTooltip .ArbeitstageRechnerTooltiptext {
  visibility: hidden;
  width: 220px;
  background-color: #f9f9f9;
  color: #333;
  text-align: left;
  border-radius: 6px;
  padding: 10px;
  position: absolute;
  z-index: 1;
  bottom: 100%; /* Position above the text */
  left: -363%;
  margin-left: -110px; /* Center the ArbeitstageRechnerTooltip */
  opacity: 0;
  transition: opacity 0.3s;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  font-size: 14px;
  line-height: 18px;
  max-height: 120px;
  overflow: auto;
}

.ArbeitstageRechnerTooltiptext {
  --sb-track-color: #ffffff;
  --sb-thumb-color: #c1c1c1;
  --sb-size: 9px;
}

.ArbeitstageRechnerTooltiptext::-webkit-scrollbar {
  width: var(--sb-size);
}

.ArbeitstageRechnerTooltiptext::-webkit-scrollbar-track {
  background: var(--sb-track-color);
  border-radius: 4px;
}

.ArbeitstageRechnerTooltiptext::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 4px;
}

@supports not selector(::-webkit-scrollbar) {
  .ArbeitstageRechnerTooltiptext {
    scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);
  }
}

.ArbeitstageRechnerInfoIcone {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ArbeitstageRechnerTooltip:hover .ArbeitstageRechnerTooltiptext {
  visibility: visible;
  opacity: 1;
}
.ArbeitstageRechnerTooltip .info-icon {
  width: 16px;
  height: 16px;
  fill: #636363;
  cursor: pointer;
}

.ArbeitstageRechnerInputContainer {
  display: flex;
  align-items: center;
}

.ArbeitstageRechnerResultsBox {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  padding-right: 5%;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 886px) {
  .ArbeitstageRechnerRightPart {
    width: 70%;
  }
}

/******** width 640 ********/

.width640ArbeitstageRechnerContainer .ArbeitstageRechnerLeftPart {
  width: 80%;
}

.width640ArbeitstageRechnerContainer .ArbeitstageRechnerInputContainer,
.width640ArbeitstageRechnerContainer .ArbeitstageRechnerWorkDaysPerWeek {
  width: 100%;
}

.width640ArbeitstageRechnerContainer .ArbeitstageRechnerRightPart {
  margin-top: 700px;
}

.width640ArbeitstageRechnerContainer .ArbeitstageRechnerButton {
  width: 100%;
  margin-right: 0;
  margin-left: 0;
}

/******** width 530 ********/

.width530ArbeitstageRechnerContainer .ArbeitstageRechnerLeftPart {
  width: 90%;
}

.width530ArbeitstageRechnerContainer .ArbeitstageRechnerRightPart {
  width: 80%;
}

.width530ArbeitstageRechnerContainer .ArbeitstageRechnerResultsBox {
  margin-left: -23px;
  padding-right: 0;
}

/******** width 470 ********/

.width407ArbeitstageRechnerContainer .ArbeitstageRechnerLeftPart {
  width: 100%;
}

.width407ArbeitstageRechnerContainer .ArbeitstageRechnerRightPart {
  margin-top: 690px;
  height: 76px;
}

.width407ArbeitstageRechnerContainer
  .ArbeitstageRechnerRightPart
  > div:first-of-type {
  display: none;
}

.width407ArbeitstageRechnerContainer .ArbeitstageRechnerResultsBox {
  margin-left: 0;
  justify-content: space-around;
}

.width407ArbeitstageRechnerContainer #ArbeitstageRechnerResult {
  width: 100%;
}

.width407ArbeitstageRechnerContainer .ArbeitstageRechnerTitle {
  font-size: 24px;
}

.width407ArbeitstageRechnerContainer .ArbeitstageRechnerWorkDaysPerWeek label {
  width: 31px;
  height: 31px;
  font-size: 16px;
}
