#greenid-container #greenid-demo .btn-default {
  color: #2b2b2b;
  padding: 15px;
  font-size: 17px;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  margin-top: 8px;
}

@media (max-width: 700px) {
  #greenid-container #greenid-demo .btn-default {
    width: 100%;
  }
}

#greenid-container #greenid-demo .btn-primary {
  color: white;
}

#greenid-results-div {
  padding: 35px 30px 30px;
}

#greenid-results-div h1 {
  font-family: "HelveticaNeue-Thin", "HelveticaNeueLTStd-Th", sans-serif;
  font-weight: normal;
  font-size: 35px;
  line-height: 1.1;
  margin-top: 0;
}

#greenid-results-div p {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #333333;
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: normal;
  line-height: 1.4;
}

#greenid-results-div div {
  padding: 6px;
  margin: 6px;
}

body,
.greenid-so-content,
#greenid-container,
.light-inner-provider-container {
  background-color: #16022a !important;
  color: white !important;
}

* {
  font-family: -apple-system, BlinkMacSystemFont, sans-serif !important;
}

p,
li {
  font-weight: 300 !important;
}

/* ID Pulse styles */

.greenid-so-content #greenid-container .btn-next {
  background-color: #2b2b2b;
}

.greenid-so-content #greenid-container .greenid-so-content-dropcap {
  color: #16022a;
  background-color: #ff8098 !important;
  border-radius: 20px;
  width: 28px;
  height: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.greenid-so-content #greenid-container h1 {
  color: #ffffff;
  font-weight: bold;
  font-size: 30px !important;
}

.help-button-container.show-mobile {
  display: none !important;
}

.greenid-so-content #greenid-container .btn-cancel,
.btn.btn-complete-later {
  background-image: none !important;
  font-weight: 400 !important;
}

#greenid-container .collapse {
  display: block;
}

h1,
.greenid-so-content-dropcap,
button {
  font-weight: 400 !important;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif !important;
}

.greenid-so-content-select-item.greenid-so-content-select-item-state {
  font-weight: 600 !important;
}

.greenid-so-content .greenid-so-content-select-item {
  background-color: rgba(86, 62, 66, 0.49) !important;
  color: white !important;
  border: 0px !important;
}

h1,
greenid-so-content-dropcap {
  color: #ffffff !important;
}

.btn.btn-primary,
.button.button--primary.button-full-xs,
.button.button--primary.camera-button {
  background-color: #ff8098 !important;
  border-radius: 32px !important;
  background-image: none !important;
  color: #16022a !important;
  font-weight: 500 !important;
  padding: 12px 24px !important;
  border: 2px solid #ff8098 !important;

  &::first-letter {
    text-transform: uppercase !important;
  }
}

.btn-default {
  border: 2px solid #ff8098 !important;
  border-radius: 32px !important;
  color: #ff8098 !important;
  padding: 12px 24px !important;
}

.greenid-modal-close {
  text-shadow: none !important;
}

.button.button--primary.camera-button {
  text-transform: initial !important;
}

.greenid-so-content-select-item-name {
  text-transform: none !important;
}

.button {
  &::first-letter {
    text-transform: uppercase !important;
  }
}

.btn::first-letter,
.button::first-letter,
.btn.btn-primary::first-letter,
.button.button--primary.button-full-xs::first-letter,
.greenid-so-content-select-item-name::first-letter {
  /* text-transform: uppercase !important; */
}

.greenid-so-content-dropcap {
  font-size: 17px !important;
  top: -2px !important;
}

.btn.btn-cancel,
.btn.btn-back,
.preview-info-main-text {
  color: #ff8098 !important;
  background-color: initial !important;
  font-weight: 500 !important;
}

.btn.btn-back {
  margin-left: 0px !important;
  background-image: url("back.svg") !important;
  font-size: 0px !important;
  width: 26px;
  height: 26px;
  background-size: contain !important;
}

.greenid-so-content-select-container .greenid-so-content-select-item {
  border-radius: 8px !important;
}

.greenid-so-content-select-item.greenid-so-content-select-item-state {
  background-color: initial !important;
  border: 0px !important;
  color: #ff8098 !important;
}

#greenid-so-content-select-item-3 {
  display: none !important;
}

#greenid-so-content-select-item-1 {
  margin-bottom: 18px !important;

  &:before {
    content: "\f078";
    right: 24px;
  }

  &:after {
    content: "\f1b9";
  }
}

#greenid-so-content-select-item-2 {
  &:before {
    content: "\f054";
    right: 26px;
  }

  &:after {
    content: "\f0ac";
  }
}

