@import url("/assets/style/base.css");

* {
  box-sizing: border-box;
  background: var(--ctp-mocha-base);
  color: var(--ctp-mocha-text);
  overflow: hidden;
}

.container {
  padding: 16px;
}

hr {
  border: 1px solid var(--ctp-mocha-base);
  margin-bottom: 25px;
}

input[type=text],
input[type=password] {
  width: 100%;
  padding: 15px;
  margin: 5px 0 22px 0;
  display: inline-block;
  border: none;
  background: var(--ctp-mocha-surface0);
}

input[type=text]:focus,
input[type=password]:focus {
  background-color: var(--ctp-mocha-surface1);
  outline: none;
}

.registerbtn {
  background-color: var(--ctp-mocha-surface0);
  color: var(--ctp-mocha-text);
  padding: 16px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
  opacity: 0.9;
}

.registerbtn:hover {
  opacity: 1;
}

a {
  color: var(--ctp-mocha-pink);
}

.signin {
  background-color: var(--ctp-mocha-base);
  text-align: center;
}

.toast {
  visibility: hidden;
  max-width: 300px;
  /* Adjust as needed */
  height: auto;
  background-color: var(--ctp-mocha-crust);
  color: var(--ctp-mocha-text);
  text-align: center;
  border-radius: 8px;
  position: fixed;
  z-index: 1;
  left: 50%;
  bottom: 30px;
  /* Distance from the bottom of the screen */
  transform: translateX(-50%);
  /* Center horizontally */
  font-size: 17px;
  white-space: nowrap;
  padding: 16px;
  box-shadow: 0 2px 10px rgba(var(--ctp-mocha-crust), 0.2);
}

.toast.show {
  visibility: visible;
  animation: fadein 0.25s, fadeout 0.5s 1.5s;
}

@-webkit-keyframes fadein {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadein {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@-webkit-keyframes fadeout {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes fadeout {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}