@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: poppins;
  user-select: none;
  --border: var(--bg);
}

.dark {
  --bg: rgb(1, 29, 74);
  --text: #fff;
  --icon: cyan;
  --submit: #0ff;
  --span: rgba(255, 255, 255, 0.464);
  --input-border: rgba(0, 0, 0, 0.1);
  --shadow1: rgba(187, 187, 187, 0.1);
  --shadow2: rgba(0, 0, 0, 0.35);
  --submit-shadow: rgba(0, 0, 0, 0.365);
  --gradient: linear-gradient(70deg, #fff, #414141, #fff, #606060);
}

.lightsOut {
  --bg: rgb(0, 0, 0);
  --text: #fff;
  --icon: rgb(255, 0, 106);
  --submit: rgb(255, 0, 98);
  --span: rgba(255, 255, 255, 0.464);
  --input-border: rgba(0, 0, 0, 0.1);
  --shadow1: rgba(187, 187, 187, 0.218);
  --shadow2: rgba(0, 0, 0, 0.35);
  --submit-shadow: rgba(0, 0, 0, 0.365);
  --gradient: linear-gradient(70deg, #fd05c7, #068bff, #00fff7);
}

.light {
  --bg: #e6e9ec;
  --text: #232323;
  --icon: #000000;
  --submit: #232323;
  --span: rgba(0, 0, 0, 0.464);
  --input-border: rgba(0, 0, 0, 0.1);
  --shadow1: #ffffff;
  --submit-shadow: #000;
  --shadow2: rgba(0, 0, 0, 0.35);
  --gradient: linear-gradient(70deg, #414141, #7e7a7a, #000000);
}

.theme {
  position: absolute;
  width: fit-content;
  right: 1rem;
  top: 10px;
  z-index: 999;
}
.theme .theme-btn {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.theme .theme-btn svg {
  width: 30px;
  height: 30px;
  display: none;
  margin-left: 10px;
}
.theme .theme-text {
  width: 87px;
  text-align: right;
  font-weight: 600;
  background: var(--gradient);
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}

.battery {
  position: fixed;
  top: 0;
}
.battery svg {
  position: absolute;
  width: 80px;
  height: fit-content;
  top: -0.6rem;
  fill: var(--icon);
  margin-left: 10px;
}
.battery span {
  position: absolute;
  left: 1.5rem;
  top: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
  filter: brightness(1.4);
  background: var(--gradient);
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}

.fa-primary {
  color: var(--icon);
}

.fa-secondary {
  color: var(--text);
}

.dark #darkIcon {
  display: block;
}

.light #lightIcon {
  display: block;
}

.lightsOut #lightsOut {
  display: block;
}

body {
  min-height: 100vh;
  background: var(--bg);
  overflow: hidden;
  transition: background 0.5s ease;
}
@media (max-height: 600px) {
  body {
    overflow-y: scroll;
  }
}

main {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.container {
  padding: 40px;
  border-radius: 20px;
  border: 8px solid var(--border);
  box-shadow: -5px -5px 15px var(--shadow1), 5px 5px 15px var(--shadow2), inset -5px -5px 15px var(--shadow1), inset 5px 5px 15px var(--shadow2);
}
@media (max-width: 400px) {
  .container {
    padding: 20px;
  }
}
.container .form {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 25px;
}
.container .form h2 {
  color: var(--text);
  font-weight: 500;
  letter-spacing: 0.3ch;
}
.container .form p {
  color: var(--span);
}
.container .form p a {
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
}
.container .form .inputBox {
  position: relative;
  width: 270px;
}
@media (min-width: 500px) {
  .container .form .inputBox {
    width: 320px;
  }
}
.container .form .inputBox input {
  padding: 12px 10px 12px 48px;
  border: none;
  outline: none;
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--input-border);
  color: var(--text);
  font-weight: 500;
  letter-spacing: 0.2ch;
  border-radius: 25px;
  font-size: 1rem;
  box-shadow: -5px -5px 15px var(--shadow1), 5px 5px 15px var(--shadow2);
  transition: 0.5s;
}
.container .form .inputBox input:valid, .container .form .inputBox input:focus {
  border: 1px solid var(--icon);
}
.container .form .inputBox input:valid ~ span, .container .form .inputBox input:focus ~ span {
  color: var(--icon);
  border: 1px solid var(--icon);
  background: var(--bg);
  translate: 25px -10px;
  border-radius: 10px;
  font-size: 12px;
  padding: 0 8px;
}
.container .form .inputBox input:focus:invalid {
  border: 1px solid red;
  caret-color: red;
  color: red;
}
.container .form .inputBox input:focus:invalid ~ span {
  color: red;
  border: 1px solid red;
  background: var(--bg);
  translate: 25px -10px;
  border-radius: 10px;
  font-size: 12px;
  padding: 0 8px;
}
.container .form .inputBox input:focus:invalid ~ i {
  color: red;
  border-right: 1px solid red;
}
.container .form .inputBox input:focus:valid {
  border: 1px solid #00ff88;
  caret-color: #00ff88;
  color: #00ff88;
}
.container .form .inputBox input:focus:valid ~ span {
  color: #00ff88;
  border: 1px solid #00ff88;
  background: var(--bg);
  translate: 25px -10px;
  border-radius: 10px;
  font-size: 12px;
  padding: 0 8px;
}
.container .form .inputBox input:focus:valid ~ i {
  color: #00ff88;
  border-right: 1px solid #00ff88;
}
.container .form .inputBox input[type=submit] {
  background: var(--submit);
  color: var(--bg);
  padding: 10px 0;
  font-weight: 500;
  cursor: pointer;
  box-shadow: -5px -5px 15px var(--shadow1), 5px 5px 15px var(--shadow2), inset -5px -5px 10px var(--submit-shadow), inset 5px 5px 10px var(--shadow2);
}
.container .form .inputBox input[type=submit]:focus {
  color: #fff;
  background: #000;
}
.container .form .inputBox span {
  position: absolute;
  left: 0;
  padding: 12px 10px 12px 48px;
  transition: 0.5s;
  letter-spacing: 0.2ch;
  pointer-events: none;
  color: var(--span);
}
.container .form .inputBox i {
  position: absolute;
  top: 15px;
  left: 16px;
  width: 25px;
  padding: 2px 0;
  padding-right: 8px;
  border-right: 1px solid var(--icon);
  color: var(--icon);
}

#signin {
  display: none;
}

.hide-icon {
  display: none;
}

.show-icon {
  display: block;
}

.fa-solid {
  cursor: pointer;
}

.handle-error {
  border: 1px solid red !important;
  color: red !important;
}

.disable,
.disable + i {
  cursor: not-allowed;
  opacity: 0.2;
}

#error {
  color: red;
  display: none;
  opacity: 0;
  animation: fade 2s ease forwards;
}
@keyframes fade {
  100% {
    opacity: 1;
  }
}

.fadeout {
  animation: fadeout 2s ease forwards;
}
@keyframes fadeout {
  50% {
    opacity: 0;
  }
  100% {
    translate: 10000px 0;
    display: none;
  }
}

.fadein {
  animation: fadein 2s ease forwards;
}
@keyframes fadein {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0;
    translate: 0 1000px;
  }
  100% {
    display: flex;
    translate: 0 0;
  }
}/*# sourceMappingURL=style.css.map */