#greenid-so-content-select-item-1,
#greenid-so-content-select-item-2 {
  background-image: none !important;
  padding-left: 60px !important;

  &:after,
  &:before {
    font-family: "Font Awesome 6 Free";
    display: inline-block;
    font-weight: 900;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  &:after {
    display: inline-block;
    padding: 3px;
    font-weight: 900;
    color: #16022a;
    background-color: #ff8098;
    width: 28px;
    height: 28px;
    border-radius: 14px;
    left: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  &:has(+ #greenid-so-content-select-state-1) {
    border-bottom: 0px !important;
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;

    &:before {
      content: "\f077";
    }
  }
}

.greenid-modal .modal-content.centerText {
  top: initial;
  left: initial;
  transform: initial;
}

.greenid-modal .modal-content,
.greenid-so-content #greenid-container .greenid-modal .btn-default,
.greenid-so-content
  #greenid-container
  #greenid-source-content
  #greenid-source-cancel.btn-default,
div#greenid-wait-modal {
  background-color: #16022a !important;
}

#greenid-so-content-select-item-1,
#greenid-so-content-select-item-3,
#greenid-so-content-select-item-2 {
  background-color: 16022a !important;
  position: relative;
}

.greenid-modal .modal-header {
  border-bottom: 0px !important;
}

.greenid-modal .modal-footer {
  border-top: 0px !important;
}

.button.button--secondary.button-full-xs {
  color: #ff8098 !important;
  font-weight: 500 !important;
  background-color: initial !important;
}

#greenid-biometric-content
  .greenid-so-content
  #greenid-container
  #webscanRoot
  .button.button--secondary {
  border: 0px !important;
}

#greenid-modal-text {
  font-size: 16px !important;
}

.modal-content,
.modal-body {
  width: 100% !important;
}

.modal-content {
  border-radius: 8px !important;
  border-width: 0px !important;
}

#greenid-modal-text,
#greenid-modal-text span {
  display: block !important;
  color: white !important;
}

.preview-info-main-text {
  margin-bottom: 24px;
}

#greenid-container > div:last-child {
  height: calc(100vh - 104px);
  margin-bottom: 0px !important;
  display: flex;
  flex-direction: column;
}

#greenid-container {
  margin-bottom: 0px !important;
}

#greenid-so-process-overview-button {
  margin-top: auto !important;
}

.greenid-so-content-nav {
  margin-top: 0px !important;
  margin-bottom: 32px !important;
}

#greenid-so-content-select-state-1 {
  border-top: 0px !important;
  border-radius: 8px !important;
  border-top-right-radius: 0px !important;
  border-top-left-radius: 0px !important;
  margin-top: -18px !important;
  background-color: rgba(86, 62, 66, 0.49) !important;
  border: 0px !important;
  padding-bottom: 19px !important;
}

#greenid-so-content-select-state-1 .greenid-so-content-select-item {
  margin-bottom: 0px !important;
  padding-bottom: 8px !important;
  padding-top: 8px !important;
  color: #ffffff !important;
  border-radius: 32px !important;
}

.help-button-container svg {
  display: none;
}

#greenid-biometric-content [wsdk-container] .help-button-container {
  align-items: center !important;
}

#greenid-biometric-content [wsdk-container] .camera-viewfinder--overlay {
  background-color: initial !important;
}

#greenid-biometric-content div[data-jcs-element="camera__manual__capture"] {
  display: flex !important;
  align-items: center !important;

  & .control--switch.manual--mode--switch {
    margin-bottom: 5px !important;
  }
}

#greenid-biometric-content
  div[data-jcs-element="camera__manual__capture"][style="display: none;"] {
  display: none !important;
}

.control.control--switch.manual--mode--switch {
  display: block;
}

#greenid-biometric-content
  [wsdk-container]
  .control--switch.manual--mode--switch
  > .control__switch {
  border-color: #ff8098;
}

#greenid-biometric-content
  [wsdk-container]
  .control--switch.manual--mode--switch
  > .control__switch::after {
  background-color: #ff8098 !important;
}

div[data-jcs-element="smart__capture__open__help"] {
  display: none !important;
}

div[data-jcs-element="smart__capture__open__help"][style="display: none;"] {
  display: none !important;
}

.control.control--switch.manual--mode--switch {
  display: block !important;
}

.action-caption {
  color: white !important;
  margin: 0px !important;
}

form[data-jcs-element="camera__capture__hint"] {
  visibility: hidden !important;
  position: absolute !important;
}

.dark-inner-provider-container {
  padding: 0px !important;
}

#greenid-biometric-content [wsdk-container] .dark-inner-provider-container {
  background-color: initial !important;
}

.camera-conditions--container-detail-description-hint,
p[data-jcs-element="info__journey__action__text"] {
  color: white !important;
}

#greenid-biometric-content [wsdk-container] .camera-viewfinder--container,
#greenid-biometric-content
  [wsdk-container]
  .camera-viewfinder--inner-container {
  border-color: black !important;
  background-color: black !important;
}

