body {
  background-image: url("../img/fondo1.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
}
.login-cont {
  width: 70%;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}
.login-titulo {
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
  margin-top: 10px;
  margin-bottom: 20px;
}
.login-group-input {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  input {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    outline: none;
    font-size: 16px;

    &:focus {
      border: 1px solid #333;
    }

    &:disabled {
      background-color: #ccc;
      cursor: not-allowed;
    }

    &.error {
      border: 1px solid red;
    }

    &.success {
      border: 1px solid green;
    }

    &.invalid {
      border: 1px solid red;
    }

    &.valid {
      border: 1px solid green;
    }

    &.required {
      border: 1px solid red;
    }

    &.email {
      width: 100%;
      max-width: 300px;
    }

    &.password {
      width: 100%;
      max-width: 300px;
    }

    &.confirm-password {
      width: 100%;
      max-width: 300px;
    }

    &.submit {
      width: 100%;
      padding: 10px;
      border-radius: 5px;
      background-color: #333;
      color: #fff;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }

    &.submit:hover {
      background-color: #222;
    }

    &.submit:disabled {
      background-color: #ccc;
      cursor: not-allowed;
    }

    &.error-message {
      color: red;
      font-size: 12px;
      margin-top: 5px;

      &.invalid {
        color: red;
      }

      &.valid {
        color: green;
      }

      &.required {
        color: red;
      }

      &.email {
        color: red;
      }

      &.password {
        color: red;
      }

      &.confirm-password {
        color: red;
      }

      &.submit {
        color: red;
      }

      &.submit:disabled {
        color: #ccc;
      }
    }
  }
  label {
    font-size: 16px;
    color: #333;
    margin-right: 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: color 0.3s ease;
    pointer-events: none;
    left: 10px;
    &:hover {
      color: #222;
    }
    &.error {
      color: red;
    }
    &.success {
      color: green;
    }
    &.hide {
      display: none;
    }
  }
}
button {
  margin-top: 20px;
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  background-color: #104dd1;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
  &:hover {
    background-color: #083b8a;
  }
  &:disabled {
    background-color: #ccc;
    cursor: not-allowed;
  }
  &.submit {
    color: #fff;
  }
}
