#my-jukola-login-app {
  position: relative;
}

.my-jukola-account-button {
  -webkit-appearance: none;
  appearance: none;
  border: none;
  background: #fff;
  border-radius: 4px;
  padding: 10px;
  color: #1f842d;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-weight: 600;
  font-size: 13px;
  text-align: right;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  visibility: hidden;
}

.my-jukola-account-button--login {
  z-index: 1001;
  position: relative;
}

.my-jukola-account-button--green {
  color: #fff !important;
  background: #1f842d;
}

.my-jukola-account-button--visible {
  visibility: visible;
}

.my-jukola-account-button--large {
  padding: 1.2rem 5rem;
  font-size: 18px;
}

.my-jukola-account-button svg {
  height: 1em;
  width: 1em;
  margin-right: 0.5em;
}

.my-jukola-account-button .my-jukola-account-username {
  display: inline-block;
  max-width: 125px;
  width: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-jukola-account-button .my-jukola-account-username--mobile {
  max-width: 50px;
  display: none;
}

.my-jukola-success-icon {
  height: 10rem;
  width: 10rem;
  border-radius: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

  animation-duration: 0.66s;
  animation-fill-mode: both;
  backface-visibility: visible !important;
  animation-name: flipInX;
}

.my-jukola-success-icon svg {
  height: 100%;
  width: 100%;
}

.my-jukola-modal {
  position: absolute;
  z-index: 1000;
  top: 0;
  right: 0;
  margin: 46px 0 0 0;
  width: 300px;
}

div#my-jukola-modal:before {
  content: "";
  background: rgba(0, 0, 0, 0.7);
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

.my-jukola-modal__dialog {
  background-color: #fff;
  padding: 32px 46px;
  box-shadow: 1px 1px 25px 10px rgba(0, 0, 0, 0.3);

  border-radius: 4px;
  display: flex;
  flex-flow: column;
  justify-content: center;
  position: relative;
  z-index: 1002;
}

.my-jukola-modal__dialog h2 {
  margin: 16px 0 0 0;
}
.my-jukola-modal__dialog p {
  margin: 16px 0 16px 0;
}

#my-jukola-toast {
  min-width: 250px;
  margin-left: -125px;
  color: #fef2e7;
  text-align: center;
  padding: 2rem 3rem;
  position: fixed;
  font-size: 2rem;
  z-index: 10000;
  left: 50%;
  bottom: 30px;
  background-color: #1f842d;
  border: 2px solid #fef2e7;

  font-style: normal;
  font-weight: 600;
  text-align: right;
  letter-spacing: 0.13em;

  box-shadow: 2px 2px 25px 10px rgba(0, 0, 0, 0.4);

  border-radius: 4rem;

  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 5s;
  animation: fadein 0.5s, fadeout 0.5s 5s;
}

@-webkit-keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }
  to {
    bottom: 30px;
    opacity: 1;
  }
}

@keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }
  to {
    bottom: 30px;
    opacity: 1;
  }
}

@-webkit-keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }
  to {
    bottom: 0;
    opacity: 0;
  }
}

@keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }
  to {
    bottom: 0;
    opacity: 0;
  }
}

@keyframes flipInX {
  from {
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    animation-timing-function: ease-in;
    opacity: 0;
  }

  40% {
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    animation-timing-function: ease-in;
  }

  60% {
    transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    opacity: 1;
  }

  80% {
    transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
  }

  to {
    transform: perspective(400px);
  }
}

@media only screen and (max-width: 991px) {
  .my-jukola-account-button .my-jukola-account-username {
    display: none;
  }
  .my-jukola-account-button .my-jukola-account-username--mobile {
    display: inline-block;
  }
}