.camera-viewfinder--container {
  margin-left: -38px !important;
  margin-right: -38px !important;
  border-radius: 0px !important;
}

#greenid-biometric-content [wsdk-container] .camera-capture--container {
  border-color: #ff8098 !important;
  width: 68px !important;
  height: 68px !important;
  border-radius: 50%;
  border-width: 2px !important;
}

.camera-capture--button {
  background-color: #ff8098 !important;
  width: 58px !important;
  height: 58px !important;
  margin: 3px !important;
}

div[data-jcs-element="camera__manual__capture__inner"] {
  display: flex;
  flex-direction: column !important;
  margin-right: auto !important;
  justify-content: flex-start;
  align-items: flex-start !important;
}

body {
  margin: 0px;
}

.greenid-so-content {
  padding: 32px !important;
}

.camera-conditions--container-detail {
  display: flex;
  align-items: center;
  padding: 0px !important;
}

#greenid-biometric-content
  .greenid-so-content
  #greenid-container
  #webscanRoot
  .camera-viewfinder {
  margin: 8px auto 8px auto !important;
}

.modal-body:has(.greenid-loader-container) {
  background-color: #16022a !important;
  height: 100vh;
  width: 100% !important;
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0px !important;
}

.greenid-loader-container,
img {
  display: none;
}

.greenid-loader-container {
  width: 38px !important;
  height: 38px !important;
  border: 4px solid white;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
  margin-bottom: 16px !important;
  background-image: none !important;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

#greenid-biometric-content .image-preview-container {
  background-color: transparent !important;
}

#greenid-biometric-content #webscanRoot .preview-info-main-text,
#greenid-biometric-content #webscanRoot .preview-info-example-text,
#greenid-biometric-content #webscanRoot .preview-description,
#greenid-biometric-content #webscanRoot .preview-label,
#greenid-biometric-content #webscanRoot .preview-info-title,
#greenid-biometric-content
  .greenid-so-content
  #greenid-container
  #webscanRoot
  p.guidance-info-text,
#greenid-biometric-content [wsdk-container] .quality-issues-guidance {
  color: #ebeaee !important;
}

#greenid-biometric-content
  .greenid-so-content
  #greenid-container
  #webscanRoot
  p.guidance-info-text {
  display: none !important;
}

#greenid-biometric-content
  .greenid-so-content
  #greenid-container
  #webscanRoot
  div[data-jcs-element="identity__document__triple__scan__guidance"]
  h2,
.greenid-alert.greenid-alert-visible.greenid-alert-failed {
  background-image: url("alert.svg") !important;
  padding: 24px !important;
  min-height: initial !important;
  background-color: #272036 !important;
  border: 0px !important;
  color: white !important;
  padding-left: 60px !important;
  background-size: 24px !important;
  background-position-x: 20px !important;
  background-position-y: 21px !important;

  & strong {
    font-weight: 500 !important;
  }
}

#greenid-biometric-content
  .greenid-so-content
  #greenid-container
  #webscanRoot
  .notification-orange {
  background-color: initial !important;
  border: 0px !important;
  padding-left: 0px !important;
  padding-right: 0px !important;

  & div {
    width: 100% !important;
  }

  & svg {
    display: none !important;
  }
}

#greenid-biometric-content [wsdk-container] .notification-blue {
  background-color: initial !important;
  margin-top: 16px !important;
  border: 0px !important;
  padding-top: 0px !important;
  padding-bottom: 0px !important;
  color: white !important;
}

.camera-capture--caption {
  color: white !important;
}

.greenid-so-content #greenid-container label {
  text-transform: none !important;
  color: #ebeaee !important;

  span {
    color: #ebeaee;
  }
}

#greenid-so-confirm-details-button {
  margin-bottom: 24px !important;
}

.greenid-so-content input.form-control {
  border-top-left-radius: 8px !important;
  border-bottom-left-radius: 8px !important;
  background-color: white !important;
}

.greenid-so-content .input-group-btn .btn {
  pointer-events: none;
  border-top-right-radius: 8px !important;
  border-bottom-right-radius: 8px !important;
  background-color: white !important;

  & .glyphicon {
    display: none;
  }
}

.greenid-datepicker {
  background-color: white !important;
  border-top-right-radius: 8px !important;
  border-bottom-right-radius: 8px !important;
}

.greenid-so-content #greenid-container .input-group.clear input {
  box-shadow: none !important;
}
.greenid-so-content #greenid-container .input-group.clear textarea {
  box-shadow: none !important;
  border-radius: 5px !important;
}

#greenid-container .input-group.clear textarea::placeholder {
  opacity: 0 !important;
}

#greenid-container .input-group.clear span.input-group-btn {
  display: none !important;
}

#error-secondaryDocumentNumber,
#error-surname,
#error-documentNumber,
#error-documentExpiryDate,
#error-givenNames,
#error-dob {
  margin-top: 8px !important;
  display: block !important;
  color: #fca5a5 !important;
}

