/* @import "https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&display=swap"; */

:root {
  /* #006dff */
  --main-color: hsl(214.35, 100%, 50%);
  --accent-color: hsl(214.35, 100%, 46%);
  /* #ffffff */
  --main-white: hsl(0, 0%, 100%);
  --secondary-white: hsl(0, 0%, 92%);
  /* #cccccc */
  --border-color: hsl(0, 0%, 79%);

  --text: hsl(214.35, 100%, 10%);
  --text-secondary: hsl(214.35, 100%, 15%);

  /* FONTS */

  --base-title-sm: 1.5rem;
  --base-title-lg: 1.85rem;

  --base-size-sm: 1rem;
  --base-size-lg: 1.2rem;
}

button {
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
ol,
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
li {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  font-family: inherit;
}
input,
textarea {
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-family: inherit;
  color: inherit;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background-color: var(--main-white);
  position: relative;
  background-repeat: repeat;
  background-size: contain;
}
.error-toast {
  position: absolute;
  top: 1rem;
  left: 50%;
  width: 90%;
  max-width: 400px;
  text-align: center;
  transform: translateX(-50%) translateY(-50px);
  background-color: #ff4d4f;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-weight: 600;
  z-index: 1000;
  opacity: 0;
}
.error-toast.active {
  animation: show-toast 3.5s forwards;
}
@keyframes show-toast {
  0% {
    transform: translateX(-50%) translateY(-20px);
    opacity: 0;
  }
  10% {
    transform: translateX(-50%) translateY(5px);
    opacity: 1;
  }
  67% {
    transform: translateX(-50%) translateY(5px);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(-50px);
    opacity: 0;
  }
}
.login-container {
  width: 100%;
  height: 100%;
  padding: 1rem;
}
h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--main-color);
  margin-top: 7rem;
  text-align: center;
  margin-bottom: 1.5rem;
}
form {
  width: 100%;
  max-width: 400px;
  margin: auto;
  background-color: var(--main-color);
  padding-inline: 2rem;
  padding-top: 2rem;
  padding-bottom: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
form img {
  display: block;
  margin: 0 auto 1.5rem auto;
  width: 320px;
  height: auto;
}
@media (min-width: 768px) {
  form img {
    width: 350px;
    height: auto;
  }
}
.input-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}
.input-label {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #fff;
}
.input {
  padding: 0.75rem;
  border-radius: 3px;
  background-color: #3287fb;
  font-size: 1rem;
  color: #fff;
}
.input:focus {
  outline: none;
  border-color: #fff;
  box-shadow: 0 0 0 2px rgba(0, 109, 255, 0.2);
}
.input::placeholder {
  color: #fff;
}
.helper-text {
  font-size: 0.875rem;
  color: #e9e9e9;
  font-weight: 500;
  margin-top: 0.5rem;
}
.form-button {
  background-color: #fff;
  color: #006dff;
  border: none;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s;
  width: 100%;
  letter-spacing: 1.2px;
  border-radius: 5px;
}
.form-button:hover {
  background-color: hsl(0, 0%, 95%);
}
@media (min-width: 768px) {
  .form-button {
    font-size: 1.2rem;
    padding: 0.75rem 2rem;
  }
}
a {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 1rem;
  text-align: center;
  color: #006dff;
  text-transform: uppercase;
}
a:hover {
  text-decoration: underline;
}
@media (min-width: 768px) {
  a {
    font-size: 1rem;
  }
}
