.card-action {
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid #e3e6f0;
}

/* Custom checkbox */
input[type="checkbox"],
input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  margin: 0;
  font: inherit;
  color: var(--blue);
  width: 1.5em;
  height: 1.5em;
  border: 0.15em solid var(--blue);
  border-radius: 6px;
  transform: translateY(-0.075em);
  display: grid;
  place-content: center;
  cursor: pointer;
}
input[type="radio"] {
  border-radius: 50%;
}
input[type="checkbox"]::before,
input[type="radio"]::before {
  content: "";
  width: 0.8em;
  height: 0.8em;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em #fff;
  background-color: CanvasText;
  transform-origin: bottom left;
  background-color: #fff;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
input[type="checkbox"]:checked,
input[type="radio"]:checked {
  background-color: var(--blue);
}
input[type="checkbox"]:checked::before,
input[type="radio"]:checked::before {
  transform: scale(1);
}
input[type="checkbox"]:focus,
input[type="radio"]:focus {
  outline: none;
}
.form-check {
  display: grid;
  align-items: center;
}
.form-check label {
  margin-left: 12px;
}
.form-check + .form-check {
  margin-top: 1em;
}

/* Sertificate  */
#certificate-preview-wrapper {
  width: 50%;
}
#certificate-overlay-wrapper {
  position: relative;
}
#certificate-overlay-wrapper > p {
  color: #fff;
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#certificate-overlay-wrapper:hover > p {
  display: block;
}
#certificate-overlay {
  transition: 0.5s all ease;
}
#certificate-preview-wrapper:hover #certificate-overlay {
  filter: brightness(50%);
}
#certificate-preview {
  width: 80%;
  display: block;
  margin: 0 auto;
}
#certificate-preview-modal {
  width: 100%;
  height: 80vh;
}
#certificate-not-found {
  width: 250px;
  height: 250px;
}
#certificate-spinner {
  z-index: 100;
  top: calc(50% - (2rem / 2));
  left: calc(50% - (2rem / 2));
}
#certifPreview {
  width: 500px;
}

/* Password toggle */
.password-toggle {
  background: transparent;
  border: 0;
  border-radius: 0.25em;
  color: #888;
  cursor: pointer;
  font-size: 1em;
  font-weight: bold;
  margin-right: 0.5em;
  padding: 0.5em;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
}
.password-toggle:focus,
.password-toggle:hover {
  color: #555;
  outline: transparent;
}

#ttdKetuaPeriodePreview {
  height: 200px;
}

.height-100 {
  min-height: 100vh;
}

@media only screen and (max-width: 600px) {
  #certificate-preview-wrapper {
    width: 100%;
  }
  #certificate-preview {
    width: 100%;
  }
  #certificate-preview-modal {
    width: 100%;
    height: 50vh;
  }
}