.greenid-datepicker .glyphicon {
  &::before {
    content: "\f073" !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 300 !important;
    color: #16022a !important;
    font-size: 20px !important;
  }
}

.greenid-datepicker-container.datepicker table tr td,
.greenid-datepicker-container.datepicker table tr th {
  color: black;
}

.greenid-so-content-agree-item input {
  accent-color: #ff8098 !important;
  width: 20px !important;
  height: 20px !important;
}

.greenid-so-content-agree > a {
  color: #ff8098 !important;
}

.greenid-so-content-agree > a:visited {
  color: #ff8098 !important;
}

.input-group.date .input-group-btn {
  display: none !important;
}

#greenid-cancel-modal .modal-dialog .modal,
#greenid-complete-modal .modal-dialog .modal {
  top: 50%;
  transform: translateY(-50%);
  margin: 24px !important;

  & .btn-default {
    border-color: #ff8098 !important;
    border-radius: 32px !important;
    border-width: 2px !important;
    background-image: none !important;
    color: #ff8098 !important;
    font-weight: 500 !important;
    padding: 12px 24px !important;
  }
}

.modal-title {
  color: #ff8098 !important;
}

.greenid-modal-close.greenid-x {
  opacity: 1 !important;
  color: #ff8098 !important;
  padding-left: 8px !important;
}

.greenid-modal button.greenid-modal-close.greenid-x {
  font-family: math !important;
  font-size: 34px !important;
}

#greenid-cancel-modal.greenid-modal .modal-header .modal-title {
  font-size: 24px !important;
}

html {
  background-color: #16022a;
}

#greenid-biometric-content [wsdk-container] .camera-options--container::before {
  color: #ebeaee;
  font-size: 14px;
  margin-bottom: 8px;
  display: block;
  margin-top: -14px !important;
}

#greenid-biometric-content [wsdk-container] .control,
#greenid-biometric-content [wsdk-container] .control--select {
  background-color: white;
  color: black;
  border-color: #c8c6ce;
  border-radius: 8px;
  margin-bottom: 24px !important;
  padding-right: 16px !important;
  padding-left: 16px !important;
}

#greenid-biometric-content [wsdk-container] .help-inner-container {
  border: 0px !important;
  border-radius: 8px !important;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px !important;
  padding: 24px !important;
  z-index: 2;
  display: flex;
  flex-direction: column;

  & h2 {
    color: #ff8098 !important;
  }

  & .help-text {
    padding-top: 8px !important;

    & p {
      margin-top: 0px !important;
      font-size: 16px !important;
    }

    & b {
      font-size: 18px;
      margin-top: 0pxpx !important;
    }
  }

  & b {
    color: #ebeaee;
    font-size: 22px;
    margin-top: 32px !important;
    display: block;
  }

  & .modal-footer.modal-actions-container {
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
  }
}

#greenid-biometric-content .modal-footer .help-button-container {
  min-width: 160px !important;
  background-color: #ff8098 !important;
  display: flex !important;
  justify-content: center;
  align-items: center !important;
  padding: 12px 24px !important;
  border-radius: 32px !important;

  & p {
    color: white !important;
    font-weight: bold !important;
  }
}

#greenid-biometric-content .actions-container {
  margin-top: 16px !important;
}

.image-preview--container.image-preview-container {
  border: 0px !important;
}

#greenid-biometric-content .preview-title-container {
  margin-top: -24px !important;
}

.greenid-so-content #greenid-container .greenid-so-content-dropcap-listitem {
  padding-left: 8px !important;
}

.greenid-so-content-dropcap-container {
  margin-top: 24px !important;
}

button[data-jcs-element="triple__scan__retry__button"] {
  text-transform: initial !important;
}

#greenid-so-process-overview-button {
  text-transform: lowercase !important;

  &::first-letter {
    text-transform: uppercase !important;
  }
}

#greenid-biometric-content
  [wsdk-container]
  .control--switch.manual--mode--switch
  > input:checked
  + .control__switch {
  background-color: #16022a !important;
}

.provider-container .item {
  display: flex;
  justify-content: flex-end;
  align-items: center;

  & .help-button-container {
    display: none !important;
  }
}

#greenid-biometric-content [wsdk-container] .help-button-container {
  align-self: center !important;
}

#greenid-biometric-content
  .greenid-so-content
  #greenid-container
  #webscanRoot
  .button {
  text-transform: initial !important;
}

div[data-jcs-element="preview__page__open__info__id"] {
  display: none !important;
}

.control.control--switch.manual--mode--switch {
  margin-left: -16px !important;
}

.btn.btn-complete-later {
  color: #ff8098 !important;
  background-color: initial !important;
  font-weight: 400 !important;
  background-image: none !important;
}
