@font-face{
    font-display: swap;
    font-family: 'ایران سنس';
    font-style: normal;
    font-weight: 400;
    src: url(https://elysiumteb.com/wp-content/uploads/2025/09/IRANSansX-Bold.woff) format('woff'),
         url(https://elysiumteb.com/wp-content/uploads/2025/09/IRANSansX-Regular.woff2) format('woff2'),
         url(https://elysiumteb.com/wp-content/uploads/2025/09/IRANSansX-Regular.woff) format('woff'),
         url(https://elysiumteb.com/wp-content/uploads/2025/09/IRANSansX-Bold.woff2) format('woff2')
}

:root { --main-bg-color: #d4af37 }

*, *::after, *::before {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

html {
  height: 100%;
  font-size: 65.2%;
  box-sizing: border-box;
  font-family: 'ایران سنس', sans-serif;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
  direction: rtl;
}

body {
  height: 100%;
  background: #e9ebee;
  color: #1d2129;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  perspective: 1500px;
  direction: rtl;
  font-family: 'ایران سنس', sans-serif;
}

h1 {
  font-weight: 700;
  font-size: 3.5em;
  text-align: center;
  font-family: 'ایران سنس', sans-serif;
}

.version {
  position: absolute;
  bottom: 1em;
  left: 2em;
  border-radius: 40px;
  background: #9c27b0;
  color: #fff;
  font-size: 1em;
  font-weight: bold;
  padding: 0.8em 2em;
  letter-spacing: 0;
  transition: transform 80ms ease-in;
}

form input {
  background: #eee;
  border: none;
  padding: 12px 15px;
  margin: 8px 0;
  width: 100%;
  font-size: 1.4em;
  direction: rtl;
  text-align: right;
  font-family: 'ایران سنس', sans-serif;
  border-radius: 10px
}

span {
  color: #333;
  font-size: 1.4em;
  display: inline-block;
  margin: 15px auto;
  font-weight: 100;
  font-family: 'ایران سنس', sans-serif;
}

#msg{
  position: fixed;
  bottom: 10px;
  padding: 10px;
  color: #fff;
  font-size: 20px;
  border-radius: 15px;
  margin-right: 20px;
  margin-left: 20px;
  text-align: center
}
#msg.ok{
  background-color: green;
  border-right: 10px solid darkseagreen;
}
#msg.error{
  background-color: darkred;
  border-right: 10px solid red;
}
#msg.for-remove{
  transition: 0.6s;
  opacity: 0
}

.inner-msg{
    background-color: dimgray;
    padding: 10px;
    text-align: justify;
    border-right: 10px solid gray;
    border-radius: 10px
}

.remember{
  float: right;
  cursor: pointer;
  font-size: 1.4em;
  font-weight: 100;
  color: #000
}
.remember input{
  cursor: pointer;
  vertical-align: middle;
  width: 1em;
  height: 1em;
  margin-left: 4px
}

#forget {
  cursor: pointer;
  float: left;
  margin-right: 40px;
  margin-top: 9px;
  font-weight: 200;
  font-size: 13px;
  transition: 0.4s
}
#forget:hover{ text-shadow: 0 0 20px }

span.copy {
  position: absolute;
  bottom: 0;
  font-size: 1em;
}

button {
  display: block;
  margin: 1em auto;
  border-radius: 40px;
  border: 1px solid #9d8124;
  background: var(--main-bg-color);
  color: #fff;
  font-size: 1.2em;
  font-weight: bold;
  padding: 0.8em 2em;
  letter-spacing: 0;
  text-transform: none;
  transition: transform 80ms ease-in;
  font-family: 'ایران سنس', sans-serif;
}
button svg {
  vertical-align: middle;
}

button:hover {
  cursor: pointer;
}

button:active {
  transform: scale(0.95);
}

button:focus {
  outline: none;
}

#container {
  width: 95%;
  max-width: 800px;
  height: 500px;
  position: relative;
  border-radius: 20px;
  box-shadow: 0 14px 28px -10px rgba(0, 0, 0, 0.1), 0 10px 10px -10px rgba(0, 0, 0, 0.02);
  transform-style: preserve-3d;
}
#container > div {
  position: absolute;
  width: 50%;
  height: 100%;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.content {
  width: 100%;
  padding: 2em 4em;
  text-align: center;
}
.content p {
  font-size: 1.4em;
  font-family: 'ایران سنس', sans-serif;
}

.login {
  right: 0;
  background: #FAFAFA;
  border-radius: 0 20px 20px 0;
}
.login button,
.register button{
  border-radius: 10px;
  width: 100%;
  font-size: 18px
}

.btn-1,
.mobile-toggle{
  width: auto !important;
  font-size: 18px;
  margin-top: 40px;
  border-radius: 20px !important;
  background-color: darkgray;
  border-color: darkgray;
  padding: 10px
}

.register {
  left: 0;
  z-index: 1;
  border-radius: 20px 0 0 20px;
  background: #FAFAFA;
}

