/*
@font-face { 
  font-family: 'Roboto';
  src: url('fonts/Roboto-Regular.woff2') format('woff2'), 
       url('fonts/Roboto-Regular.woff') format('woff'); 
  font-weight: 400;
  font-style: normal;
}
 
@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto-Bold.woff2') format('woff2'),
       url('fonts/Roboto-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}
*/

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

body, .tantum-modal-wrapper {
  font-family: 'Roboto', sans-serif;
}
.overlay:before {
  content: "";
  background: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.opened:before {
  display: block;
}

.hidden {
  display: none;
}

.tantum-modal-wrapper {
  z-index: 1000;
  display: flex;
  justify-content: center;
  width: 100vw;
  height: 100vh;
}
.opened .tantum-modal-dialog {
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
  top: 20%;
  display: block;
}
.tantum-modal-dialog {
  background: #F6F7F9;
  border: #333333 solid 0px;
  border-radius: 10px;
  text-align:left;
  position: fixed;
  z-index: 11;
  width: 880px;
  box-shadow:15px rgba(0,0,0,0.3);
  -webkit-transform: translate(0, -500%);
  -ms-transform: translate(0, -500%);
  transform: translate(0, -500%);
  -webkit-transition: -webkit-transform 0.3s ease-out;
  -moz-transition: -moz-transform 0.3s ease-out;
  -o-transition: -o-transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
  border: 1px solid #004c91;
  pointer-events: auto !important;
  display: none;
}
.tantum-modal-header,
.tantum-modal-footer {
  padding: 20px 30px 20px 20px;
}
.tantum-modal-body {
  padding: 15px 60px 0px 60px;
}
.tantum-modal-body-confirm {
  padding: 20px 60px 60px 60px;
  text-align:center;
}

.tantum-modal-body-confirm img {
  margin: 0 auto;
}

.tantum-modal-body-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.tantum-qr-wrapper{
  width: 40%;
}
.usage-qr {
  width: 60%;
}
.usage-qr .title {
  font-size: 1.5rem;
  color: #2C3A45;
  text-align: start;
  font-weight: bold;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tantum-modal-header {
  display: flex;
  justify-content: space-between;
}
.tantum-logo {
  width: 9.375rem; 
}
.close-btn {
  width: 1.875rem;
  height: 1.875rem;
}
.uk-flag {
  width: 1.875rem;
  height: 1.875rem;
}
.trade-mark {
  font-size: .75rem;
  display: flex;
  align-items: center;
}
.trade-mark span {
  margin-right: 5px;
  margin-left: 5px;
  color: #2C3A45;
}
.trade-mark span a{
  text-decoration: none;
  font-size: .75rem;
  color: #2C3A45;
}
.trade-mark-mobile {
  display: none;
}
.tantum-qr-wrapper {
  width: 240px;
  height: 240px;
  border-radius: 28px;
  border: 1px solid #00498B;
  display: flex;
  justify-content: center;
  align-items: center;
}
.tantum-qr {
  width: 200px;
  height: 200px;
}
.usage-qr {
  color: #2C3A45;
}
.usage-steps {
  background-color: #fff;
  border-radius: 15px;
  padding: 20px;
  margin-top: 20px;
}
.step-content {
  text-align: start;
  display: flex;
  flex-direction: row;
}
.step-2 {
  margin-top: 15px;
}
.step-icon {
  margin-right: 15px;
  margin-top: 5px;
}
.step-icon .icon {
  width: 1.625rem;
  height: 1.625rem;
}
.step .title {
  line-height: 30px;
  font-size: 1.25rem;
}

.expired-qr {
  background: rgba(74, 58, 70, 0.9);
}
.expired-qr::before {
  content: "QR Code expired";
  position: absolute;
  color: #fff;
  font-size: 1.5rem;
}
.expired-qr .expired {
  z-index: -10;
}
.refresh-button {
  background-color: #004C91;
  color: #fff;
  display: flex;
  padding: .5rem 1rem;
  border-radius: 15px;
  position: absolute;
  bottom: 45%;
}
.refresh-icon {
  width: 1rem;
  height: 1rem;
  margin-right: 10px;
}
.confirmed-title-ident {
  text-align: center;
  font-weight: bold;
  font-size: 1.3rem;
  margin-bottom: 58px;
}
.confirmed-title {
  text-align: center;
  font-weight: bold;
  font-size: 1.3rem;
  margin-bottom: 15px;
}
.note-anonymous {
  margin-bottom: 25px;
  text-align: center; 
}
.account-note {
  width: auto;
  background: #fff;
  border-radius: 15px;
  display: flex;
  margin-top: 15px;
  padding: 20px;
  align-items: center;
  font-size: 1.125rem;
}
.icon-note {
  background: #DBE2EA;
  border-radius: 10px;
  margin-right: 15px;
}
.icon-note img {
  width: 2rem;
  height: 2rem;
}

.mobile .mobile {
  display: flex;

}

.mobile {
  & .tantum-modal-dialog {
    width: auto!important;
    margin: 20px 10px 10px 10px!important;;
  }

  & .tantum-modal-body {
    padding: 0 2rem 0 2rem;
  }
  & .opened .tantum-modal-dialog {
    top: 0;
  }

  & .tantum-qr-wrapper {
    display: none;
  }
  & .usage-qr {
    width: 100%;
  }
  & .usage-qr .title {
    font-size: 1.25rem;
  }
  & .step .title {
    font-size: 1rem;
  }
  & .account-note {
    font-size: 0.875rem;
  }
  & .trade-mark-mobile {
    display: block;
  }
  & .trade-mark {
    display: none;
  }
  & .confirm-btn {
    width: 100%;
    margin-top: 1.5rem;
    background: #00498B;
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 10px;
    display: block;
    font-size: 0.875rem;
  }
  & .footer-content {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: center;
  }
  & .trade-mark-mobile {
    font-size: .75rem;
  }
  & .trade-mark-mobile .tantum-modal-footer-link {
    text-decoration: none;
    color: #000;
  }

  & .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    width: auto;
    max-width: 100px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1000 !important;
    top: -75px; /* Adjust position from the top */
    left: -20px; /* Display dropdown at the left edge */
  }

}

.tablet {
  & .tantum-modal-dialog {
    width: auto;
    margin: 20px 10px 10px 10px;
  }
  & .tantum-modal-body {
    padding: 0 2rem 0 2rem;
  }
  & .opened .tantum-modal-dialog {
    top: 0;
  }
  & .tantum-qr-wrapper {
    display: none;
  }
  & .usage-qr {
    width: 100%;
  }
  & .usage-qr .title {
    font-size: 1.25rem;
  }
  & .step .title {
    font-size: 1rem;
  }
  & .account-note {
    font-size: 0.875rem;
  }
  & .trade-mark-mobile {
    display: block;
  }
  & .trade-mark {
    display: none;
  }
  & .confirm-btn {
    width: 100%;
    margin-top: 1.5rem;
    background: #00498B;
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 10px;
    display: block;
    font-size: 0.875rem;
  }
  & .footer-content {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: center;
  }
  & .trade-mark-mobile {
    font-size: .75rem;
  }
  & .trade-mark-mobile .tantum-modal-footer-link {
    text-decoration: none;
    color: #000;
  }

  & .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    width: auto;
    max-width: 100px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1000 !important;
    top: -75px; /* Adjust position from the top */
    left: -20px; /* Display dropdown at the left edge */
  }
}

