body {
  align-items: center;
  background: #f1eef1;
  display: flex;
  font-family: sans-serif;
  justify-content: center;
  height: 100vh;
  margin: 0;
}

.modal_container {
  align-items: center;
  display: flex;
  height: 360px;
  justify-content: center;
  width: 360px;
}

.email {
  position: relative;
  transition: width 300ms cubic-bezier(0.4, 0, 0.2, 1),
    height 300ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1),
    border-radius 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.email:not(.expand) {
  cursor: pointer;
}

/* 
.email:not(.expand):hover {
    background: #C2C0C2;
} */

.from {
  position: absolute;
  transition: opacity 200ms 100ms cubic-bezier(0, 0, 0.2, 1);
}

.from-contents {
  display: flex;
  flex-direction: row;
  transform-origin: 0 0;
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.to {
  opacity: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  border-radius: 3px;
  border-top: 4px solid #5381fd;
  transition: opacity 100ms cubic-bezier(0.4, 0, 1, 1);
}

.to-contents {
  transform: scale(0.55);
  height: 100%;
  transform-origin: 0 0;
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.avatar {
  border-radius: 12px;
  height: 24px;
  left: 6px;
  position: relative;
  top: 4px;
  width: 24px;
}

.name {
  font-size: 14px;
  line-height: 32px;
  margin-left: 10px;
}

.top {
  background: white;
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 15%;
  transition: height 300ms cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.avatar-large {
  border-radius: 21px;
  height: 42px;
  margin-left: 12px;
  position: relative;
  top: 14px;
  width: 42px;
}

.name-large {
  color: black;
  margin-top: 0.5em;
  font-size: 16px;
  /* line-height: 70px; */
  width: 100%;
  text-align: center;
}

.x-touch {
  align-items: center;
  align-self: center;
  cursor: pointer;
  display: flex;
  height: 50px;
  justify-content: start;
  margin-left: auto;
  width: 90%;
}

.x {
  background: #ba87f9;
  border-radius: 10px;
  border: 1px solid red;
  height: 20px;
  position: relative;
  width: 20px;
}

.x-touch:hover .x {
  background: #cb9afb;
}

.line1 {
  background: #6422eb;
  height: 12px;
  position: absolute;
  transform: translateX(9px) translateY(4px) rotate(45deg);
  width: 2px;
}

.line2 {
  background: #6422eb;
  height: 12px;
  position: absolute;
  transform: translateX(9px) translateY(4px) rotate(-45deg);
  width: 2px;
}

.bottom {
  background: #fff;
  display: flex;
  overflow: hidden;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: #444247;
  font-size: 14px;
  height: 200px;
  padding-top: 5px;
  width: 100%;
  height: 85%;
}

.row {
  align-items: center;
  display: flex;
  flex-direction: row;
  height: 60px;
}

.email.expand {
  border-radius: 6px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.16);
  height: 360px;
  width: 360px;
}

.expand .from {
  opacity: 0;
  transition: opacity 100ms cubic-bezier(0.4, 0, 1, 1);
}

.expand .from-contents {
  transform: scale(2.91);
}

.expand .to {
  opacity: 1;
  transition: opacity 200ms 100ms cubic-bezier(0, 0, 0.2, 1);
}

.expand .to-contents {
  transform: scale(1);
}

.shake-effect {
  animation: shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}

@keyframes shake {
  10%,
  90% {
    transform: translate3d(-1px, 0, 0);
  }

  20%,
  80% {
    transform: translate3d(2px, 0, 0);
  }

  30%,
  50%,
  70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%,
  60% {
    transform: translate3d(4px, 0, 0);
  }
}

.layer-success {
  z-index: 1;
  width: 100%;
  position: absolute;
  bottom: 0;
  height: 0;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background: linear-gradient(
    90deg,
    rgba(34, 142, 16, 1) 0%,
    rgba(102, 210, 84, 1) 50%,
    rgba(34, 142, 16, 1) 100%
  );
  transition: 0.5s;
  animation: slideFromBottom 2.2s ease-in-out;
  overflow: hidden;
}

@keyframes slideFromBottom {
  0% {
    height: 0;
  }

  50% {
    height: 1.5em;
  }

  100% {
    height: 0;
  }
}

.layer-failed {
  z-index: 1;
  width: 100%;
  position: absolute;
  bottom: 0;
  height: 0;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background: linear-gradient(
    90deg,
    rgba(213, 39, 0, 1) 0%,
    rgba(255, 93, 57, 1) 50%,
    rgba(213, 39, 0, 1) 100%
  );
  transition: 0.5s;
  animation: slideFromBottom 1.5s ease-in-out;
  overflow: hidden;
}

.translate-card-left {
  animation: scaleAndTranslate 0.8s ease 1.7s both;
}

@keyframes scaleAndTranslate {
  0% {
    transform: scale(1) translateX(0);
  }

  50% {
    transform: scale(0.9) translateX(0);
  }

  100% {
    transform: scale(0.9) translateX(-118%);
  }
}

.translate-card-right {
  animation: scaleAndTranslateright 0.8s ease 0.3s both;
}

@keyframes scaleAndTranslateright {
  0% {
    transform: scale(0.9) translateX(118%);
  }

  50% {
    transform: scale(0.9) translateX(0);
  }

  100% {
    transform: scale(1) translateX(0);
  }
}


.btn {
  position: relative;
  display: inline-block;
  padding: 15px 30px;
  width: 20em;
  height: 100%;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  color: white;
  border-left: 5px solid blue;
  border-right: 1px solid #E4E8EE;
  border-top: 1px solid #E4E8EE;
  border-bottom: 1px solid #E4E8EE;
  border-radius: 5px;
  overflow: hidden;
}



.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 0px;
  height: 0;
  border: 1px solid blue;
  border-top-right-radius: 5px;
  border-left: none;
  border-bottom: none;
  transition: height 0.15s ease-out, width 0.15s ease-out 0.15s;
}

.btn::before {
  left: -3px;
}



.btn:hover::before {
  width: calc(100% + 0.14em);
  height: calc(50% - 0.3em);
  transition: width 0.20s ease-out, height 0.20s ease-out 0.20s, border-width 0.20s ease-out 0.20s;
  border-width: 1px;
}



.btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0px;
  height: 0;
  border: 1px solid blue;
  border-bottom-right-radius: 5px;
  border-top: none;
  transition: height 0.15s ease-out, width 0.15s ease-out 0.15s;
}