.page {
  left: 0;
  color: #fff;
  border-radius: 20px 0 0 20px;
  transform-origin: right center;
  transition: -webkit-animation 1s linear;
  transition: animation 1s linear;
  transition: animation 1s linear, -webkit-animation 1s linear;
}

.front {
  background: linear-gradient(-45deg, var(--main-bg-color) 0%, #1d2129 100%) no-repeat 0 0 / 100%;
  z-index: 3;
}

.back {
  background: linear-gradient(135deg, var(--main-bg-color) 0%, #1d2129 100%) no-repeat 0 0 / 100%;
  z-index: 2;
}
.back .content {
  transform: rotateY(-180deg);
}

.active .front {
  -webkit-animation: rot-front 0.6s ease-in-out normal forwards;
          animation: rot-front 0.6s ease-in-out normal forwards;
}

.active .back {
  -webkit-animation: rot-back 0.6s ease-in-out normal forwards;
          animation: rot-back 0.6s ease-in-out normal forwards;
}

.close .front {
  -webkit-animation: close-rot-front 0.6s ease-in-out normal forwards;
          animation: close-rot-front 0.6s ease-in-out normal forwards;
}

.close .back {
  -webkit-animation: close-rot-back 0.6s ease-in-out normal forwards;
          animation: close-rot-back 0.6s ease-in-out normal forwards;
}

@-webkit-keyframes rot-front {
  from {
    transform: translateZ(2px) rotateY(0deg);
  }
  to {
    transform: translateZ(1px) rotateY(180deg);
  }
}

@keyframes rot-front {
  from {
    transform: translateZ(2px) rotateY(0deg);
  }
  to {
    transform: translateZ(1px) rotateY(180deg);
  }
}
@-webkit-keyframes close-rot-front {
  from {
    transform: translateZ(1px) rotateY(180deg);
  }
  to {
    transform: translateZ(2px) rotateY(0deg);
  }
}
@keyframes close-rot-front {
  from {
    transform: translateZ(1px) rotateY(180deg);
  }
  to {
    transform: translateZ(2px) rotateY(0deg);
  }
}
@-webkit-keyframes rot-back {
  from {
    transform: translateZ(1px) rotateY(0deg);
  }
  to {
    transform: translateZ(2px) rotateY(180deg);
  }
}
@keyframes rot-back {
  from {
    transform: translateZ(1px) rotateY(0deg);
  }
  to {
    transform: translateZ(2px) rotateY(180deg);
  }
}
@-webkit-keyframes close-rot-back {
  from {
    transform: translateZ(2px) rotateY(180deg);
  }
  to {
    transform: translateZ(1px) rotateY(0deg);
  }
}
@keyframes close-rot-back {
  from {
    transform: translateZ(2px) rotateY(180deg);
  }
  to {
    transform: translateZ(1px) rotateY(0deg);
  }
}
.active .register .content {
  -webkit-animation: show 0.7s ease-in-out normal forwards;
          animation: show 0.7s ease-in-out normal forwards;
}

.close .register .content {
  -webkit-animation: hide 0.7s ease-in-out normal forwards;
          animation: hide 0.7s ease-in-out normal forwards;
}

.active .login .content {
  -webkit-animation: hide 0.7s ease-in-out normal forwards;
          animation: hide 0.7s ease-in-out normal forwards;
}

.close .login .content {
  -webkit-animation: show 0.7s ease-in-out normal forwards;
          animation: show 0.7s ease-in-out normal forwards;
}

@-webkit-keyframes show {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 0.99;
    transform: scale(0.99);
  }
}

@keyframes show {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 0.99;
    transform: scale(0.99);
  }
}
@-webkit-keyframes hide {
  from {
    opacity: 0.99;
    transform: scale(0.99);
  }
  to {
    opacity: 0;
    transform: scale(0.8);
  }
}
@keyframes hide {
  from {
    opacity: 0.99;
    transform: scale(0.99);
  }
  to {
    opacity: 0;
    transform: scale(0.8);
  }
}

@media screen and (min-width: 550px) and (max-width: 818px),
       screen and (max-width: 352px){
    #forget{
        float: unset;
        margin-bottom: 0;
        margin-right: auto;
        width: 100%
    }
}
@media screen and (min-width: 550px) and (max-width: 767px){
  .login > .content,
  .register > .content{
      padding-right: 20px;
      padding-left: 20px
  }
  .front{ width: 45% }
}
@media screen and (min-width: 550px){ .mobile-toggle{ display: none } }
@media screen and (max-width: 549px){
  #container{ max-width: 400px }
      .login{
          border-top-left-radius: 20px;
          border-bottom-left-radius: 20px
      }
      .register{
        border-top-right-radius: 20px;
        border-bottom-right-radius: 20px
      }
      .login, #container.active > .register{ width: 100% !important }
      #container:not(.active) > .register, .front, .back{ display: none !important }
          .login > .content,
          .register > .content{
              padding-right: 15px;
              padding-left: 15px
          }
}