.tablet .tablet:not(.desktop) {
  display: flex;
}

.desktop .desktop {
  display: flex;
}

/* Style for the language switcher */
.language-switcher {
  position: relative;
  display: inline-block;
}

/* Style for the flag icon */
.flag-icon {
  width: 25px; 
  height: auto;
  cursor: pointer;
}

/* Style for the dropdown menu */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  width: auto;
  max-width: 100px;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1000 !important;
  top: 30px; /* Adjust position from the top */
  left: 0; /* Display dropdown at the left edge */
}

.dropdown-content .dropdown-option {
  padding: 5px;
  font-size: .875rem;
}

/* Style for dropdown options on hover */
.dropdown-content .dropdown-option:hover {
  background-color: rgb(243, 239, 239);
}

/* Low resolution Tablets and iPads
@media (min-width: 481px) and (max-width: 767px) {
  .desktop-content {
    display: none !important;
  }
  .mobile-content {
    display: block !important;
  }
  .tantum-modal-dialog {
    width: auto;
    margin: 20px 10px 10px 10px;
  }
  .tantum-modal-body {
    padding: 0 2rem 0 2rem;
  }
  .opened .tantum-modal-dialog {
    top: 0;
  }
  .tantum-qr-wrapper {
    display: none;
  }
  .usage-qr {
    width: 100%;
  }
  .usage-qr .title {
    font-size: 1.25rem;
  }
  .step .title {
    font-size: 1rem;
  }
  .account-note {
    font-size: 0.875rem;
  }
  .trade-mark-mobile {
    display: block;
  }
  .trade-mark {
    display: none;
  }
  .confirm-btn {
    width: 100%;
    margin-top: 1.5rem;
    background: #00498B;
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 10px;
    display: block;
    font-size: 0.875rem;
  }
  .footer-content {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: center;
  }
  .trade-mark-mobile {
    font-size: .75rem;
  }
  .trade-mark-mobile .tantum-modal-footer-link {
    text-decoration: none;
    color: #000;
  }

  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    width: auto;
    max-width: 100px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1000 !important;
    top: -75px; 
    left: -20px; 
  }
}
  
*/
/* Tablets iPads (Portrait) 
@media (min-width: 768px) and (max-width: 1024px){
  .desktop-content {
    display: none !important;
  }
  .mobile-content {
    display: block !important;
  }
  .tantum-modal-dialog {
    width: auto;
    margin: 20px 10px 10px 10px;
  }
  .tantum-modal-body {
    padding: 0 2rem 0 2rem;
  }
  .opened .tantum-modal-dialog {
    top: 0;
  }
  .tantum-qr-wrapper {
    display: none;
  }
  .usage-qr {
    width: 100%;
  }
  .usage-qr .title {
    font-size: 1.25rem;
  }
  .step .title {
    font-size: 1rem;
  }
  .account-note {
    font-size: 0.875rem;
  }
  .trade-mark-mobile {
    display: block;
  }
  .trade-mark {
    display: none;
  }
  .confirm-btn {
    width: 100%;
    margin-top: 1.5rem;
    background: #00498B;
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 10px;
    display: block;
    font-size: 0.875rem;
  }
  .footer-content {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: center;
  }
  .trade-mark-mobile {
    font-size: .75rem;
  }
  .trade-mark-mobile .tantum-modal-footer-link {
    text-decoration: none;
    color: #000;
  }

  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    width: auto;
    max-width: 100px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1000 !important;
    top: -75px; 
    left: -20px; 
  }
}
*/
/*
@media screen and (max-device-width: 450px) {
  /* mobile 
  .desktop-content {
    display: none !important;
  }
  .mobile-content {
    display: block !important;
  }
  .tantum-modal-dialog {
    width: auto;
    margin: 20px 10px 10px 10px;
  }
  .tantum-modal-body {
    padding: 0 2rem 0 2rem;
  }
  .opened .tantum-modal-dialog {
    top: 0;
  }
  .tantum-qr-wrapper {
    display: none;
  }
  .usage-qr {
    width: 100%;
  }
  .usage-qr .title {
    font-size: 1.25rem;
  }
  .step .title {
    font-size: 1rem;
  }
  .account-note {
    font-size: 0.875rem;
  }
  .trade-mark-mobile {
    display: block;
  }
  .trade-mark {
    display: none;
  }
  .confirm-btn {
    width: 100%;
    margin-top: 1.5rem;
    background: #00498B;
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 10px;
    display: block;
    font-size: 0.875rem;
  }
  .footer-content {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: center;
  }
  .trade-mark-mobile {
    font-size: .75rem;
  }
  .trade-mark-mobile .tantum-modal-footer-link {
    text-decoration: none;
    color: #000;
  }

  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    width: auto;
    max-width: 100px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1000 !important;
    top: -75px; 
    left: -20px; 
  }
}
*/

@keyframes spin-anim {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