.btn::after {
  left: -3px;
  /* border-bottom: none; */
}



.btn:hover::after {
  width: calc(100% + 0.1em);
  height: calc(50% + 0.3em);
  transition: width 0.20s ease-out, height 0.20s ease-out 0.20s, border-width 0.20s ease-out 0.20s;
  /* Add border-width transition */
  border-width: 1px;
  /* Add this line to show the border */
}


@keyframes highlight {
  100% {
    background-position: 0 0, 0 0;
  }
}


.container {
  display: inline-block;
  padding: 15px 30px;
  position: relative;
  font-size: 16px;
  height: 100%;
  width: 20em;
  border-right: 1px solid #B95DD7;
  border-top: 1px solid #B95DD7;
  border-bottom: 1px solid #B95DD7;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-left: 5px solid transparent;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  border-radius: 5px;


}

.loading-button {
  background-image:
    linear-gradient(white, white),
    linear-gradient(180deg, #00D7B9, #B95DD7 50%, cornflowerblue);
  background-repeat: no-repeat;
  background-size: 100% 100%, 100% 200%;
  background-position: 0 0, 0 100%;
  background-origin: padding-box, border-box;
  animation: highlight 1s infinite alternate;
  padding: 15px 30px;

}


.success-button{
  position: relative;
  display: inline-block;
  padding: 15px 30px;
  width: 20em;
  height: 100%;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  color: white;
  border-left: 5px solid rgba(102, 210, 84, 1);
  border-right: 1px solid rgba(102, 210, 84, 1);
  border-top: 1px solid rgba(102, 210, 84, 1);
  border-bottom: 1px solid rgba(102, 210, 84, 1);
  border-radius: 5px;
  overflow: hidden;
}

.varified_text {
  font-size: 13px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Nexa", "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: left;
  color: rgba(102, 210, 84, 1);
  transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
  margin-left: 13px;
  cursor: default;
}


.btn-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3em;
}
